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.c regex_ipc.h
66 libgnunetregex_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la
68 libgnunetregex_la_LDFLAGS = \
73 plugin_LTLIBRARIES = \
74 libgnunet_plugin_block_regex.la
76 libgnunet_plugin_block_regex_la_SOURCES = \
78 libgnunet_plugin_block_regex_la_LIBADD = \
79 libgnunetregexblock.la \
80 $(top_builddir)/src/block/libgnunetblock.la \
81 $(top_builddir)/src/util/libgnunetutil.la
82 libgnunet_plugin_block_regex_la_LDFLAGS = \
86 noinst_mysql_progs = \
87 gnunet-regex-simulation-profiler
89 gnunet_regex_simulation_profiler_SOURCES = \
90 gnunet-regex-simulation-profiler.c
91 gnunet_regex_simulation_profiler_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 libgnunetregex_internal.a \
94 $(top_builddir)/src/dht/libgnunetdht.la \
95 $(top_builddir)/src/mysql/libgnunetmysql.la
98 libgnunetregextest_a_SOURCES = \
99 regex_test_lib.c regex_test_lib.h \
102 libgnunetregextest_a_LIBADD = \
103 $(top_builddir)/src/util/libgnunetutil.la \
104 libgnunetregex_internal.a
107 noinst_PROGRAMS = $(noinst_mysql_progs) \
109 gnunet-regex-profiler
112 perf_regex_SOURCES = \
114 perf_regex_LDADD = -lm \
115 libgnunetregex_internal.a \
116 $(top_builddir)/src/dht/libgnunetdht.la \
117 libgnunetregexblock.la \
118 libgnunetregextest.a \
119 $(top_builddir)/src/util/libgnunetutil.la
121 gnunet_regex_profiler_SOURCES = \
122 gnunet-regex-profiler.c
123 gnunet_regex_profiler_LDADD = -lm \
124 $(top_builddir)/src/arm/libgnunetarm.la \
125 $(top_builddir)/src/testbed/libgnunettestbed.la \
126 libgnunetregex_internal.a \
127 $(top_builddir)/src/dht/libgnunetdht.la \
128 libgnunetregexblock.la \
129 libgnunetregextest.a \
130 $(top_builddir)/src/statistics/libgnunetstatistics.la \
131 $(top_builddir)/src/util/libgnunetutil.la
133 gnunet_daemon_regexprofiler_SOURCES = \
134 gnunet-daemon-regexprofiler.c
135 gnunet_daemon_regexprofiler_LDADD = -lm \
136 libgnunetregex_internal.a \
137 $(top_builddir)/src/dht/libgnunetdht.la \
138 libgnunetregexblock.la \
139 libgnunetregextest.a \
140 $(top_builddir)/src/statistics/libgnunetstatistics.la \
141 $(top_builddir)/src/util/libgnunetutil.la
144 test_regex_integration \
145 test_regex_eval_api \
146 test_regex_iterate_api \
148 test_regex_graph_api \
152 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
153 TESTS = $(check_PROGRAMS)
156 test_regex_eval_api_SOURCES = \
157 test_regex_eval_api.c
158 test_regex_eval_api_LDADD = -lm \
159 libgnunetregex_internal.a \
160 $(top_builddir)/src/dht/libgnunetdht.la \
161 libgnunetregextest.a \
162 libgnunetregexblock.la \
163 $(top_builddir)/src/util/libgnunetutil.la
165 test_regex_integration_SOURCES = \
166 test_regex_integration.c
167 test_regex_integration_LDADD = -lm \
169 $(top_builddir)/src/testing/libgnunettesting.la \
170 $(top_builddir)/src/tun/libgnunettun.la \
171 $(top_builddir)/src/util/libgnunetutil.la
173 test_regex_api_SOURCES = \
175 test_regex_api_LDADD = -lm \
177 $(top_builddir)/src/testing/libgnunettesting.la \
178 $(top_builddir)/src/util/libgnunetutil.la
180 test_regex_iterate_api_SOURCES = \
181 test_regex_iterate_api.c
182 test_regex_iterate_api_LDADD = -lm \
183 libgnunetregex_internal.a \
184 libgnunetregexblock.la \
185 $(top_builddir)/src/dht/libgnunetdht.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_regex_proofs_SOURCES = \
190 test_regex_proofs_LDADD = -lm \
191 libgnunetregex_internal.a \
192 $(top_builddir)/src/dht/libgnunetdht.la \
193 libgnunetregextest.a \
194 libgnunetregexblock.la \
195 $(top_builddir)/src/util/libgnunetutil.la
197 test_regex_graph_api_SOURCES = \
198 test_regex_graph_api.c
199 test_regex_graph_api_LDADD = -lm \
200 libgnunetregex_internal.a \
201 $(top_builddir)/src/dht/libgnunetdht.la \
202 libgnunetregextest.a \
203 libgnunetregexblock.la \
204 $(top_builddir)/src/util/libgnunetutil.la
208 regex_simulation_profiler_test.conf \
209 test_regex_api_data.conf