# $NetBSD: Makefile,v 1.23 2005/03/20 14:21:05 yamt Exp $ # Build a smaller ifconfig (i.e. for boot media) SRCDIR= ${.CURDIR}/../../../sbin/ifconfig PROG= ifconfig NOMAN= # defined .include CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ CPPFLAGS+= -DINET_ONLY -I${SRCDIR} .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") CPPFLAGS+= -DINET6 .endif DPADD+=${LIBUTIL} LDADD+=-lutil SRCS= ifconfig.c SRCS+= af_atalk.c SRCS+= af_inet.c .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") SRCS+= af_inet6.c .endif SRCS+= af_iso.c SRCS+= af_ns.c SRCS+= agr.c SRCS+= ieee80211.c SRCS+= tunnel.c SRCS+= vlan.c .include .PATH: ${SRCDIR}