Makefile revision 1.14
11.14Smartin# $NetBSD: Makefile,v 1.14 2001/08/20 12:19:45 martin Exp $
21.1Sgwr# Build a smaller ifconfig (i.e. for boot media)
31.1Sgwr
41.1SgwrPROG=	ifconfig
51.6SlukemMKMAN=	no
61.1Sgwr
71.8ScgdSRCDIR= ${.CURDIR}/../../../sbin/ifconfig
81.10SitojunCPPFLAGS+= -DINET_ONLY -I${SRCDIR}
91.13Sminoura.if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
101.10SitojunCPPFLAGS+= -DINET6
111.10Sitojun.endif
121.14Smartin.if ${MACHINE_ARCH} != "sparc64"
131.11SmattCOPTS+= -Os
141.14Smartin.endif
151.12SmattLDSTATIC?=-static
161.1Sgwr
171.1Sgwrall: ${PROG}
181.1Sgwr
191.1Sgwr.include <bsd.prog.mk>
201.3Sgwr
211.3Sgwr.PATH:  ${SRCDIR}
22