Makefile revision 1.47
11.47Sdyoung# $NetBSD: Makefile,v 1.47 2010/07/01 16:28:21 dyoung 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.6ScgdMAN= ifconfig.8 111.8Sitojun 121.47Sdyoung#DBG+=-g 131.38SdyoungSRCS= af_atalk.c af_iso.c af_link.c carp.c 141.16Slukem.if (${USE_INET6} != "no") 151.38SdyoungCPPFLAGS+= -DINET6 161.38SdyoungSRCS+= af_inet6.c 171.16Slukem.endif 181.11Sitojun 191.38Sdyoung.include "Makefile.inc" 201.15Sdsl 211.46StsutsuiCPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/ 221.44SheSRCS+= pfsync.c 231.44She 241.39Stsutsui.if ${MACHINE_ARCH} == "m68000" 251.39Stsutsui# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066) 261.39StsutsuiCOPTS.ifconfig.c+= -fno-loop-optimize 271.39Stsutsui.endif 281.39Stsutsui 291.42Spooka# 301.42Spooka# Compile-time debug flag. If compiled with "make RUMP_ACTION=1", 311.42Spooka# make rump system calls. This allows to single-step ioctl commands 321.42Spooka# to figure out where ioctl's go in the kernel. 331.42Spooka# 341.42Spooka.ifdef RUMP_ACTION 351.43SpookaCPPFLAGS+= -DRUMP_SYS_NETWORKING -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE 361.43SpookaCPPFLAGS+= -DRUMP_ACTION 371.42SpookaLDADD+= -lrumpnet_virtif -lrumpnet_netinet -lrumpnet_net -lrumpnet 381.42SpookaLDADD+= -lrump -lrumpuser -lpthread 391.42SpookaDBG= -g 401.42Spooka.endif 411.42Spooka 421.1Scgd.include <bsd.prog.mk> 43