NetBSD/distrib/utils/x_ifconfig/Makefile

24 lines
431 B
Makefile

# $NetBSD: Makefile,v 1.39 2017/05/02 20:12:10 christos Exp $
# Build a smaller ifconfig (i.e. for boot media)
NOMAN= # defined
SMALLPROG=1
.include <bsd.own.mk>
PROG= ifconfig
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
CPPFLAGS+= -DCRUNCHOPS
.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
SRCS+= af_inet6.c
.endif
.PATH: ${SRCDIR}
.include "${SRCDIR}/Makefile.common"
.include <bsd.prog.mk>