Add libbpfjit test.

This commit is contained in:
alnsn 2012-11-11 17:37:34 +00:00
parent 292a31115c
commit 65b4b42177
2 changed files with 3395 additions and 0 deletions

View 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>

File diff suppressed because it is too large Load Diff