Home | History | Annotate | Line # | Download | only in ifconfig
Makefile revision 1.35
      1 #	$NetBSD: Makefile,v 1.35 2008/05/07 22:07:24 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 
      9 PROG=	ifconfig
     10 MAN=	ifconfig.8
     11 
     12 WARNS=	4
     13 
     14 CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/ -pedantic
     15 
     16 .if (${USE_INET6} != "no")
     17 CPPFLAGS+=-DINET6
     18 .endif
     19 
     20 DPADD+=${LIBUTIL}
     21 DPADD+=${LIBPROP}
     22 LDADD+=-lutil
     23 LDADD+=-lprop
     24 
     25 SRCS= ifconfig.c 
     26 
     27 SRCS+= af_atalk.c
     28 SRCS+= af_inet.c
     29 SRCS+= af_inetany.c
     30 .if (${USE_INET6} != "no")
     31 SRCS+= af_inet6.c
     32 .endif
     33 SRCS+= af_iso.c
     34 SRCS+= carp.c
     35 
     36 SRCS+= agr.c
     37 SRCS+= ieee80211.c
     38 SRCS+= tunnel.c
     39 SRCS+= vlan.c
     40 SRCS+= parse.c
     41 SRCS+= env.c
     42 SRCS+= util.c
     43 
     44 .include <bsd.prog.mk>
     45