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 = -lm \
26 $(top_builddir)/src/regex/libgnunetregex_internal.a \
27 $(top_builddir)/src/regex/libgnunetregexblock.la \
28 $(top_builddir)/src/dht/libgnunetdht.la \
29 $(top_builddir)/src/statistics/libgnunetstatistics.la \
30 $(top_builddir)/src/util/libgnunetutil.la \
32 gnunet_service_regex_DEPENDENCIES = \
33 libgnunetregex_internal.a
34 # todo: link files from libgnunetregex statically into gnunet_service_regex,
35 # rename API prefix to avoid collision with 'libgnunetregexnew'...
38 libgnunetregex_internal.a \
42 libgnunetregexblock.la \
46 libgnunetregexblock_la_SOURCES = \
47 regex_block_lib.c regex_block_lib.h
48 libgnunetregexblock_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunetregexblock_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
57 libgnunetregex_internal_a_SOURCES = \
58 regex_internal_lib.h \
59 regex_internal.h regex_internal.c \
61 libgnunetregex_internal_a_DEPENDENCIES = \
62 libgnunetregexblock.la
65 libgnunetregexnew_la_SOURCES = \
66 regex_api.c regex_ipc.h
67 libgnunetregexnew_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la
69 libgnunetregexnew_la_LDFLAGS = \
74 plugin_LTLIBRARIES = \
75 libgnunet_plugin_block_regex.la
77 libgnunet_plugin_block_regex_la_SOURCES = \
79 libgnunet_plugin_block_regex_la_LIBADD = \
80 $(top_builddir)/src/regex/libgnunetregexblock.la \
81 $(top_builddir)/src/block/libgnunetblock.la \
82 $(top_builddir)/src/util/libgnunetutil.la
83 libgnunet_plugin_block_regex_la_LDFLAGS = \
85 libgnunet_plugin_block_regex_la_DEPENDENCIES = \
86 libgnunetregexblock.la
89 noinst_mysql_progs = \
90 gnunet-regex-simulation-profiler
92 gnunet_regex_simulation_profiler_SOURCES = \
93 gnunet-regex-simulation-profiler.c
94 gnunet_regex_simulation_profiler_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/regex/libgnunetregex_internal.a \
97 $(top_builddir)/src/mysql/libgnunetmysql.la
98 gnunet_regex_simulation_profiler_DEPENDENCIES = \
99 libgnunetregex_internal.a
102 libgnunetregextest_a_SOURCES = \
103 regex_test_lib.c regex_test_lib.h \
106 libgnunetregextest_a_LIBADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/regex/libgnunetregex_internal.a
109 libgnunetregextest_a_DEPENDENCIES = \
110 libgnunetregex_internal.a
113 noinst_PROGRAMS = $(noinst_mysql_progs) \
115 gnunet-regex-profiler \
116 gnunet-daemon-regexprofiler
118 perf_regex_SOURCES = \
120 perf_regex_LDADD = -lm \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/regex/libgnunetregex_internal.a \
123 $(top_builddir)/src/regex/libgnunetregexblock.la \
124 $(top_builddir)/src/regex/libgnunetregextest.a
125 perf_regex_DEPENDENCIES = \
126 libgnunetregex_internal.a \
129 gnunet_regex_profiler_SOURCES = \
130 gnunet-regex-profiler.c
131 gnunet_regex_profiler_LDADD = -lm \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/arm/libgnunetarm.la \
134 $(top_builddir)/src/dht/libgnunetdht.la \
135 $(top_builddir)/src/testbed/libgnunettestbed.la \
136 $(top_builddir)/src/regex/libgnunetregex_internal.a \
137 $(top_builddir)/src/regex/libgnunetregexblock.la \
138 $(top_builddir)/src/regex/libgnunetregextest.a \
139 $(top_builddir)/src/statistics/libgnunetstatistics.la
140 gnunet_regex_profiler_DEPENDENCIES = \
141 $(top_builddir)/src/arm/libgnunetarm.la \
142 $(top_builddir)/src/dht/libgnunetdht.la \
143 libgnunetregex_internal.a \
147 gnunet_daemon_regexprofiler_SOURCES = \
148 gnunet-daemon-regexprofiler.c
149 gnunet_daemon_regexprofiler_LDADD = -lm \
150 $(top_builddir)/src/util/libgnunetutil.la \
151 $(top_builddir)/src/dht/libgnunetdht.la \
152 $(top_builddir)/src/regex/libgnunetregex_internal.a \
153 $(top_builddir)/src/regex/libgnunetregexblock.la \
154 $(top_builddir)/src/regex/libgnunetregextest.a \
155 $(top_builddir)/src/statistics/libgnunetstatistics.la
156 gnunet_daemon_regexprofiler_DEPENDENCIES = \
157 $(top_builddir)/src/dht/libgnunetdht.la \
158 libgnunetregextest.a \
159 libgnunetregex_internal.a
164 test_regex_eval_api \
165 test_regex_iterate_api \
170 TESTS = $(check_PROGRAMS)
173 test_regex_eval_api_SOURCES = \
174 test_regex_eval_api.c
175 test_regex_eval_api_LDADD = -lm \
176 $(top_builddir)/src/regex/libgnunetregex_internal.a \
177 $(top_builddir)/src/regex/libgnunetregextest.a \
178 $(top_builddir)/src/regex/libgnunetregexblock.la \
179 $(top_builddir)/src/util/libgnunetutil.la
181 test_regex_iterate_api_SOURCES = \
182 test_regex_iterate_api.c
183 test_regex_iterate_api_LDADD = -lm \
184 $(top_builddir)/src/regex/libgnunetregex_internal.a \
185 $(top_builddir)/src/regex/libgnunetregexblock.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_regex_proofs_SOURCES = \
190 test_regex_proofs_LDADD = -lm \
191 $(top_builddir)/src/regex/libgnunetregex_internal.a \
192 $(top_builddir)/src/regex/libgnunetregextest.a \
193 $(top_builddir)/src/regex/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 $(top_builddir)/src/regex/libgnunetregex_internal.a \
200 $(top_builddir)/src/regex/libgnunetregextest.a \
201 $(top_builddir)/src/regex/libgnunetregexblock.la \
202 $(top_builddir)/src/util/libgnunetutil.la
206 regex_simulation_profiler_test.conf