1 1.13 rmind # $NetBSD: Makefile,v 1.13 2018/09/29 14:41:36 rmind Exp $ 2 1.12 christos 3 1.12 christos .include <bsd.own.mk> 4 1.1 rmind 5 1.1 rmind PROG= npfctl 6 1.2 rmind MAN= npfctl.8 npf.conf.5 7 1.11 rmind BINDIR= /sbin 8 1.1 rmind 9 1.11 rmind SRCS= npfctl.c npf_var.c npf_data.c npf_build.c npf_extmod.c 10 1.11 rmind SRCS+= npf_bpf_comp.c npf_show.c 11 1.1 rmind 12 1.5 rmind CPPFLAGS+= -I${.CURDIR} 13 1.5 rmind SRCS+= npf_scan.l npf_parse.y 14 1.5 rmind YHEADER= 1 15 1.5 rmind 16 1.13 rmind PROGDPLIBS+= nv ${NETBSDSRCDIR}/external/bsd/libnv/lib 17 1.13 rmind CPPFLAGS+= -I ${NETBSDSRCDIR}/sys/external/bsd/libnv/dist 18 1.13 rmind 19 1.13 rmind LDADD+= -lnpf -lpcap -lutil -ly 20 1.13 rmind DPADD+= ${LIBNPF} ${LIBUTIL} ${LIBPCAP} ${LIBUTIL} ${LIBY} 21 1.1 rmind 22 1.8 rmind WARNS= 5 23 1.8 rmind NOLINT= # disabled deliberately 24 1.1 rmind 25 1.1 rmind .include <bsd.prog.mk> 26