1 1.13 minoura # $NetBSD: Makefile,v 1.13 2000/09/05 16:06:49 minoura Exp $ 2 1.1 gwr # Build a smaller ifconfig (i.e. for boot media) 3 1.1 gwr 4 1.1 gwr PROG= ifconfig 5 1.6 lukem MKMAN= no 6 1.1 gwr 7 1.8 cgd SRCDIR= ${.CURDIR}/../../../sbin/ifconfig 8 1.10 itojun CPPFLAGS+= -DINET_ONLY -I${SRCDIR} 9 1.13 minoura .if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k") 10 1.10 itojun CPPFLAGS+= -DINET6 11 1.10 itojun .endif 12 1.11 matt COPTS+= -Os 13 1.12 matt LDSTATIC?=-static 14 1.1 gwr 15 1.1 gwr all: ${PROG} 16 1.1 gwr 17 1.1 gwr .include <bsd.prog.mk> 18 1.3 gwr 19 1.3 gwr .PATH: ${SRCDIR} 20