Module Name: src
Committed By: alnsn
Date: Mon Nov 5 00:23:18 UTC 2012
Added Files:
src/external/bsd/sljit: Makefile.inc
src/external/bsd/sljit/lib: Makefile
Log Message:
Add makefiles to build libsljit as a private userspace library.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/external/bsd/sljit/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/external/bsd/sljit/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/external/bsd/sljit/Makefile.inc
diff -u /dev/null src/external/bsd/sljit/Makefile.inc:1.1
--- /dev/null Mon Nov 5 00:23:18 2012
+++ src/external/bsd/sljit/Makefile.inc Mon Nov 5 00:23:18 2012
@@ -0,0 +1,8 @@
+# $NetBSD: Makefile.inc,v 1.1 2012/11/05 00:23:18 alnsn Exp $
+
+.include <bsd.own.mk>
+
+SLJITDIST= ${NETBSDSRCDIR}/sys/external/bsd/sljit/dist
+LIBSLJITDIR!= cd ${NETBSDSRCDIR}/external/bsd/sljit/lib && ${PRINTOBJDIR}
+
+CPPFLAGS+= -I${SLJITDIST}/sljit_src
Index: src/external/bsd/sljit/lib/Makefile
diff -u /dev/null src/external/bsd/sljit/lib/Makefile:1.1
--- /dev/null Mon Nov 5 00:23:18 2012
+++ src/external/bsd/sljit/lib/Makefile Mon Nov 5 00:23:18 2012
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2012/11/05 00:23:18 alnsn Exp $
+
+.include <bsd.own.mk>
+
+# XXX documentation (BTW, agc@ started writing a manual page)
+NOMAN= # defined
+
+LIB= sljit
+
+# Keep sljit private for the time being because it's
+# still under active development and API can change.
+LIBISPRIVATE= yes
+
+SLJITDIST= ${NETBSDSRCDIR}/sys/external/bsd/sljit/dist
+.PATH: ${SLJITDIST}/sljit_src
+
+SRCS= sljitLir.c
+
+.include <bsd.lib.mk>