Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.25
      1 # $NetBSD: Makefile,v 1.25 2008/05/06 04:33:42 dyoung Exp $
      2 # Build a smaller ifconfig (i.e. for boot media)
      3 
      4 SRCDIR=		${.CURDIR}/../../../sbin/ifconfig
      5 
      6 PROG=		ifconfig
      7 NOMAN=		# defined
      8 
      9 .include <bsd.own.mk>
     10 
     11 CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/
     12 
     13 CPPFLAGS+=	-DINET_ONLY -I${SRCDIR}
     14 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
     15 CPPFLAGS+=	-DINET6
     16 .endif
     17 
     18 DPADD+=${LIBUTIL}
     19 LDADD+=-lutil
     20 
     21 SRCS= ifconfig.c 
     22 
     23 SRCS+= af_atalk.c
     24 SRCS+= af_inet.c
     25 SRCS+= af_inetany.c
     26 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
     27 SRCS+= af_inet6.c
     28 .endif
     29 SRCS+= af_iso.c
     30 
     31 SRCS+= agr.c
     32 SRCS+= ieee80211.c
     33 SRCS+= env.c
     34 SRCS+= parse.c
     35 SRCS+= util.c
     36 SRCS+= tunnel.c
     37 SRCS+= vlan.c
     38 
     39 .include <bsd.prog.mk>
     40 
     41 .PATH:		${SRCDIR}
     42