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'...
36 # FIXME: shouldn't the block library be in the plugin directory!?
37 lib_LTLIBRARIES = libgnunetregexblock.la \
42 libgnunetregexblock_la_SOURCES = \
43 regex_block_lib.c regex_block_lib.h
44 libgnunetregexblock_la_LIBADD = \
45 $(top_builddir)/src/util/libgnunetutil.la \
48 libgnunetregexblock_la_LDFLAGS = \
49 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
52 libgnunetregex_la_SOURCES = \
53 regex_internal.h regex.c \
54 regex_graph.c regex_random.c \
56 libgnunetregex_la_LIBADD = -lm \
57 $(top_builddir)/src/util/libgnunetutil.la \
58 $(top_builddir)/src/dht/libgnunetdht.la \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
60 $(top_builddir)/src/regex/libgnunetregexblock.la
61 libgnunetregex_la_DEPENDENCIES = \
62 libgnunetregexblock.la
63 libgnunetregex_la_LDFLAGS = \
68 libgnunetregexnew_la_SOURCES = \
69 regex_api.c regex_ipc.h
70 libgnunetregexnew_la_LIBADD = \
71 $(top_builddir)/src/util/libgnunetutil.la
72 libgnunetregexnew_la_LDFLAGS = \
77 plugindir = $(libdir)/gnunet
79 plugin_LTLIBRARIES = \
80 libgnunet_plugin_block_regex.la
82 libgnunet_plugin_block_regex_la_SOURCES = \
84 libgnunet_plugin_block_regex_la_LIBADD = \
85 $(top_builddir)/src/regex/libgnunetregexblock.la \
86 $(top_builddir)/src/block/libgnunetblock.la \
87 $(top_builddir)/src/util/libgnunetutil.la
88 libgnunet_plugin_block_regex_la_LDFLAGS = \
90 libgnunet_plugin_block_regex_la_DEPENDENCIES = \
91 libgnunetregexblock.la
94 noinst_mysql_progs = \
95 gnunet-regex-simulation-profiler
97 gnunet_regex_simulation_profiler_SOURCES = \
98 gnunet-regex-simulation-profiler.c
99 gnunet_regex_simulation_profiler_LDADD = \
100 $(top_builddir)/src/util/libgnunetutil.la \
101 $(top_builddir)/src/regex/libgnunetregex.la \
102 $(top_builddir)/src/mysql/libgnunetmysql.la
103 gnunet_regex_simulation_profiler_DEPENDENCIES = \
107 noinst_LTLIBRARIES = libgnunetregextest.la
109 libgnunetregextest_la_SOURCES = \
110 regex_test_lib.c regex_test_lib.h
111 libgnunetregextest_la_LIBADD = \
112 $(top_builddir)/src/util/libgnunetutil.la \
113 $(top_builddir)/src/regex/libgnunetregex.la
114 libgnunetregextest_la_DEPENDENCIES = \
118 noinst_PROGRAMS = $(noinst_mysql_progs) \
120 gnunet-regex-profiler \
121 gnunet-daemon-regexprofiler
123 perf_regex_SOURCES = \
126 $(top_builddir)/src/util/libgnunetutil.la \
127 $(top_builddir)/src/regex/libgnunetregex.la \
128 $(top_builddir)/src/regex/libgnunetregextest.la
129 perf_regex_DEPENDENCIES = \
131 libgnunetregextest.la
133 gnunet_regex_profiler_SOURCES = \
134 gnunet-regex-profiler.c
135 gnunet_regex_profiler_LDADD = \
136 $(top_builddir)/src/util/libgnunetutil.la \
137 $(top_builddir)/src/arm/libgnunetarm.la \
138 $(top_builddir)/src/dht/libgnunetdht.la \
139 $(top_builddir)/src/testbed/libgnunettestbed.la \
140 $(top_builddir)/src/regex/libgnunetregex.la \
141 $(top_builddir)/src/regex/libgnunetregextest.la \
142 $(top_builddir)/src/statistics/libgnunetstatistics.la
143 gnunet_regex_profiler_DEPENDENCIES = \
144 $(top_builddir)/src/arm/libgnunetarm.la \
145 $(top_builddir)/src/dht/libgnunetdht.la \
147 libgnunetregextest.la
150 gnunet_daemon_regexprofiler_SOURCES = \
151 gnunet-daemon-regexprofiler.c
152 gnunet_daemon_regexprofiler_LDADD = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/dht/libgnunetdht.la \
155 $(top_builddir)/src/regex/libgnunetregex.la \
156 $(top_builddir)/src/regex/libgnunetregextest.la \
157 $(top_builddir)/src/statistics/libgnunetstatistics.la
158 gnunet_daemon_regexprofiler_DEPENDENCIES = \
159 $(top_builddir)/src/dht/libgnunetdht.la \
160 libgnunetregextest.la \
166 test_regex_eval_api \
167 test_regex_iterate_api \
169 test_regex_graph_api \
173 TESTS = $(check_PROGRAMS)
176 test_regex_eval_api_SOURCES = \
177 test_regex_eval_api.c
178 test_regex_eval_api_LDADD = \
179 $(top_builddir)/src/regex/libgnunetregex.la \
180 $(top_builddir)/src/util/libgnunetutil.la
182 test_regex_iterate_api_SOURCES = \
183 test_regex_iterate_api.c
184 test_regex_iterate_api_LDADD = \
185 $(top_builddir)/src/regex/libgnunetregex.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_regex_proofs_SOURCES = \
190 test_regex_proofs_LDADD = \
191 $(top_builddir)/src/regex/libgnunetregex.la \
192 $(top_builddir)/src/util/libgnunetutil.la
194 test_regex_graph_api_SOURCES = \
195 test_regex_graph_api.c
196 test_regex_graph_api_LDADD = \
197 $(top_builddir)/src/regex/libgnunetregex.la \
198 $(top_builddir)/src/util/libgnunetutil.la
200 test_regex_iptoregex_SOURCES = \
201 test_regex_iptoregex.c
202 test_regex_iptoregex_LDADD = \
203 $(top_builddir)/src/util/libgnunetutil.la \
204 $(top_builddir)/src/regex/libgnunetregex.la
208 regex_simulation_profiler_test.conf