1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
11 pkgcfgdir= $(pkgdatadir)/config.d/
13 libexecdir= $(pkglibdir)/libexec/
15 plugindir = $(libdir)/gnunet
21 gnunet-service-regex \
22 gnunet-daemon-regexprofiler
25 gnunet_service_regex_SOURCES = \
26 gnunet-service-regex.c
27 gnunet_service_regex_LDADD = -lm \
28 libgnunetregex_internal.a \
29 libgnunetregexblock.la \
30 $(top_builddir)/src/dht/libgnunetdht.la \
31 $(top_builddir)/src/statistics/libgnunetstatistics.la \
32 $(top_builddir)/src/util/libgnunetutil.la \
36 libgnunetregex_internal.a \
40 libgnunetregexblock.la \
44 libgnunetregexblock_la_SOURCES = \
45 regex_block_lib.c regex_block_lib.h
46 libgnunetregexblock_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
50 libgnunetregexblock_la_LDFLAGS = \
51 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
55 libgnunetregex_internal_a_SOURCES = \
56 regex_internal_lib.h \
57 regex_internal.h regex_internal.c \
59 libgnunetregex_internal_a_DEPENDENCIES = \
60 libgnunetregexblock.la
63 libgnunetregex_la_SOURCES = \
64 regex_api.c regex_ipc.h
65 libgnunetregex_la_LIBADD = \
66 $(top_builddir)/src/util/libgnunetutil.la
67 libgnunetregex_la_LDFLAGS = \
72 plugin_LTLIBRARIES = \
73 libgnunet_plugin_block_regex.la
75 libgnunet_plugin_block_regex_la_SOURCES = \
77 libgnunet_plugin_block_regex_la_LIBADD = \
78 libgnunetregexblock.la \
79 $(top_builddir)/src/block/libgnunetblock.la \
80 $(top_builddir)/src/util/libgnunetutil.la
81 libgnunet_plugin_block_regex_la_LDFLAGS = \
85 noinst_mysql_progs = \
86 gnunet-regex-simulation-profiler
88 gnunet_regex_simulation_profiler_SOURCES = \
89 gnunet-regex-simulation-profiler.c
90 gnunet_regex_simulation_profiler_LDADD = \
91 $(top_builddir)/src/util/libgnunetutil.la \
92 libgnunetregex_internal.a \
93 $(top_builddir)/src/dht/libgnunetdht.la \
94 $(top_builddir)/src/mysql/libgnunetmysql.la
97 libgnunetregextest_a_SOURCES = \
98 regex_test_lib.c regex_test_lib.h \
101 libgnunetregextest_a_LIBADD = \
102 $(top_builddir)/src/util/libgnunetutil.la \
103 libgnunetregex_internal.a
106 noinst_PROGRAMS = $(noinst_mysql_progs) \
108 gnunet-regex-profiler
111 perf_regex_SOURCES = \
113 perf_regex_LDADD = -lm \
114 libgnunetregex_internal.a \
115 $(top_builddir)/src/dht/libgnunetdht.la \
116 libgnunetregexblock.la \
117 libgnunetregextest.a \
118 $(top_builddir)/src/util/libgnunetutil.la
120 gnunet_regex_profiler_SOURCES = \
121 gnunet-regex-profiler.c
122 gnunet_regex_profiler_LDADD = -lm \
123 $(top_builddir)/src/arm/libgnunetarm.la \
124 $(top_builddir)/src/testbed/libgnunettestbed.la \
125 libgnunetregex_internal.a \
126 $(top_builddir)/src/dht/libgnunetdht.la \
127 libgnunetregexblock.la \
128 libgnunetregextest.a \
129 $(top_builddir)/src/statistics/libgnunetstatistics.la \
130 $(top_builddir)/src/util/libgnunetutil.la
132 gnunet_daemon_regexprofiler_SOURCES = \
133 gnunet-daemon-regexprofiler.c
134 gnunet_daemon_regexprofiler_LDADD = -lm \
135 libgnunetregex_internal.a \
136 $(top_builddir)/src/dht/libgnunetdht.la \
137 libgnunetregexblock.la \
138 libgnunetregextest.a \
139 $(top_builddir)/src/statistics/libgnunetstatistics.la \
140 $(top_builddir)/src/util/libgnunetutil.la
143 test_regex_eval_api \
144 test_regex_iterate_api \
146 test_regex_graph_api \
150 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
151 TESTS = $(check_PROGRAMS)
154 test_regex_eval_api_SOURCES = \
155 test_regex_eval_api.c
156 test_regex_eval_api_LDADD = -lm \
157 libgnunetregex_internal.a \
158 $(top_builddir)/src/dht/libgnunetdht.la \
159 libgnunetregextest.a \
160 libgnunetregexblock.la \
161 $(top_builddir)/src/util/libgnunetutil.la
163 test_regex_api_SOURCES = \
165 test_regex_api_LDADD = -lm \
167 $(top_builddir)/src/testing/libgnunettesting.la \
168 $(top_builddir)/src/util/libgnunetutil.la
170 test_regex_iterate_api_SOURCES = \
171 test_regex_iterate_api.c
172 test_regex_iterate_api_LDADD = -lm \
173 libgnunetregex_internal.a \
174 libgnunetregexblock.la \
175 $(top_builddir)/src/dht/libgnunetdht.la \
176 $(top_builddir)/src/util/libgnunetutil.la
178 test_regex_proofs_SOURCES = \
180 test_regex_proofs_LDADD = -lm \
181 libgnunetregex_internal.a \
182 $(top_builddir)/src/dht/libgnunetdht.la \
183 libgnunetregextest.a \
184 libgnunetregexblock.la \
185 $(top_builddir)/src/util/libgnunetutil.la
187 test_regex_graph_api_SOURCES = \
188 test_regex_graph_api.c
189 test_regex_graph_api_LDADD = -lm \
190 libgnunetregex_internal.a \
191 $(top_builddir)/src/dht/libgnunetdht.la \
192 libgnunetregextest.a \
193 libgnunetregexblock.la \
194 $(top_builddir)/src/util/libgnunetutil.la
198 regex_simulation_profiler_test.conf \
199 test_regex_api_data.conf