summaryrefslogtreecommitdiff
path: root/lib/libtre/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libtre/Makefile')
-rw-r--r--lib/libtre/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/libtre/Makefile b/lib/libtre/Makefile
new file mode 100644
index 0000000000000..1abf007bd5e55
--- /dev/null
+++ b/lib/libtre/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.4 2012/08/24 20:24:40 jmmv Exp $
+
+LDADD+=-ltre
+DPADD+=${LIBTRE}
+TESTSDIR= ${TESTSBASE}/lib/libtre
+# XXX: tre eats copious amounts of memory even 9 does not work
+IMPLEMENTATION=-DREGEX_TRE -DREGEX_MAXSIZE=2 -DSKIP_RIGHTASSOC
+
+# Remove the following 2 lines once the standard tests have been fixed.
+PROGS=
+TESTS_SH=
+
+LCREGEX=${.CURDIR}/../libc/regex
+.PATH: ${LCREGEX}
+.include "${LCREGEX}/Makefile"
+