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