Home | History | Annotate | Line # | Download | only in disklabel
Makefile revision 1.4.6.1
      1  1.4.6.1     yamt #	$NetBSD: Makefile,v 1.4.6.1 2012/10/30 19:00:11 yamt Exp $
      2      1.1   dyoung 
      3      1.2   dyoung HOSTPROGNAME=	nbdisklabel-${MAKEWRAPPERMACHINE}
      4      1.1   dyoung HOST_SRCDIR=	sbin/disklabel
      5  1.4.6.1     yamt 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