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