Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.37
      1 # $NetBSD: Makefile,v 1.37 2017/02/08 23:24:57 rin Exp $
      2 # Build a smaller ifconfig (i.e. for boot media)
      3 
      4 NOMAN=	# defined
      5 
      6 .include <bsd.own.mk>
      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 
     19 .PATH:		${SRCDIR}
     20 
     21 .include "${.CURDIR}/../../../sbin/ifconfig/Makefile.common"
     22 
     23 .include <bsd.prog.mk>
     24