Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.21
      1 # $NetBSD: Makefile,v 1.21 2005/01/18 12:30:21 lukem 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+=	-DINET_ONLY -I${SRCDIR}
     12 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
     13 CPPFLAGS+=	-DINET6
     14 .endif
     15 
     16 DPADD+=${LIBUTIL}
     17 LDADD+=-lutil
     18 
     19 .include <bsd.prog.mk>
     20 
     21 .PATH:		${SRCDIR}
     22