1 INCLUDES = -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
23 gnunet_service_regex_SOURCES = \
24 gnunet-service-regex.c
25 gnunet_service_regex_LDADD = \
26 $(top_builddir)/src/regex/libgnunetregex.la \
27 $(top_builddir)/src/dht/libgnunetdht.la \
28 $(top_builddir)/src/statistics/libgnunetstatistics.la \
29 $(top_builddir)/src/util/libgnunetutil.la \
31 gnunet_service_regex_DEPENDENCIES = \
33 # todo: link files from libgnunetregex statically into gnunet_service_regex,
34 # rename API prefix to avoid collision with 'libgnunetregexnew'...
38 libgnunetregexblock.la \
43 libgnunetregexblock_la_SOURCES = \
44 regex_block_lib.c regex_block_lib.h
45 libgnunetregexblock_la_LIBADD = \
46 $(top_builddir)/src/util/libgnunetutil.la \
49 libgnunetregexblock_la_LDFLAGS = \
50 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
53 libgnunetregex_la_SOURCES = \
54 regex_internal.h regex.c \
55 regex_graph.c regex_random.c \
57 libgnunetregex_la_LIBADD = -lm \
58 $(top_builddir)/src/util/libgnunetutil.la \
59 $(top_builddir)/src/dht/libgnunetdht.la \
60 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 $(top_builddir)/src/regex/libgnunetregexblock.la
62 libgnunetregex_la_DEPENDENCIES = \
63 libgnunetregexblock.la
64 libgnunetregex_la_LDFLAGS = \
69 libgnunetregexnew_la_SOURCES = \
70 regex_api.c regex_ipc.h
71 libgnunetregexnew_la_LIBADD = \
72 $(top_builddir)/src/util/libgnunetutil.la
73 libgnunetregexnew_la_LDFLAGS = \
78 plugindir = $(libdir)/gnunet
80 plugin_LTLIBRARIES = \
81 libgnunet_plugin_block_regex.la
83 libgnunet_plugin_block_regex_la_SOURCES = \
85 libgnunet_plugin_block_regex_la_LIBADD = \
86 $(top_builddir)/src/regex/libgnunetregexblock.la \
87 $(top_builddir)/src/block/libgnunetblock.la \
88 $(top_builddir)/src/util/libgnunetutil.la
89 libgnunet_plugin_block_regex_la_LDFLAGS = \
91 libgnunet_plugin_block_regex_la_DEPENDENCIES = \
92 libgnunetregexblock.la
95 noinst_mysql_progs = \
96 gnunet-regex-simulation-profiler
98 gnunet_regex_simulation_profiler_SOURCES = \
99 gnunet-regex-simulation-profiler.c
100 gnunet_regex_simulation_profiler_LDADD = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/regex/libgnunetregex.la \
103 $(top_builddir)/src/mysql/libgnunetmysql.la
104 gnunet_regex_simulation_profiler_DEPENDENCIES = \
108 noinst_LTLIBRARIES = libgnunetregextest.la
110 libgnunetregextest_la_SOURCES = \
111 regex_test_lib.c regex_test_lib.h
112 libgnunetregextest_la_LIBADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/regex/libgnunetregex.la
115 libgnunetregextest_la_DEPENDENCIES = \
119 noinst_PROGRAMS = $(noinst_mysql_progs) \
121 gnunet-regex-profiler \
122 gnunet-daemon-regexprofiler
124 perf_regex_SOURCES = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/regex/libgnunetregex.la \
129 $(top_builddir)/src/regex/libgnunetregextest.la
130 perf_regex_DEPENDENCIES = \
132 libgnunetregextest.la
134 gnunet_regex_profiler_SOURCES = \
135 gnunet-regex-profiler.c
136 gnunet_regex_profiler_LDADD = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/arm/libgnunetarm.la \
139 $(top_builddir)/src/dht/libgnunetdht.la \
140 $(top_builddir)/src/testbed/libgnunettestbed.la \
141 $(top_builddir)/src/regex/libgnunetregex.la \
142 $(top_builddir)/src/regex/libgnunetregextest.la \
143 $(top_builddir)/src/statistics/libgnunetstatistics.la
144 gnunet_regex_profiler_DEPENDENCIES = \
145 $(top_builddir)/src/arm/libgnunetarm.la \
146 $(top_builddir)/src/dht/libgnunetdht.la \
148 libgnunetregextest.la
151 gnunet_daemon_regexprofiler_SOURCES = \
152 gnunet-daemon-regexprofiler.c
153 gnunet_daemon_regexprofiler_LDADD = \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/dht/libgnunetdht.la \
156 $(top_builddir)/src/regex/libgnunetregex.la \
157 $(top_builddir)/src/regex/libgnunetregextest.la \
158 $(top_builddir)/src/statistics/libgnunetstatistics.la
159 gnunet_daemon_regexprofiler_DEPENDENCIES = \
160 $(top_builddir)/src/dht/libgnunetdht.la \
161 libgnunetregextest.la \
167 test_regex_eval_api \
168 test_regex_iterate_api \
170 test_regex_graph_api \
174 TESTS = $(check_PROGRAMS)
177 test_regex_eval_api_SOURCES = \
178 test_regex_eval_api.c
179 test_regex_eval_api_LDADD = \
180 $(top_builddir)/src/regex/libgnunetregex.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 = \
186 $(top_builddir)/src/regex/libgnunetregex.la \
187 $(top_builddir)/src/util/libgnunetutil.la
189 test_regex_proofs_SOURCES = \
191 test_regex_proofs_LDADD = \
192 $(top_builddir)/src/regex/libgnunetregex.la \
193 $(top_builddir)/src/util/libgnunetutil.la
195 test_regex_graph_api_SOURCES = \
196 test_regex_graph_api.c
197 test_regex_graph_api_LDADD = \
198 $(top_builddir)/src/regex/libgnunetregex.la \
199 $(top_builddir)/src/util/libgnunetutil.la
201 test_regex_iptoregex_SOURCES = \
202 test_regex_iptoregex.c
203 test_regex_iptoregex_LDADD = \
204 $(top_builddir)/src/util/libgnunetutil.la \
205 $(top_builddir)/src/regex/libgnunetregex.la
209 regex_simulation_profiler_test.conf