Makefile revision 1.32
1#	$NetBSD: Makefile,v 1.32 2008/05/06 04:33:42 dyoung 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
12CFLAGS+= -g -O1
13CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/ -Wall -Wno-unused-parameter -pedantic -std=c99
14
15.if (${USE_INET6} != "no")
16CPPFLAGS+=-DINET6
17.endif
18
19DPADD+=${LIBUTIL}
20LDADD+=-lutil
21LDADD+=-lprop
22
23SRCS= ifconfig.c 
24
25SRCS+= af_atalk.c
26SRCS+= af_inet.c
27SRCS+= af_inetany.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
38SRCS+= parse.c
39SRCS+= env.c
40SRCS+= util.c
41
42.include <bsd.prog.mk>
43