2001-12-12 03:05:09 +03:00
|
|
|
# $NetBSD: Makefile,v 1.16 2001/12/12 00:05:13 tv 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}
|
2000-09-05 20:06:49 +04:00
|
|
|
.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
|
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
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
2001-12-12 03:05:09 +03:00
|
|
|
.PATH: ${SRCDIR}
|