1# $NetBSD: Makefile,v 1.32 2010/12/14 17:07:08 hannken Exp $ 2# Build a smaller ifconfig (i.e. for boot media) 3 4.include <bsd.own.mk> 5 6NOMAN= # defined 7 8SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 9 10 11CPPFLAGS+= -DCRUNCHOPS 12.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 13CPPFLAGS+= -DINET6 14SRCS+= af_inet6.c 15.endif 16 17PROG= ifconfig 18.include "${.CURDIR}/../../../sbin/ifconfig/Makefile.inc" 19 20.include <bsd.prog.mk> 21 22.PATH: ${SRCDIR} 23