1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
8 pkgcfgdir= $(pkgdatadir)/config.d/
10 libexecdir= $(pkglibdir)/libexec/
12 plugindir = $(libdir)/gnunet
18 gnunet-service-regex \
19 gnunet-daemon-regexprofiler
22 gnunet_service_regex_SOURCES = \
23 gnunet-service-regex.c
24 gnunet_service_regex_LDADD = -lm \
25 libgnunetregex_internal.a \
26 libgnunetregexblock.la \
27 $(top_builddir)/src/dht/libgnunetdht.la \
28 $(top_builddir)/src/statistics/libgnunetstatistics.la \
29 $(top_builddir)/src/util/libgnunetutil.la \
33 libgnunetregex_internal.a \
37 libgnunetregexblock.la \
41 libgnunetregexblock_la_SOURCES = \
42 regex_block_lib.c regex_block_lib.h
43 libgnunetregexblock_la_LIBADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \
47 libgnunetregexblock_la_LDFLAGS = \
48 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
52 libgnunetregex_internal_a_SOURCES = \
53 regex_internal_lib.h \
54 regex_internal.h regex_internal.c \
56 libgnunetregex_internal_a_DEPENDENCIES = \
57 libgnunetregexblock.la
60 libgnunetregex_la_SOURCES = \
61 regex_api_announce.c \
64 libgnunetregex_la_LIBADD = \
65 $(top_builddir)/src/util/libgnunetutil.la
66 libgnunetregex_la_LDFLAGS = \
71 plugin_LTLIBRARIES = \
72 libgnunet_plugin_block_regex.la
74 libgnunet_plugin_block_regex_la_SOURCES = \
76 libgnunet_plugin_block_regex_la_LIBADD = \
77 libgnunetregexblock.la \
78 $(top_builddir)/src/block/libgnunetblock.la \
79 $(top_builddir)/src/block/libgnunetblockgroup.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/my/libgnunetmy.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;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
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/util/libgnunetutil.la
172 test_regex_api_SOURCES = \
174 test_regex_api_LDADD = -lm \
176 $(top_builddir)/src/testing/libgnunettesting.la \
177 $(top_builddir)/src/util/libgnunetutil.la
179 test_regex_iterate_api_SOURCES = \
180 test_regex_iterate_api.c
181 test_regex_iterate_api_LDADD = -lm \
182 libgnunetregex_internal.a \
183 libgnunetregexblock.la \
184 $(top_builddir)/src/dht/libgnunetdht.la \
185 $(top_builddir)/src/util/libgnunetutil.la
187 test_regex_proofs_SOURCES = \
189 test_regex_proofs_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
196 test_regex_graph_api_SOURCES = \
197 test_regex_graph_api.c
198 test_regex_graph_api_LDADD = -lm \
199 libgnunetregex_internal.a \
200 $(top_builddir)/src/dht/libgnunetdht.la \
201 libgnunetregextest.a \
202 libgnunetregexblock.la \
203 $(top_builddir)/src/util/libgnunetutil.la
207 regex_simulation_profiler_test.conf \
208 test_regex_api_data.conf