1 1.54 joerg # $NetBSD: Makefile,v 1.54 2013/03/01 18:25:16 joerg Exp $ 2 1.7 cgd # @(#)Makefile 8.1 (Berkeley) 6/5/93 3 1.1 cgd 4 1.28 yamt # when making a change to this file, please check if the change is 5 1.45 tsutsui # also needed for src/distrib/utils/x_ifconfig. 6 1.45 tsutsui # such stuff should be into Makefile.inc. 7 1.28 yamt 8 1.16 lukem .include <bsd.own.mk> 9 1.16 lukem 10 1.50 pooka RUMPPRG=ifconfig 11 1.6 cgd MAN= ifconfig.8 12 1.8 itojun 13 1.47 dyoung #DBG+=-g 14 1.54 joerg SRCS= af_atalk.c af_link.c carp.c 15 1.16 lukem .if (${USE_INET6} != "no") 16 1.38 dyoung CPPFLAGS+= -DINET6 17 1.38 dyoung SRCS+= af_inet6.c 18 1.16 lukem .endif 19 1.11 itojun 20 1.38 dyoung .include "Makefile.inc" 21 1.15 dsl 22 1.50 pooka .PATH: ${.CURDIR}/../../lib/libc/net 23 1.50 pooka RUMPSRCS= getifaddrs.c 24 1.53 christos .if (${MKRUMP} != "no") 25 1.50 pooka CPPFLAGS+= -DRUMP_ACTION 26 1.53 christos .endif 27 1.50 pooka 28 1.46 tsutsui CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/ 29 1.44 he SRCS+= pfsync.c 30 1.44 he 31 1.39 tsutsui .if ${MACHINE_ARCH} == "m68000" 32 1.39 tsutsui # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066) 33 1.39 tsutsui COPTS.ifconfig.c+= -fno-loop-optimize 34 1.39 tsutsui .endif 35 1.39 tsutsui 36 1.1 cgd .include <bsd.prog.mk> 37