Module Name: src
Committed By: rmind
Date: Sat Nov 16 17:12:35 UTC 2013
Modified Files:
src/usr.sbin/npf/npftest: Makefile
Log Message:
Add bsd.own.mk for MKSLJIT, reorder some vars.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/npf/npftest/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/npf/npftest/Makefile
diff -u src/usr.sbin/npf/npftest/Makefile:1.6 src/usr.sbin/npf/npftest/Makefile:1.7
--- src/usr.sbin/npf/npftest/Makefile:1.6 Sat Nov 16 15:58:30 2013
+++ src/usr.sbin/npf/npftest/Makefile Sat Nov 16 17:12:35 2013
@@ -4,6 +4,10 @@
#
PROG= npftest
+NOMAN= # no man page
+
+WARNS= 5
+NOLINT= # disabled (note: deliberately)
SRCS= npftest.c npfstream.c
CPPFLAGS+= -I${.CURDIR}
@@ -15,6 +19,8 @@ LDADD+= -L${LIBNPFTEST} -lnpftest
LDADD+= -lrump -lrumpvfs -lrumpnet -lrumpnet_net
LDADD+= -lrumpdev_bpf
+.include <bsd.own.mk>
+
.if ${MKSLJIT} != "no"
LDADD+= -lrumpkern_sljit -lrumpnet_bpfjit
.endif
@@ -23,10 +29,6 @@ LDADD+= -lrumpnet_npf
LDADD+= -lpcap -lprop -lpthread
-WARNS= 5
-NOMAN= # no man page
-NOLINT= # disabled (note: deliberately)
-
SUBDIR+= libnpftest
${LIBNPFTEST}/libnpftest.a: all-libnpftest