2005-03-19 21:16:34 +03:00
|
|
|
# $NetBSD: Makefile,v 1.22 2005/03/19 18:16:34 yamt Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
# Build a smaller ifconfig (i.e. for boot media)
|
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
|
1995-10-09 02:08:46 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
PROG= ifconfig
|
|
|
|
NOMAN= # defined
|
|
|
|
|
2005-01-18 15:30:21 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2005-03-19 21:16:34 +03:00
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys/
|
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
|
2005-01-18 15:30:21 +03:00
|
|
|
.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
|
2001-12-12 03:05:09 +03:00
|
|
|
CPPFLAGS+= -DINET6
|
2001-08-20 16:19:43 +04:00
|
|
|
.endif
|
1995-10-09 02:08:46 +03:00
|
|
|
|
2002-09-21 01:23:02 +04:00
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
LDADD+=-lutil
|
|
|
|
|
2005-03-19 21:16:34 +03:00
|
|
|
SRCS= ifconfig.c
|
|
|
|
SRCS+= agr.c
|
|
|
|
SRCS+= tunnel.c
|
|
|
|
SRCS+= vlan.c
|
|
|
|
|
1995-10-09 02:08:46 +03:00
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
.PATH: ${SRCDIR}
|