2002-10-17 06:05:35 +04:00
|
|
|
# $NetBSD: Makefile,v 1.20 2002/10/17 02:05:39 lukem 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
|
|
|
|
|
|
|
|
CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
|
2002-10-17 06:05:35 +04:00
|
|
|
.if defined(SMALLPROG_INET6)
|
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
|
|
|
|
|
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}
|