1 1.40 rin # $NetBSD: Makefile,v 1.40 2022/05/11 10:45:48 rin Exp $ 2 1.1 gwr # Build a smaller ifconfig (i.e. for boot media) 3 1.1 gwr 4 1.40 rin # You can drop IEEE 802.11 support by setting NOIEEE80211=1 in 5 1.40 rin # parent Makefile's. This saves ~9KB for, e.g., m68k. 6 1.40 rin 7 1.38 rin NOMAN= # defined 8 1.39 christos SMALLPROG=1 9 1.34 rin 10 1.27 dyoung .include <bsd.own.mk> 11 1.1 gwr 12 1.38 rin PROG= ifconfig 13 1.27 dyoung SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 14 1.21 lukem 15 1.38 rin CPPFLAGS+= -DCRUNCHOPS 16 1.22 yamt 17 1.21 lukem .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 18 1.32 hannken CPPFLAGS+= -DINET6 19 1.38 rin SRCS+= af_inet6.c 20 1.23 yamt .endif 21 1.23 yamt 22 1.37 rin .PATH: ${SRCDIR} 23 1.37 rin 24 1.38 rin .include "${SRCDIR}/Makefile.common" 25 1.22 yamt 26 1.1 gwr .include <bsd.prog.mk> 27