NetBSD/distrib/utils/x_ifconfig/Makefile

29 lines
499 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.22 2005/03/19 18:16:34 yamt 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
2002-09-21 01:23:02 +04:00
DPADD+=${LIBUTIL}
LDADD+=-lutil
SRCS= ifconfig.c
SRCS+= agr.c
SRCS+= tunnel.c
SRCS+= vlan.c
.include <bsd.prog.mk>
1995-10-13 21:35:17 +03:00
.PATH: ${SRCDIR}