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