Home | History | Annotate | Line # | Download | only in x_ifconfig
Makefile revision 1.12.4.2
      1 # $NetBSD: Makefile,v 1.12.4.2 2001/07/29 20:32:31 he Exp $
      2 # Build a smaller ifconfig (i.e. for boot media)
      3 
      4 PROG=	ifconfig
      5 MKMAN=	no
      6 
      7 SRCDIR= ${.CURDIR}/../../../sbin/ifconfig
      8 CPPFLAGS+= -DINET_ONLY -I${SRCDIR}
      9 .if (${MACHINE} == "i386") || (${MACHINE} == "hpcmips") || (${MACHINE} == "x68k")
     10 CPPFLAGS+= -DINET6
     11 .endif
     12 .if ${MACHINE_ARCH} != "sparc64"
     13 COPTS+= -Os
     14 .endif
     15 LDSTATIC?=-static
     16 
     17 all: ${PROG}
     18 
     19 .include <bsd.prog.mk>
     20 
     21 .PATH:  ${SRCDIR}
     22