Home | History | Annotate | Line # | Download | only in disklabel
Makefile revision 1.3
      1  1.3  tsutsui #	$NetBSD: Makefile,v 1.3 2010/01/05 15:45:26 tsutsui Exp $
      2  1.1   dyoung 
      3  1.2   dyoung HOSTPROGNAME=	nbdisklabel-${MAKEWRAPPERMACHINE}
      4  1.1   dyoung HOST_SRCDIR=	sbin/disklabel
      5  1.3  tsutsui HOST_SRCS=	getcap.c 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.1   dyoung .include "${.CURDIR}/../Makefile.disklabel"
     18  1.1   dyoung .include "${.CURDIR}/../Makefile.host"
     19  1.1   dyoung 
     20  1.1   dyoung .PATH: ${.CURDIR}/../../lib/libc/gen
     21