1# $NetBSD: Makefile,v 1.25 2008/05/06 04:33:42 dyoung Exp $ 2# Build a smaller ifconfig (i.e. for boot media) 3 4SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 5 6PROG= ifconfig 7NOMAN= # defined 8 9.include <bsd.own.mk> 10 11CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 12 13CPPFLAGS+= -DINET_ONLY -I${SRCDIR} 14.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 15CPPFLAGS+= -DINET6 16.endif 17 18DPADD+=${LIBUTIL} 19LDADD+=-lutil 20 21SRCS= ifconfig.c 22 23SRCS+= af_atalk.c 24SRCS+= af_inet.c 25SRCS+= af_inetany.c 26.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 27SRCS+= af_inet6.c 28.endif 29SRCS+= af_iso.c 30 31SRCS+= agr.c 32SRCS+= ieee80211.c 33SRCS+= env.c 34SRCS+= parse.c 35SRCS+= util.c 36SRCS+= tunnel.c 37SRCS+= vlan.c 38 39.include <bsd.prog.mk> 40 41.PATH: ${SRCDIR} 42