1 # $NetBSD: Makefile,v 1.33 2015/04/28 15:14:07 christos 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 .ifdef SMALLPROG 18 CPPFLAGS+=-DSMALL 19 .endif 20 21 PROG= ifconfig 22 .include "${.CURDIR}/../../../sbin/ifconfig/Makefile.inc" 23 24 .include <bsd.prog.mk> 25 26 .PATH: ${SRCDIR} 27