2000-05-18 04:43:05 +04:00
|
|
|
# $NetBSD: Makefile,v 1.11 2000/05/18 00:43:07 matt Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
# Build a smaller ifconfig (i.e. for boot media)
|
|
|
|
|
|
|
|
PROG= ifconfig
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1995-10-09 02:08:46 +03:00
|
|
|
|
1999-06-21 05:19:36 +04:00
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
|
2000-05-04 07:27:09 +04:00
|
|
|
CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
|
|
|
|
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
|
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
.endif
|
2000-05-18 04:43:05 +04:00
|
|
|
COPTS+= -Os
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|