Cross Reference: Makefile
xref: /src/sbin/ifconfig/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sbin/ifconfig/
Makefile revision 1.56
11.56Sozaki#	$NetBSD: Makefile,v 1.56 2015/05/19 08:14:38 ozaki-r 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.54SjoergSRCS= af_atalk.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.56SozakiRUMPSRCS= getifaddrs.c getnameinfo.c if_indextoname.c
241.53Schristos.if (${MKRUMP} != "no")
251.50SpookaCPPFLAGS+= -DRUMP_ACTION
261.53Schristos.endif
271.50Spooka
281.55Schristos.ifdef SMALLPROG
291.55SchristosCPPFLAGS+=-DSMALL
301.55Schristos.endif
311.55Schristos
321.46StsutsuiCPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
331.44SheSRCS+= pfsync.c
341.44She
351.39Stsutsui.if ${MACHINE_ARCH} == "m68000"
361.39Stsutsui# XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
371.39StsutsuiCOPTS.ifconfig.c+= -fno-loop-optimize
381.39Stsutsui.endif
391.39Stsutsui
401.1Scgd.include <bsd.prog.mk>
41

Indexes created Sun Dec 21 11:09:39 GMT 2025