23 lines
485 B
Makefile
23 lines
485 B
Makefile
# $NetBSD: Makefile,v 1.12 2016/06/29 21:40:10 christos Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= npfctl
|
|
MAN= npfctl.8 npf.conf.5
|
|
BINDIR= /sbin
|
|
|
|
SRCS= npfctl.c npf_var.c npf_data.c npf_build.c npf_extmod.c
|
|
SRCS+= npf_bpf_comp.c npf_show.c
|
|
|
|
CPPFLAGS+= -I${.CURDIR}
|
|
SRCS+= npf_scan.l npf_parse.y
|
|
YHEADER= 1
|
|
|
|
LDADD+= -lnpf -lprop -lpcap -lutil -ly
|
|
DPADD+= ${LIBNPF} ${LIBPROP} ${LIBUTIL} ${LIBPCAP} ${LIBUTIL} ${LIBY}
|
|
|
|
WARNS= 5
|
|
NOLINT= # disabled deliberately
|
|
|
|
.include <bsd.prog.mk>
|