Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.22
      1  1.22      yamt # $NetBSD: Makefile,v 1.22 2005/03/19 18:16:34 yamt Exp $
      2   1.1       gwr # Build a smaller ifconfig (i.e. for boot media)
      3   1.1       gwr 
      4  1.16        tv SRCDIR=		${.CURDIR}/../../../sbin/ifconfig
      5   1.1       gwr 
      6  1.16        tv PROG=		ifconfig
      7  1.16        tv NOMAN=		# defined
      8  1.16        tv 
      9  1.21     lukem .include <bsd.own.mk>
     10  1.21     lukem 
     11  1.22      yamt CPPFLAGS+=	-I${NETBSDSRCDIR}/sys/
     12  1.22      yamt 
     13  1.16        tv CPPFLAGS+=	-DINET_ONLY -I${SRCDIR}
     14  1.21     lukem .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
     15  1.16        tv CPPFLAGS+=	-DINET6
     16  1.14    martin .endif
     17  1.19  christos 
     18  1.19  christos DPADD+=${LIBUTIL}
     19  1.19  christos LDADD+=-lutil
     20   1.1       gwr 
     21  1.22      yamt SRCS= ifconfig.c 
     22  1.22      yamt SRCS+= agr.c
     23  1.22      yamt SRCS+= tunnel.c
     24  1.22      yamt SRCS+= vlan.c
     25  1.22      yamt 
     26   1.1       gwr .include <bsd.prog.mk>
     27   1.3       gwr 
     28  1.16        tv .PATH:		${SRCDIR}
     29