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