1 1.28 yamt # $NetBSD: Makefile,v 1.28 2005/03/20 14:24:13 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.17 xtraeme WARNS= 3 10 1.1 cgd PROG= ifconfig 11 1.6 cgd MAN= ifconfig.8 12 1.8 itojun 13 1.18 yamt CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 14 1.18 yamt 15 1.16 lukem .if (${USE_INET6} != "no") 16 1.10 itojun CPPFLAGS+=-DINET6 17 1.16 lukem .endif 18 1.11 itojun 19 1.11 itojun # KAME scope id hack 20 1.11 itojun CPPFLAGS+=-DKAME_SCOPEID 21 1.14 christos 22 1.14 christos DPADD+=${LIBUTIL} 23 1.14 christos LDADD+=-lutil 24 1.1 cgd 25 1.15 dsl SRCS= ifconfig.c 26 1.22 thorpej 27 1.22 thorpej SRCS+= af_atalk.c 28 1.26 thorpej SRCS+= af_inet.c 29 1.27 thorpej .if (${USE_INET6} != "no") 30 1.25 thorpej SRCS+= af_inet6.c 31 1.27 thorpej .endif 32 1.24 thorpej SRCS+= af_iso.c 33 1.23 thorpej SRCS+= af_ns.c 34 1.22 thorpej 35 1.18 yamt SRCS+= agr.c 36 1.21 thorpej SRCS+= ieee80211.c 37 1.20 thorpej SRCS+= tunnel.c 38 1.19 thorpej SRCS+= vlan.c 39 1.15 dsl 40 1.1 cgd .include <bsd.prog.mk> 41