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