Home | History | Annotate | Line # | Download | only in ifconfig
Makefile revision 1.50
      1 #	$NetBSD: Makefile,v 1.50 2010/12/13 17:35:08 pooka Exp $
      2 #	@(#)Makefile	8.1 (Berkeley) 6/5/93
      3 
      4 # when making a change to this file, please check if the change is
      5 # also needed for src/distrib/utils/x_ifconfig.
      6 # such stuff should be into Makefile.inc.
      7 
      8 .include <bsd.own.mk>
      9 
     10 RUMPPRG=ifconfig
     11 MAN=	ifconfig.8
     12 
     13 #DBG+=-g
     14 SRCS= af_atalk.c af_iso.c af_link.c carp.c
     15 .if (${USE_INET6} != "no")
     16 CPPFLAGS+=	-DINET6
     17 SRCS+= af_inet6.c
     18 .endif
     19 
     20 .include "Makefile.inc"
     21 
     22 .PATH:		${.CURDIR}/../../lib/libc/net
     23 RUMPSRCS= getifaddrs.c
     24 CPPFLAGS+= -DRUMP_ACTION
     25 
     26 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
     27 SRCS+= pfsync.c
     28 
     29 .if ${MACHINE_ARCH} == "m68000"
     30 # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
     31 COPTS.ifconfig.c+= -fno-loop-optimize
     32 .endif
     33 
     34 .include <bsd.prog.mk>
     35