blob: 75e2e13319db379a5798bec0b3ced9f6f4784b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# $NetBSD: Makefile,v 1.3 2010/01/05 15:45:26 tsutsui Exp $
HOSTPROGNAME= nbdisklabel-${MAKEWRAPPERMACHINE}
HOST_SRCDIR= sbin/disklabel
HOST_SRCS= getcap.c disklabel.c bswap.c
NOMAN= # defined
.include <bsd.endian.mk>
.if ${TARGET_ENDIANNESS} == "1234"
CPPFLAGS+= -DTARGET_BYTE_ORDER=LITTLE_ENDIAN
.elif ${TARGET_ENDIANNESS} == "4321"
CPPFLAGS+= -DTARGET_BYTE_ORDER=BIG_ENDIAN
.endif
.include "${.CURDIR}/../Makefile.disklabel"
.include "${.CURDIR}/../Makefile.host"
.PATH: ${.CURDIR}/../../lib/libc/gen
|