1 # $NetBSD: Makefile,v 1.22 2005/03/19 18:16:34 yamt Exp $ 2 # Build a smaller ifconfig (i.e. for boot media) 3 4 SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 5 6 PROG= ifconfig 7 NOMAN= # defined 8 9 .include <bsd.own.mk> 10 11 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 12 13 CPPFLAGS+= -DINET_ONLY -I${SRCDIR} 14 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 15 CPPFLAGS+= -DINET6 16 .endif 17 18 DPADD+=${LIBUTIL} 19 LDADD+=-lutil 20 21 SRCS= ifconfig.c 22 SRCS+= agr.c 23 SRCS+= tunnel.c 24 SRCS+= vlan.c 25 26 .include <bsd.prog.mk> 27 28 .PATH: ${SRCDIR} 29