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