38 lines
653 B
Makefile
38 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.24 2006/08/27 06:40:43 sekiya Exp $
|
|
# Build a smaller ifconfig (i.e. for boot media)
|
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
|
|
|
|
PROG= ifconfig
|
|
NOMAN= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
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+= agr.c
|
|
SRCS+= ieee80211.c
|
|
SRCS+= tunnel.c
|
|
SRCS+= vlan.c
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|