-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
regex.conf
libexec_PROGRAMS = \
- gnunet-service-regex
+ gnunet-service-regex \
+ gnunet-daemon-regexprofiler
+
gnunet_service_regex_SOURCES = \
gnunet-service-regex.c
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
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)
$(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 \
EXTRA_DIST = \
- regex_simulation_profiler_test.conf
+ regex_simulation_profiler_test.conf \
+ test_regex_api_data.conf