Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npftest Add bsd.own.mk for MKSLJIT, reorder som...



details:   https://anonhg.NetBSD.org/src/rev/6293b4789750
branches:  trunk
changeset: 791407:6293b4789750
user:      rmind <rmind%NetBSD.org@localhost>
date:      Sat Nov 16 17:12:35 2013 +0000

description:
Add bsd.own.mk for MKSLJIT, reorder some vars.

diffstat:

 usr.sbin/npf/npftest/Makefile |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c7e1b1adb716 -r 6293b4789750 usr.sbin/npf/npftest/Makefile
--- a/usr.sbin/npf/npftest/Makefile     Sat Nov 16 17:04:53 2013 +0000
+++ b/usr.sbin/npf/npftest/Makefile     Sat Nov 16 17:12:35 2013 +0000
@@ -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+=                -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+=                -lpcap -lprop -lpthread
 
-WARNS=         5
-NOMAN=         # no man page
-NOLINT=                # disabled (note: deliberately)
-
 SUBDIR+=       libnpftest
 
 ${LIBNPFTEST}/libnpftest.a: all-libnpftest



Home | Main Index | Thread Index | Old Index