NetBSD/distrib/utils/x_ifconfig/Makefile

17 lines
397 B
Makefile

# $NetBSD: Makefile,v 1.18 2002/06/18 02:02:21 itojun Exp $
# Build a smaller ifconfig (i.e. for boot media)
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
PROG= ifconfig
NOMAN= # defined
CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k" || ${MACHINE} == "macppc")
CPPFLAGS+= -DINET6
.endif
.include <bsd.prog.mk>
.PATH: ${SRCDIR}