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 $(top_builddir)/src/regex/libgnunetregex_internal.a \
29 $(top_builddir)/src/regex/libgnunetregexblock.la \
30 $(top_builddir)/src/dht/libgnunetdht.la \
31 $(top_builddir)/src/statistics/libgnunetstatistics.la \
32 $(top_builddir)/src/util/libgnunetutil.la \
34 gnunet_service_regex_DEPENDENCIES = \
35 libgnunetregex_internal.a
38 libgnunetregex_internal.a \
42 libgnunetregexblock.la \
46 libgnunetregexblock_la_SOURCES = \
47 regex_block_lib.c regex_block_lib.h
48 libgnunetregexblock_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunetregexblock_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
57 libgnunetregex_internal_a_SOURCES = \
58 regex_internal_lib.h \
59 regex_internal.h regex_internal.c \
61 libgnunetregex_internal_a_DEPENDENCIES = \
62 libgnunetregexblock.la
65 libgnunetregex_la_SOURCES = \
66 regex_api.c regex_ipc.h
67 libgnunetregex_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la
69 libgnunetregex_la_LDFLAGS = \
74 plugin_LTLIBRARIES = \
75 libgnunet_plugin_block_regex.la
77 libgnunet_plugin_block_regex_la_SOURCES = \
79 libgnunet_plugin_block_regex_la_LIBADD = \
80 $(top_builddir)/src/regex/libgnunetregexblock.la \
81 $(top_builddir)/src/block/libgnunetblock.la \
82 $(top_builddir)/src/util/libgnunetutil.la
83 libgnunet_plugin_block_regex_la_LDFLAGS = \
85 libgnunet_plugin_block_regex_la_DEPENDENCIES = \
86 libgnunetregexblock.la
89 noinst_mysql_progs = \
90 gnunet-regex-simulation-profiler
92 gnunet_regex_simulation_profiler_SOURCES = \
93 gnunet-regex-simulation-profiler.c
94 gnunet_regex_simulation_profiler_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/regex/libgnunetregex_internal.a \
97 $(top_builddir)/src/dht/libgnunetdht.la \
98 $(top_builddir)/src/mysql/libgnunetmysql.la
99 gnunet_regex_simulation_profiler_DEPENDENCIES = \
100 libgnunetregex_internal.a
103 libgnunetregextest_a_SOURCES = \
104 regex_test_lib.c regex_test_lib.h \
107 libgnunetregextest_a_LIBADD = \
108 $(top_builddir)/src/util/libgnunetutil.la \
109 $(top_builddir)/src/regex/libgnunetregex_internal.a
110 libgnunetregextest_a_DEPENDENCIES = \
111 libgnunetregex_internal.a
114 noinst_PROGRAMS = $(noinst_mysql_progs) \
116 gnunet-regex-profiler
119 perf_regex_SOURCES = \
121 perf_regex_LDADD = -lm \
122 $(top_builddir)/src/regex/libgnunetregex_internal.a \
123 $(top_builddir)/src/dht/libgnunetdht.la \
124 $(top_builddir)/src/regex/libgnunetregexblock.la \
125 $(top_builddir)/src/regex/libgnunetregextest.a \
126 $(top_builddir)/src/util/libgnunetutil.la
127 perf_regex_DEPENDENCIES = \
128 libgnunetregex_internal.a \
131 gnunet_regex_profiler_SOURCES = \
132 gnunet-regex-profiler.c
133 gnunet_regex_profiler_LDADD = -lm \
134 $(top_builddir)/src/arm/libgnunetarm.la \
135 $(top_builddir)/src/testbed/libgnunettestbed.la \
136 $(top_builddir)/src/regex/libgnunetregex_internal.a \
137 $(top_builddir)/src/dht/libgnunetdht.la \
138 $(top_builddir)/src/regex/libgnunetregexblock.la \
139 $(top_builddir)/src/regex/libgnunetregextest.a \
140 $(top_builddir)/src/statistics/libgnunetstatistics.la \
141 $(top_builddir)/src/util/libgnunetutil.la
142 gnunet_regex_profiler_DEPENDENCIES = \
143 $(top_builddir)/src/arm/libgnunetarm.la \
144 $(top_builddir)/src/dht/libgnunetdht.la \
145 libgnunetregex_internal.a \
149 gnunet_daemon_regexprofiler_SOURCES = \
150 gnunet-daemon-regexprofiler.c
151 gnunet_daemon_regexprofiler_LDADD = -lm \
152 $(top_builddir)/src/regex/libgnunetregex_internal.a \
153 $(top_builddir)/src/dht/libgnunetdht.la \
154 $(top_builddir)/src/regex/libgnunetregexblock.la \
155 $(top_builddir)/src/regex/libgnunetregextest.a \
156 $(top_builddir)/src/statistics/libgnunetstatistics.la \
157 $(top_builddir)/src/util/libgnunetutil.la
158 gnunet_daemon_regexprofiler_DEPENDENCIES = \
159 $(top_builddir)/src/dht/libgnunetdht.la \
160 libgnunetregextest.a \
161 libgnunetregex_internal.a
166 test_regex_eval_api \
167 test_regex_iterate_api \
169 test_regex_graph_api \
173 TESTS = $(check_PROGRAMS)
176 test_regex_eval_api_SOURCES = \
177 test_regex_eval_api.c
178 test_regex_eval_api_LDADD = -lm \
179 $(top_builddir)/src/regex/libgnunetregex_internal.a \
180 $(top_builddir)/src/dht/libgnunetdht.la \
181 $(top_builddir)/src/regex/libgnunetregextest.a \
182 $(top_builddir)/src/regex/libgnunetregexblock.la \
183 $(top_builddir)/src/util/libgnunetutil.la
185 test_regex_api_SOURCES = \
187 test_regex_api_LDADD = -lm \
188 $(top_builddir)/src/regex/libgnunetregex.la \
189 $(top_builddir)/src/testing/libgnunettesting.la \
190 $(top_builddir)/src/util/libgnunetutil.la
192 test_regex_iterate_api_SOURCES = \
193 test_regex_iterate_api.c
194 test_regex_iterate_api_LDADD = -lm \
195 $(top_builddir)/src/regex/libgnunetregex_internal.a \
196 $(top_builddir)/src/regex/libgnunetregexblock.la \
197 $(top_builddir)/src/dht/libgnunetdht.la \
198 $(top_builddir)/src/util/libgnunetutil.la
200 test_regex_proofs_SOURCES = \
202 test_regex_proofs_LDADD = -lm \
203 $(top_builddir)/src/regex/libgnunetregex_internal.a \
204 $(top_builddir)/src/dht/libgnunetdht.la \
205 $(top_builddir)/src/regex/libgnunetregextest.a \
206 $(top_builddir)/src/regex/libgnunetregexblock.la \
207 $(top_builddir)/src/util/libgnunetutil.la
209 test_regex_graph_api_SOURCES = \
210 test_regex_graph_api.c
211 test_regex_graph_api_LDADD = -lm \
212 $(top_builddir)/src/regex/libgnunetregex_internal.a \
213 $(top_builddir)/src/dht/libgnunetdht.la \
214 $(top_builddir)/src/regex/libgnunetregextest.a \
215 $(top_builddir)/src/regex/libgnunetregexblock.la \
216 $(top_builddir)/src/util/libgnunetutil.la
220 regex_simulation_profiler_test.conf \
221 test_regex_api_data.conf