Home | History | Annotate | Line # | Download | only in disklabel
Makefile revision 1.5
      1  1.5    joerg #	$NetBSD: Makefile,v 1.5 2012/06/04 18:53:03 joerg Exp $
      2  1.1   dyoung 
      3  1.2   dyoung HOSTPROGNAME=	nbdisklabel-${MAKEWRAPPERMACHINE}
      4  1.1   dyoung HOST_SRCDIR=	sbin/disklabel
      5  1.5    joerg HOST_SRCS=	disklabel.c bswap.c
      6  1.3  tsutsui 
      7  1.3  tsutsui NOMAN=	# defined
      8  1.3  tsutsui 
      9  1.3  tsutsui .include <bsd.endian.mk>
     10  1.3  tsutsui 
     11  1.3  tsutsui .if   ${TARGET_ENDIANNESS} == "1234"
     12  1.3  tsutsui CPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN
     13  1.3  tsutsui .elif ${TARGET_ENDIANNESS} == "4321"
     14  1.3  tsutsui CPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN
     15  1.3  tsutsui .endif
     16  1.1   dyoung 
     17  1.4      riz .include "${.CURDIR}/../Makefile.nbincludes"
     18  1.1   dyoung .include "${.CURDIR}/../Makefile.host"
     19  1.1   dyoung 
     20  1.1   dyoung .PATH: ${.CURDIR}/../../lib/libc/gen
     21