1 1.21 lukem # $NetBSD: Makefile,v 1.21 2005/01/18 12:30:21 lukem Exp $ 2 1.1 gwr # Build a smaller ifconfig (i.e. for boot media) 3 1.1 gwr 4 1.16 tv SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 5 1.1 gwr 6 1.16 tv PROG= ifconfig 7 1.16 tv NOMAN= # defined 8 1.16 tv 9 1.21 lukem .include <bsd.own.mk> 10 1.21 lukem 11 1.16 tv CPPFLAGS+= -DINET_ONLY -I${SRCDIR} 12 1.21 lukem .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 13 1.16 tv CPPFLAGS+= -DINET6 14 1.14 martin .endif 15 1.19 christos 16 1.19 christos DPADD+=${LIBUTIL} 17 1.19 christos LDADD+=-lutil 18 1.1 gwr 19 1.1 gwr .include <bsd.prog.mk> 20 1.3 gwr 21 1.16 tv .PATH: ${SRCDIR} 22