Home | History | Annotate | Line # | Download | only in ifconfig
Makefile revision 1.48
      1  1.48    pooka #	$NetBSD: Makefile,v 1.48 2010/11/04 23:31:12 pooka Exp $
      2   1.7      cgd #	@(#)Makefile	8.1 (Berkeley) 6/5/93
      3   1.1      cgd 
      4  1.28     yamt # when making a change to this file, please check if the change is
      5  1.45  tsutsui # also needed for src/distrib/utils/x_ifconfig.
      6  1.45  tsutsui # such stuff should be into Makefile.inc.
      7  1.28     yamt 
      8  1.16    lukem .include <bsd.own.mk>
      9  1.16    lukem 
     10   1.6      cgd MAN=	ifconfig.8
     11   1.8   itojun 
     12  1.47   dyoung #DBG+=-g
     13  1.38   dyoung SRCS= af_atalk.c af_iso.c af_link.c carp.c
     14  1.16    lukem .if (${USE_INET6} != "no")
     15  1.38   dyoung CPPFLAGS+=	-DINET6
     16  1.38   dyoung SRCS+= af_inet6.c
     17  1.16    lukem .endif
     18  1.11   itojun 
     19  1.38   dyoung .include "Makefile.inc"
     20  1.15      dsl 
     21  1.46  tsutsui CPPFLAGS+=-I${NETBSDSRCDIR}/sys/dist/pf/
     22  1.44       he SRCS+= pfsync.c
     23  1.44       he 
     24  1.39  tsutsui .if ${MACHINE_ARCH} == "m68000"
     25  1.39  tsutsui # XXX workaround for gcc -O1 bug (PR bin/40036 and toolchain/40066)
     26  1.39  tsutsui COPTS.ifconfig.c+= -fno-loop-optimize
     27  1.39  tsutsui .endif
     28  1.39  tsutsui 
     29  1.42    pooka #
     30  1.42    pooka # Compile-time debug flag.  If compiled with "make RUMP_ACTION=1",
     31  1.48    pooka # make rump system calls to a server in another process.
     32  1.42    pooka #
     33  1.42    pooka .ifdef RUMP_ACTION
     34  1.43    pooka CPPFLAGS+=	-DRUMP_SYS_NETWORKING -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE
     35  1.43    pooka CPPFLAGS+=	-DRUMP_ACTION
     36  1.48    pooka LDADD+=		-lrumpclient
     37  1.42    pooka DBG=		-g
     38  1.42    pooka .endif
     39  1.42    pooka 
     40   1.1      cgd .include <bsd.prog.mk>
     41