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 9 MAN= ifconfig.8 10 11 #CFLAGS+=-g 12 SRCS= af_atalk.c af_iso.c af_link.c carp.c 13 .if (${USE_INET6} != "no") 14 CPPFLAGS+= -DINET6 15 SRCS+= 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) 22 COPTS.ifconfig.c+= -fno-loop-optimize 23 .endif 24 25 .include <bsd.prog.mk> 26