-fix
[oweals/gnunet.git] / src / regex / Makefile.am
index 72977339974d497cdc25cf4345007c66b60b6553..cd55d755e8f14b9298f1e946b1182bacc593042c 100644 (file)
@@ -11,7 +11,8 @@ endif
 lib_LTLIBRARIES = libgnunetregex.la
 
 libgnunetregex_la_SOURCES = \
-  regex.c regex.h
+  regex_internal.h regex.c \
+  regex_graph.c regex_random.c
 libgnunetregex_la_LIBADD = -lm \
  $(top_builddir)/src/util/libgnunetutil.la
 libgnunetregex_la_LDFLAGS = \
@@ -19,16 +20,39 @@ libgnunetregex_la_LDFLAGS = \
   -version-info 0:0:0
 
 check_PROGRAMS = \
- test_regex
+ test_regex_eval_api \
+ test_regex_iterate_api \
+ test_regex_proofs \
+ test_regex_graph_api
 
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif
 
-test_regex_SOURCES = \
- test_regex.c
-test_regex_LDADD = \
+test_regex_eval_api_SOURCES = \
+ test_regex_eval_api.c
+test_regex_eval_api_LDADD = \
  $(top_builddir)/src/regex/libgnunetregex.la \
  $(top_builddir)/src/util/libgnunetutil.la
 
-EXTRA_DIST = test_regex_data.conf
+test_regex_iterate_api_SOURCES = \
+ test_regex_iterate_api.c
+test_regex_iterate_api_LDADD = \
+ $(top_builddir)/src/regex/libgnunetregex.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+
+test_regex_proofs_SOURCES = \
+ test_regex_proofs.c
+test_regex_proofs_LDADD = \
+ $(top_builddir)/src/regex/libgnunetregex.la \
+ $(top_builddir)/src/util/libgnunetutil.la
+
+test_regex_graph_api_SOURCES = \
+test_regex_graph_api.c
+test_regex_graph_api_LDADD = \
+$(top_builddir)/src/regex/libgnunetregex.la \
+$(top_builddir)/src/util/libgnunetutil.la
+
+
+EXTRA_DIST =
+# test_regex_data.conf