2001-10-05 05:17:27 +04:00
|
|
|
# $NetBSD: Makefile,v 1.15 2001/10/05 01:17:31 jmc 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}
|
2000-09-05 20:06:49 +04:00
|
|
|
.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
|
2000-05-04 07:27:09 +04:00
|
|
|
CPPFLAGS+= -DINET6
|
|
|
|
.endif
|
2001-08-20 16:19:43 +04:00
|
|
|
.if ${MACHINE_ARCH} != "sparc64"
|
2001-10-05 05:17:27 +04:00
|
|
|
DBG= -Os
|
2001-08-20 16:19:43 +04:00
|
|
|
.endif
|
2000-05-18 05:10:22 +04:00
|
|
|
LDSTATIC?=-static
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|