Makefile revision 1.53
11.53Schristos# $NetBSD: Makefile,v 1.53 2012/08/08 14:10:38 christos Exp $ 21.7Scgd# @(#)Makefile 8.1 (Berkeley) 6/5/93 31.1Scgd 41.28Syamt# when making a change to this file, please check if the change is 51.45Stsutsui# also needed for src/distrib/utils/x_ifconfig. 61.45Stsutsui# such stuff should be into Makefile.inc. 71.28Syamt 81.16Slukem.include <bsd.own.mk> 91.16Slukem 101.50SpookaRUMPPRG=ifconfig 111.6ScgdMAN= ifconfig.8 121.8Sitojun 131.47Sdyoung#DBG+=-g 141.38SdyoungSRCS= af_atalk.c af_iso.c af_link.c carp.c 151.16Slukem.if (${USE_INET6} != "no") 161.38SdyoungCPPFLAGS+= -DINET6 171.38SdyoungSRCS+= af_inet6.c 181.16Slukem.endif 191.11Sitojun 201.38Sdyoung.include "Makefile.inc" 211.15Sdsl 221.50Spooka.PATH: ${.CURDIR}/../../lib/libc/net 231.50SpookaRUMPSRCS= getifaddrs.c 241.53Schristos.if (${MKRUMP} != "no") 251.50SpookaCPPFLAGS+= -DRUMP_ACTION 261.53Schristos.endif 271.50Spooka 281.46StsutsuiCPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/ 291.44SheSRCS+= pfsync.c 301.44She 311.39Stsutsui.if ${MACHINE_ARCH} == "m68000" 321.39Stsutsui# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066) 331.39StsutsuiCOPTS.ifconfig.c+= -fno-loop-optimize 341.39Stsutsui.endif 351.39Stsutsui 361.1Scgd.include <bsd.prog.mk> 37