Makefile revision 1.37
1# $NetBSD: Makefile,v 1.37 2008/05/12 22:06:13 dyoung Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/5/93 3 4# when making a change to this file, please check if the change is 5# also needed for src/distrib/utils/x_ifconfig/Makefile. 6 7.include <bsd.own.mk> 8 9PROG= ifconfig 10MAN= ifconfig.8 11 12WARNS= 4 13 14CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 15 16.if (${USE_INET6} != "no") 17CPPFLAGS+=-DINET6 18.endif 19 20DPADD+=${LIBUTIL} 21DPADD+=${LIBPROP} 22LDADD+=-lutil 23LDADD+=-lprop 24 25INCS=af_atalk.h af_inet.h af_inetany.h af_iso.h af_link.h agr.h carp.h env.h 26INCS+=extern.h ieee80211.h parse.h tunnel.h util.h vlan.h 27 28SRCS= ifconfig.c 29 30SRCS+= af_atalk.c 31SRCS+= af_inet.c 32SRCS+= af_inetany.c 33.if (${USE_INET6} != "no") 34SRCS+= af_inet6.c 35INCS+= af_inet6.h 36.endif 37SRCS+= af_link.c 38SRCS+= af_iso.c 39SRCS+= carp.c 40 41SRCS+= agr.c 42SRCS+= ieee80211.c 43SRCS+= tunnel.c 44SRCS+= vlan.c 45SRCS+= parse.c 46SRCS+= env.c 47SRCS+= util.c 48 49.include <bsd.prog.mk> 50