1 1.45 christos # $NetBSD: Makefile,v 1.45 2017/10/10 19:31:10 christos Exp $ 2 1.7 mycroft # from: @(#)Makefile 8.1 (Berkeley) 6/12/93 3 1.1 cgd 4 1.21 lukem .include <bsd.own.mk> 5 1.21 lukem 6 1.28 tls USE_FORT?= yes # setgid 7 1.28 tls 8 1.30 pooka RUMPPRG=netstat 9 1.39 joerg SRCS= atalk.c bpf.c fast_ipsec.c if.c inet.c inet6.c \ 10 1.40 christos main.c mbuf.c mroute.c mroute6.c pfkey.c pfsync.c route.c \ 11 1.40 christos unix.c vtw.c rtutil.c 12 1.1 cgd BINGRP= kmem 13 1.1 cgd BINMODE=2555 14 1.41 christos LDADD= -lutil -lkvm 15 1.41 christos DPADD= ${LIBUTIL} ${LIBKVM} 16 1.40 christos CPPFLAGS+= -DIPSEC -I${.CURDIR} 17 1.29 degroote CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf 18 1.40 christos CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/route 19 1.24 lukem 20 1.45 christos .PATH: ${.CURDIR}/../../sbin/route 21 1.45 christos 22 1.45 christos .if (${MKRUMP} != "no") 23 1.30 pooka .PATH: ${.CURDIR}/../../lib/libc/gen 24 1.30 pooka RUMPSRCS+= sysctlbyname.c sysctlgetmibinfo.c sysctlnametomib.c 25 1.45 christos LDADD.rump+= -lrumpres 26 1.45 christos DPADD.add+= ${LIBRUMPRES} 27 1.45 christos CPPFLAGS+= -DRUMP_ACTION 28 1.45 christos .endif 29 1.45 christos 30 1.30 pooka 31 1.24 lukem .if (${USE_INET6} != "no") 32 1.24 lukem CPPFLAGS+= -DINET6 33 1.24 lukem .endif 34 1.1 cgd 35 1.44 mrg .include "../../compat/exec.mk" 36 1.44 mrg 37 1.1 cgd .include <bsd.prog.mk> 38