add nick name for cached records
[oweals/gnunet.git] / src / regex / Makefile.am
index 2c20c59049c7338ca18b1d6fb86323ec8b7aa05d..8f9f9edb9491c6967cc9d4dda6328c20dce6688e 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 if MINGW
   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
@@ -18,7 +18,9 @@ pkgcfg_DATA = \
   regex.conf
 
 libexec_PROGRAMS = \
-  gnunet-service-regex
+  gnunet-service-regex \
+  gnunet-daemon-regexprofiler
+
 
 gnunet_service_regex_SOURCES =  \
  gnunet-service-regex.c
@@ -108,11 +110,11 @@ libgnunetregextest_a_LIBADD = \
 libgnunetregextest_a_DEPENDENCIES = \
   libgnunetregex_internal.a
 
-
+if HAVE_TESTING
 noinst_PROGRAMS = $(noinst_mysql_progs) \
   perf-regex \
-  gnunet-regex-profiler \
-  gnunet-daemon-regexprofiler
+  gnunet-regex-profiler
+endif
 
 perf_regex_SOURCES = \
   perf-regex.c
@@ -164,7 +166,8 @@ check_PROGRAMS = \
   test_regex_eval_api \
   test_regex_iterate_api \
   test_regex_proofs \
-  test_regex_graph_api
+  test_regex_graph_api \
+  test_regex_api
 
 if ENABLE_TEST_RUN
  TESTS = $(check_PROGRAMS)
@@ -179,12 +182,19 @@ test_regex_eval_api_LDADD = -lm \
   $(top_builddir)/src/regex/libgnunetregexblock.la \
   $(top_builddir)/src/util/libgnunetutil.la
 
+test_regex_api_SOURCES = \
+  test_regex_api.c
+test_regex_api_LDADD = -lm \
+  $(top_builddir)/src/regex/libgnunetregex.la \
+  $(top_builddir)/src/testing/libgnunettesting.la \
+  $(top_builddir)/src/util/libgnunetutil.la
+
 test_regex_iterate_api_SOURCES = \
   test_regex_iterate_api.c
 test_regex_iterate_api_LDADD = -lm \
   $(top_builddir)/src/regex/libgnunetregex_internal.a \
-  $(top_builddir)/src/dht/libgnunetdht.la \
   $(top_builddir)/src/regex/libgnunetregexblock.la \
+  $(top_builddir)/src/dht/libgnunetdht.la \
   $(top_builddir)/src/util/libgnunetutil.la
 
 test_regex_proofs_SOURCES = \
@@ -207,4 +217,5 @@ test_regex_graph_api_LDADD = -lm \
 
 
 EXTRA_DIST = \
-  regex_simulation_profiler_test.conf
+  regex_simulation_profiler_test.conf \
+  test_regex_api_data.conf