1 1.38 rin # $NetBSD: Makefile,v 1.38 2017/02/08 23:26:24 rin 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.34 rin 6 1.27 dyoung .include <bsd.own.mk> 7 1.1 gwr 8 1.38 rin PROG= ifconfig 9 1.27 dyoung SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 10 1.21 lukem 11 1.38 rin CPPFLAGS+= -DCRUNCHOPS 12 1.22 yamt 13 1.21 lukem .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 14 1.32 hannken CPPFLAGS+= -DINET6 15 1.38 rin SRCS+= af_inet6.c 16 1.23 yamt .endif 17 1.23 yamt 18 1.37 rin .PATH: ${SRCDIR} 19 1.37 rin 20 1.38 rin .include "${SRCDIR}/Makefile.common" 21 1.22 yamt 22 1.1 gwr .include <bsd.prog.mk> 23