Makefile revision 1.23
11.23Syamt# $NetBSD: Makefile,v 1.23 2005/03/20 14:21:05 yamt Exp $ 21.1Sgwr# Build a smaller ifconfig (i.e. for boot media) 31.1Sgwr 41.16StvSRCDIR= ${.CURDIR}/../../../sbin/ifconfig 51.1Sgwr 61.16StvPROG= ifconfig 71.16StvNOMAN= # defined 81.16Stv 91.21Slukem.include <bsd.own.mk> 101.21Slukem 111.22SyamtCPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 121.22Syamt 131.16StvCPPFLAGS+= -DINET_ONLY -I${SRCDIR} 141.21Slukem.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 151.16StvCPPFLAGS+= -DINET6 161.14Smartin.endif 171.19Schristos 181.19SchristosDPADD+=${LIBUTIL} 191.19SchristosLDADD+=-lutil 201.1Sgwr 211.22SyamtSRCS= ifconfig.c 221.23Syamt 231.23SyamtSRCS+= af_atalk.c 241.23SyamtSRCS+= af_inet.c 251.23Syamt.if defined(SMALLPROG_INET6) && (${USE_INET6} != "no") 261.23SyamtSRCS+= af_inet6.c 271.23Syamt.endif 281.23SyamtSRCS+= af_iso.c 291.23SyamtSRCS+= af_ns.c 301.23Syamt 311.22SyamtSRCS+= agr.c 321.23SyamtSRCS+= ieee80211.c 331.22SyamtSRCS+= tunnel.c 341.22SyamtSRCS+= vlan.c 351.22Syamt 361.1Sgwr.include <bsd.prog.mk> 371.3Sgwr 381.16Stv.PATH: ${SRCDIR} 39