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/util/libgnunetutil.la
84 libgnunet_plugin_block_regex_la_LDFLAGS = \
88 noinst_mysql_progs = \
89 gnunet-regex-simulation-profiler
91 gnunet_regex_simulation_profiler_SOURCES = \
92 gnunet-regex-simulation-profiler.c
93 gnunet_regex_simulation_profiler_LDADD = \
94 $(top_builddir)/src/util/libgnunetutil.la \
95 libgnunetregex_internal.a \
96 $(top_builddir)/src/dht/libgnunetdht.la \
97 $(top_builddir)/src/my/libgnunetmy.la \
98 $(top_builddir)/src/mysql/libgnunetmysql.la
101 libgnunetregextest_a_SOURCES = \
102 regex_test_lib.c regex_test_lib.h \
105 libgnunetregextest_a_LIBADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 libgnunetregex_internal.a
110 noinst_PROGRAMS = $(noinst_mysql_progs) \
112 gnunet-regex-profiler
115 perf_regex_SOURCES = \
117 perf_regex_LDADD = -lm \
118 libgnunetregex_internal.a \
119 $(top_builddir)/src/dht/libgnunetdht.la \
120 libgnunetregexblock.la \
121 libgnunetregextest.a \
122 $(top_builddir)/src/util/libgnunetutil.la
124 gnunet_regex_profiler_SOURCES = \
125 gnunet-regex-profiler.c
126 gnunet_regex_profiler_LDADD = -lm \
127 $(top_builddir)/src/arm/libgnunetarm.la \
128 $(top_builddir)/src/testbed/libgnunettestbed.la \
129 libgnunetregex_internal.a \
130 $(top_builddir)/src/dht/libgnunetdht.la \
131 libgnunetregexblock.la \
132 libgnunetregextest.a \
133 $(top_builddir)/src/statistics/libgnunetstatistics.la \
134 $(top_builddir)/src/util/libgnunetutil.la
136 gnunet_daemon_regexprofiler_SOURCES = \
137 gnunet-daemon-regexprofiler.c
138 gnunet_daemon_regexprofiler_LDADD = -lm \
139 libgnunetregex_internal.a \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 libgnunetregexblock.la \
142 libgnunetregextest.a \
143 $(top_builddir)/src/statistics/libgnunetstatistics.la \
144 $(top_builddir)/src/util/libgnunetutil.la
147 test_regex_integration \
148 test_regex_eval_api \
149 test_regex_iterate_api \
151 test_regex_graph_api \
155 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
156 TESTS = $(check_PROGRAMS)
159 test_regex_eval_api_SOURCES = \
160 test_regex_eval_api.c
161 test_regex_eval_api_LDADD = -lm \
162 libgnunetregex_internal.a \
163 $(top_builddir)/src/dht/libgnunetdht.la \
164 libgnunetregextest.a \
165 libgnunetregexblock.la \
166 $(top_builddir)/src/util/libgnunetutil.la
168 test_regex_integration_SOURCES = \
169 test_regex_integration.c
170 test_regex_integration_LDADD = -lm \
172 $(top_builddir)/src/testing/libgnunettesting.la \
173 $(top_builddir)/src/tun/libgnunettun.la \
174 $(top_builddir)/src/util/libgnunetutil.la
176 test_regex_api_SOURCES = \
178 test_regex_api_LDADD = -lm \
180 $(top_builddir)/src/testing/libgnunettesting.la \
181 $(top_builddir)/src/util/libgnunetutil.la
183 test_regex_iterate_api_SOURCES = \
184 test_regex_iterate_api.c
185 test_regex_iterate_api_LDADD = -lm \
186 libgnunetregex_internal.a \
187 libgnunetregexblock.la \
188 $(top_builddir)/src/dht/libgnunetdht.la \
189 $(top_builddir)/src/util/libgnunetutil.la
191 test_regex_proofs_SOURCES = \
193 test_regex_proofs_LDADD = -lm \
194 libgnunetregex_internal.a \
195 $(top_builddir)/src/dht/libgnunetdht.la \
196 libgnunetregextest.a \
197 libgnunetregexblock.la \
198 $(top_builddir)/src/util/libgnunetutil.la
200 test_regex_graph_api_SOURCES = \
201 test_regex_graph_api.c
202 test_regex_graph_api_LDADD = -lm \
203 libgnunetregex_internal.a \
204 $(top_builddir)/src/dht/libgnunetdht.la \
205 libgnunetregextest.a \
206 libgnunetregexblock.la \
207 $(top_builddir)/src/util/libgnunetutil.la
211 regex_simulation_profiler_test.conf \
212 test_regex_api_data.conf