1 # $NetBSD: Makefile,v 1.39 2008/11/29 15:28:49 tsutsui 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 WARNS=4 12 CFLAGS+=-g 13 SRCS= af_atalk.c af_iso.c af_link.c carp.c 14 .if (${USE_INET6} != "no") 15 CPPFLAGS+= -DINET6 16 SRCS+= af_inet6.c 17 .endif 18 19 .include "Makefile.inc" 20 21 .if ${MACHINE_ARCH} == "m68000" 22 # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066) 23 COPTS.ifconfig.c+= -fno-loop-optimize 24 .endif 25 26 .include <bsd.prog.mk> 27