1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
16 plugindir = $(libdir)/gnunet
22 gnunet-service-regex \
23 gnunet-daemon-regexprofiler
26 gnunet_service_regex_SOURCES = \
27 gnunet-service-regex.c
28 gnunet_service_regex_LDADD = -lm \
29 libgnunetregex_internal.a \
30 libgnunetregexblock.la \
31 $(top_builddir)/src/dht/libgnunetdht.la \
32 $(top_builddir)/src/statistics/libgnunetstatistics.la \
33 $(top_builddir)/src/util/libgnunetutil.la \
37 libgnunetregex_internal.a \
41 libgnunetregexblock.la \
45 libgnunetregexblock_la_SOURCES = \
46 regex_block_lib.c regex_block_lib.h
47 libgnunetregexblock_la_LIBADD = \
48 $(top_builddir)/src/util/libgnunetutil.la \
51 libgnunetregexblock_la_LDFLAGS = \
52 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 libgnunetregex_internal_a_SOURCES = \
57 regex_internal_lib.h \
58 regex_internal.h regex_internal.c \
60 libgnunetregex_internal_a_DEPENDENCIES = \
61 libgnunetregexblock.la
64 libgnunetregex_la_SOURCES = \
65 regex_api_announce.c \
68 libgnunetregex_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la
70 libgnunetregex_la_LDFLAGS = \
75 plugin_LTLIBRARIES = \
76 libgnunet_plugin_block_regex.la
78 libgnunet_plugin_block_regex_la_SOURCES = \
80 libgnunet_plugin_block_regex_la_LIBADD = \
81 libgnunetregexblock.la \
82 $(top_builddir)/src/block/libgnunetblock.la \
83 $(top_builddir)/src/block/libgnunetblockgroup.la \
84 $(top_builddir)/src/util/libgnunetutil.la
85 libgnunet_plugin_block_regex_la_LDFLAGS = \
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 libgnunetregex_internal.a \
97 $(top_builddir)/src/dht/libgnunetdht.la \
98 $(top_builddir)/src/my/libgnunetmy.la \
99 $(top_builddir)/src/mysql/libgnunetmysql.la
102 libgnunetregextest_a_SOURCES = \
103 regex_test_lib.c regex_test_lib.h \
106 libgnunetregextest_a_LIBADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 libgnunetregex_internal.a
111 noinst_PROGRAMS = $(noinst_mysql_progs) \
113 gnunet-regex-profiler
116 perf_regex_SOURCES = \
118 perf_regex_LDADD = -lm \
119 libgnunetregex_internal.a \
120 $(top_builddir)/src/dht/libgnunetdht.la \
121 libgnunetregexblock.la \
122 libgnunetregextest.a \
123 $(top_builddir)/src/util/libgnunetutil.la
125 gnunet_regex_profiler_SOURCES = \
126 gnunet-regex-profiler.c
127 gnunet_regex_profiler_LDADD = -lm \
128 $(top_builddir)/src/arm/libgnunetarm.la \
129 $(top_builddir)/src/testbed/libgnunettestbed.la \
130 libgnunetregex_internal.a \
131 $(top_builddir)/src/dht/libgnunetdht.la \
132 libgnunetregexblock.la \
133 libgnunetregextest.a \
134 $(top_builddir)/src/statistics/libgnunetstatistics.la \
135 $(top_builddir)/src/util/libgnunetutil.la
137 gnunet_daemon_regexprofiler_SOURCES = \
138 gnunet-daemon-regexprofiler.c
139 gnunet_daemon_regexprofiler_LDADD = -lm \
140 libgnunetregex_internal.a \
141 $(top_builddir)/src/dht/libgnunetdht.la \
142 libgnunetregexblock.la \
143 libgnunetregextest.a \
144 $(top_builddir)/src/statistics/libgnunetstatistics.la \
145 $(top_builddir)/src/util/libgnunetutil.la
148 test_regex_integration \
149 test_regex_eval_api \
150 test_regex_iterate_api \
152 test_regex_graph_api \
156 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
157 TESTS = $(check_PROGRAMS)
160 test_regex_eval_api_SOURCES = \
161 test_regex_eval_api.c
162 test_regex_eval_api_LDADD = -lm \
163 libgnunetregex_internal.a \
164 $(top_builddir)/src/dht/libgnunetdht.la \
165 libgnunetregextest.a \
166 libgnunetregexblock.la \
167 $(top_builddir)/src/util/libgnunetutil.la
169 test_regex_integration_SOURCES = \
170 test_regex_integration.c
171 test_regex_integration_LDADD = -lm \
173 $(top_builddir)/src/testing/libgnunettesting.la \
174 $(top_builddir)/src/tun/libgnunettun.la \
175 $(top_builddir)/src/util/libgnunetutil.la
177 test_regex_api_SOURCES = \
179 test_regex_api_LDADD = -lm \
181 $(top_builddir)/src/testing/libgnunettesting.la \
182 $(top_builddir)/src/util/libgnunetutil.la
184 test_regex_iterate_api_SOURCES = \
185 test_regex_iterate_api.c
186 test_regex_iterate_api_LDADD = -lm \
187 libgnunetregex_internal.a \
188 libgnunetregexblock.la \
189 $(top_builddir)/src/dht/libgnunetdht.la \
190 $(top_builddir)/src/util/libgnunetutil.la
192 test_regex_proofs_SOURCES = \
194 test_regex_proofs_LDADD = -lm \
195 libgnunetregex_internal.a \
196 $(top_builddir)/src/dht/libgnunetdht.la \
197 libgnunetregextest.a \
198 libgnunetregexblock.la \
199 $(top_builddir)/src/util/libgnunetutil.la
201 test_regex_graph_api_SOURCES = \
202 test_regex_graph_api.c
203 test_regex_graph_api_LDADD = -lm \
204 libgnunetregex_internal.a \
205 $(top_builddir)/src/dht/libgnunetdht.la \
206 libgnunetregextest.a \
207 libgnunetregexblock.la \
208 $(top_builddir)/src/util/libgnunetutil.la
212 regex_simulation_profiler_test.conf \
213 test_regex_api_data.conf