Makefile revision 1.23
1# $NetBSD: Makefile,v 1.23 2005/03/20 14:21:05 yamt 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 25.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 26SRCS+= af_inet6.c 27.endif 28SRCS+= af_iso.c 29SRCS+= af_ns.c 30 31SRCS+= agr.c 32SRCS+= ieee80211.c 33SRCS+= tunnel.c 34SRCS+= vlan.c 35 36.include <bsd.prog.mk> 37 38.PATH: ${SRCDIR} 39