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