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