Remove building with NOCRYPTO option
[minix.git] / sbin / ifconfig / Makefile
blob928025d39d0fa7f995fc4ef9f4e03ec9d4eaea8d
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 .if defined(__MINIX)
14 CWARNFLAGS.gcc+= -Wno-unused-but-set-variable
15 .endif # defined(__MINIX)
16 #DBG+=-g
17 SRCS= af_atalk.c af_link.c carp.c
18 .if (${USE_INET6} != "no")
19 CPPFLAGS+= -DINET6
20 SRCS+= af_inet6.c
21 .endif
23 .include "Makefile.inc"
25 .PATH: ${.CURDIR}/../../lib/libc/net
26 RUMPSRCS= getifaddrs.c getnameinfo.c if_indextoname.c
27 .if (${MKRUMP} != "no")
28 CPPFLAGS+= -DRUMP_ACTION
29 .endif
31 .ifdef SMALLPROG
32 CPPFLAGS+=-DSMALL
33 .endif
35 CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
36 SRCS+= pfsync.c
38 .if ${MACHINE_ARCH} == "m68000"
39 # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
40 COPTS.ifconfig.c+= -fno-loop-optimize
41 .endif
43 .include <bsd.prog.mk>