1 # $NetBSD: Makefile,v 1.28 2005/03/20 14:24:13 yamt 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 9 WARNS= 3 10 PROG= ifconfig 11 MAN= ifconfig.8 12 13 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/ 14 15 .if (${USE_INET6} != "no") 16 CPPFLAGS+=-DINET6 17 .endif 18 19 # KAME scope id hack 20 CPPFLAGS+=-DKAME_SCOPEID 21 22 DPADD+=${LIBUTIL} 23 LDADD+=-lutil 24 25 SRCS= ifconfig.c 26 27 SRCS+= af_atalk.c 28 SRCS+= af_inet.c 29 .if (${USE_INET6} != "no") 30 SRCS+= af_inet6.c 31 .endif 32 SRCS+= af_iso.c 33 SRCS+= af_ns.c 34 35 SRCS+= agr.c 36 SRCS+= ieee80211.c 37 SRCS+= tunnel.c 38 SRCS+= vlan.c 39 40 .include <bsd.prog.mk> 41