Makefile revision 1.44
11.44She# $NetBSD: Makefile,v 1.44 2009/09/15 09:22:07 he 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.28Syamt# also needed for src/distrib/utils/x_ifconfig/Makefile. 61.28Syamt 71.16Slukem.include <bsd.own.mk> 81.16Slukem 91.6ScgdMAN= ifconfig.8 101.8Sitojun 111.40Suebayasi#CFLAGS+=-g 121.38SdyoungSRCS= af_atalk.c af_iso.c af_link.c carp.c 131.16Slukem.if (${USE_INET6} != "no") 141.38SdyoungCPPFLAGS+= -DINET6 151.38SdyoungSRCS+= af_inet6.c 161.16Slukem.endif 171.11Sitojun 181.38Sdyoung.include "Makefile.inc" 191.15Sdsl 201.44SheCPPFLAGS+=-I ${.CURDIR}/../../sys/dist/pf/ 211.44SheSRCS+= pfsync.c 221.44She 231.39Stsutsui.if ${MACHINE_ARCH} == "m68000" 241.39Stsutsui# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066) 251.39StsutsuiCOPTS.ifconfig.c+= -fno-loop-optimize 261.39Stsutsui.endif 271.39Stsutsui 281.42Spooka# 291.42Spooka# Compile-time debug flag. If compiled with "make RUMP_ACTION=1", 301.42Spooka# make rump system calls. This allows to single-step ioctl commands 311.42Spooka# to figure out where ioctl's go in the kernel. 321.42Spooka# 331.42Spooka.ifdef RUMP_ACTION 341.43SpookaCPPFLAGS+= -DRUMP_SYS_NETWORKING -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE 351.43SpookaCPPFLAGS+= -DRUMP_ACTION 361.42SpookaLDADD+= -lrumpnet_virtif -lrumpnet_netinet -lrumpnet_net -lrumpnet 371.42SpookaLDADD+= -lrump -lrumpuser -lpthread 381.42SpookaDBG= -g 391.42Spooka.endif 401.42Spooka 411.1Scgd.include <bsd.prog.mk> 42