Add libbpfjit test.
This commit is contained in:
parent
292a31115c
commit
65b4b42177
21
tests/lib/libbpfjit/Makefile
Normal file
21
tests/lib/libbpfjit/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2012/11/11 17:37:34 alnsn Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <../../../external/bsd/sljit/Makefile.inc>
|
||||
|
||||
TESTSDIR= ${TESTSBASE}/lib/libbpfjit
|
||||
|
||||
TESTS_C+= t_bpfjit
|
||||
|
||||
# XXX this variable doesn't belong to here
|
||||
LIBBPFJITDIR!= cd ${NETBSDSRCDIR}/lib/libbpfjit && ${PRINTOBJDIR}
|
||||
|
||||
LDADD+= -L${LIBBPFJITDIR} -lbpfjit
|
||||
DPADD+= ${LIBBPFJITDIR}/libbpfjit.a
|
||||
|
||||
LDADD+= -L${LIBSLJITDIR} -lsljit
|
||||
DPADD+= ${LIBSLJITDIR}/libsljit.a
|
||||
|
||||
LDADD+= ${LIBPCAP}
|
||||
|
||||
.include <bsd.test.mk>
|
3374
tests/lib/libbpfjit/t_bpfjit.c
Normal file
3374
tests/lib/libbpfjit/t_bpfjit.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user