NetBSD/distrib/utils/x_ifconfig/Makefile
skrll e49e2d2167 -CPPFLAGS+= -I${SRCDIR}
Otherwise, system util.h is not included when compiling ifconfig.c, the
snprintb prototype is missing, and the flags don't get printed correctly
on hp700.
2008-07-25 15:11:48 +00:00

21 lines
385 B
Makefile

# $NetBSD: Makefile,v 1.28 2008/07/25 15:11:48 skrll Exp $
# Build a smaller ifconfig (i.e. for boot media)
.include <bsd.own.mk>
NOMAN= # defined
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
SRCS+= af_inet6.c
.endif
.include "../../../sbin/ifconfig/Makefile.inc"
.include <bsd.prog.mk>
.PATH: ${SRCDIR}