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