Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.32
      1 # $NetBSD: Makefile,v 1.32 2010/12/14 17:07:08 hannken Exp $
      2 # Build a smaller ifconfig (i.e. for boot media)
      3 
      4 .include <bsd.own.mk>
      5 
      6 NOMAN=	# defined
      7 
      8 SRCDIR=		${.CURDIR}/../../../sbin/ifconfig
      9 
     10 
     11 CPPFLAGS+=	-DCRUNCHOPS
     12 .if defined(SMALLPROG_INET6) && (${USE_INET6} != "no")
     13 CPPFLAGS+=	-DINET6
     14 SRCS+= af_inet6.c
     15 .endif
     16 
     17 PROG=	ifconfig
     18 .include "${.CURDIR}/../../../sbin/ifconfig/Makefile.inc"
     19 
     20 .include <bsd.prog.mk>
     21 
     22 .PATH:		${SRCDIR}
     23