xref: /netbsd-src/sbin/ifconfig/Makefile (revision d877c4c3c02304002c0642d7f34a58d07138d6a9)
1#	$NetBSD: Makefile,v 1.41 2009/04/11 07:58:12 lukem 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/Makefile.
6
7.include <bsd.own.mk>
8
9MAN=	ifconfig.8
10
11#CFLAGS+=-g
12SRCS= af_atalk.c af_iso.c af_link.c carp.c
13.if (${USE_INET6} != "no")
14CPPFLAGS+=	-DINET6
15SRCS+= af_inet6.c
16.endif
17
18.include "Makefile.inc"
19
20.if ${MACHINE_ARCH} == "m68000"
21# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
22COPTS.ifconfig.c+= -fno-loop-optimize
23.endif
24
25.include <bsd.prog.mk>
26