Home | History | Annotate | Line # | Download | only in netstat
Makefile revision 1.45.6.1
      1  1.45.6.1    martin #	$NetBSD: Makefile,v 1.45.6.1 2019/08/19 15:56:49 martin 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.6.1    martin 
     29  1.45.6.1    martin SANITIZER_RENAME_CLASSES+=	rump
     30  1.45.6.1    martin SANITIZER_RENAME_FILES.rump+=	${PROG}_rumpops.c ${RUMPSRCS}
     31  1.45.6.1    martin SANITIZER_RENAME_SYMBOL.rump+=	sysctlbyname sysctlgetmibinfo sysctlnametomib
     32      1.45  christos .endif
     33      1.45  christos 
     34      1.30     pooka 
     35      1.24     lukem .if (${USE_INET6} != "no")
     36      1.24     lukem CPPFLAGS+= -DINET6
     37      1.24     lukem .endif
     38       1.1       cgd 
     39      1.44       mrg .include "../../compat/exec.mk"
     40      1.44       mrg 
     41       1.1       cgd .include <bsd.prog.mk>
     42