Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib Add libbpfjit library.
details: https://anonhg.NetBSD.org/src/rev/7c6d5482a67e
branches: trunk
changeset: 782644:7c6d5482a67e
user: alnsn <alnsn%NetBSD.org@localhost>
date: Sun Nov 11 17:34:06 2012 +0000
description:
Add libbpfjit library.
diffstat:
lib/Makefile | 4 +++-
lib/libbpfjit/Makefile | 21 +++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r 4da77103ad4c -r 7c6d5482a67e lib/Makefile
--- a/lib/Makefile Sat Nov 10 23:12:36 2012 +0000
+++ b/lib/Makefile Sun Nov 11 17:34:06 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.193 2012/11/05 00:57:41 alnsn Exp $
+# $NetBSD: Makefile,v 1.194 2012/11/11 17:34:06 alnsn Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@@ -193,6 +193,8 @@
.if ${MKSLJIT} != "no"
SUBDIR+= ../external/bsd/sljit/lib
+SUBDIR+= .WAIT
+SUBDIR+= libbpfjit
.endif
SUBDIR+= ../external/bsd/mdocml/lib
diff -r 4da77103ad4c -r 7c6d5482a67e lib/libbpfjit/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libbpfjit/Makefile Sun Nov 11 17:34:06 2012 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2012/11/11 17:34:06 alnsn Exp $
+
+.include <bsd.own.mk>
+
+NOMAN= # defined
+
+LIB= bpfjit
+
+# Private because it depends on the private sljit library.
+LIBISPRIVATE= yes
+
+.PATH: ${NETBSDSRCDIR}/sys/net
+
+SRCS= bpfjit.c
+
+SLJITDIST= ${NETBSDSRCDIR}/sys/external/bsd/sljit/dist
+CPPFLAGS+= -I${SLJITDIST}/sljit_src
+
+WARNS= 4
+
+.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index