kernel/arm: send SIGSEGV to processes
[minix3.git] / sbin / ifconfig / Makefile
blob2aef6ef46e5ab5b3c48ed9212c98aae51fc70a65
1 # $NetBSD: Makefile,v 1.56 2015/05/19 08:14:38 ozaki-r Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/5/93
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.
8 .include <bsd.own.mk>
10 RUMPPRG=ifconfig
11 MAN= ifconfig.8
13 #DBG+=-g
14 SRCS= af_atalk.c af_link.c carp.c
15 .if (${USE_INET6} != "no")
16 CPPFLAGS+= -DINET6
17 SRCS+= af_inet6.c
18 .endif
20 .include "Makefile.inc"
22 .PATH: ${.CURDIR}/../../lib/libc/net
23 RUMPSRCS= getifaddrs.c getnameinfo.c if_indextoname.c
24 .if (${MKRUMP} != "no")
25 CPPFLAGS+= -DRUMP_ACTION
26 .endif
28 .ifdef SMALLPROG
29 CPPFLAGS+=-DSMALL
30 .endif
32 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
33 SRCS+= pfsync.c
35 .if ${MACHINE_ARCH} == "m68000"
36 # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
37 COPTS.ifconfig.c+= -fno-loop-optimize
38 .endif
40 .include <bsd.prog.mk>