1 # $NetBSD: Makefile,v 1.38 2017/02/08 23:26:24 rin Exp $ 2 # Build a smaller ifconfig (i.e. for boot media) 3 4 NOMAN= # defined 5 6 .include <bsd.own.mk> 7 8 PROG= ifconfig 9 SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 10 11 CPPFLAGS+= -DCRUNCHOPS 12 13 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 14 CPPFLAGS+= -DINET6 15 SRCS+= af_inet6.c 16 .endif 17 18 .PATH: ${SRCDIR} 19 20 .include "${SRCDIR}/Makefile.common" 21 22 .include <bsd.prog.mk> 23