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.h regex.c \
59 regex_graph.c regex_random.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
104 libgnunetregextest_a_LIBADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/regex/libgnunetregex_internal.a
107 libgnunetregextest_a_DEPENDENCIES = \
108 libgnunetregex_internal.a
111 noinst_PROGRAMS = $(noinst_mysql_progs) \
113 gnunet-regex-profiler \
114 gnunet-daemon-regexprofiler
116 perf_regex_SOURCES = \
118 perf_regex_LDADD = -lm \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/regex/libgnunetregex_internal.a \
121 $(top_builddir)/src/regex/libgnunetregexblock.la \
122 $(top_builddir)/src/regex/libgnunetregextest.a
123 perf_regex_DEPENDENCIES = \
124 libgnunetregex_internal.a \
127 gnunet_regex_profiler_SOURCES = \
128 gnunet-regex-profiler.c
129 gnunet_regex_profiler_LDADD = -lm \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 $(top_builddir)/src/arm/libgnunetarm.la \
132 $(top_builddir)/src/dht/libgnunetdht.la \
133 $(top_builddir)/src/testbed/libgnunettestbed.la \
134 $(top_builddir)/src/regex/libgnunetregex_internal.a \
135 $(top_builddir)/src/regex/libgnunetregexblock.la \
136 $(top_builddir)/src/regex/libgnunetregextest.a \
137 $(top_builddir)/src/statistics/libgnunetstatistics.la
138 gnunet_regex_profiler_DEPENDENCIES = \
139 $(top_builddir)/src/arm/libgnunetarm.la \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 libgnunetregex_internal.a \
145 gnunet_daemon_regexprofiler_SOURCES = \
146 gnunet-daemon-regexprofiler.c
147 gnunet_daemon_regexprofiler_LDADD = -lm \
148 $(top_builddir)/src/util/libgnunetutil.la \
149 $(top_builddir)/src/dht/libgnunetdht.la \
150 $(top_builddir)/src/regex/libgnunetregex_internal.a \
151 $(top_builddir)/src/regex/libgnunetregexblock.la \
152 $(top_builddir)/src/regex/libgnunetregextest.a \
153 $(top_builddir)/src/statistics/libgnunetstatistics.la
154 gnunet_daemon_regexprofiler_DEPENDENCIES = \
155 $(top_builddir)/src/dht/libgnunetdht.la \
156 libgnunetregextest.a \
157 libgnunetregex_internal.a
162 test_regex_eval_api \
163 test_regex_iterate_api \
168 TESTS = $(check_PROGRAMS)
171 test_regex_eval_api_SOURCES = \
172 test_regex_eval_api.c
173 test_regex_eval_api_LDADD = -lm \
174 $(top_builddir)/src/regex/libgnunetregex_internal.a \
175 $(top_builddir)/src/regex/libgnunetregexblock.la \
176 $(top_builddir)/src/util/libgnunetutil.la
178 test_regex_iterate_api_SOURCES = \
179 test_regex_iterate_api.c
180 test_regex_iterate_api_LDADD = -lm \
181 $(top_builddir)/src/regex/libgnunetregex_internal.a \
182 $(top_builddir)/src/regex/libgnunetregexblock.la \
183 $(top_builddir)/src/util/libgnunetutil.la
185 test_regex_proofs_SOURCES = \
187 test_regex_proofs_LDADD = -lm \
188 $(top_builddir)/src/regex/libgnunetregex_internal.a \
189 $(top_builddir)/src/regex/libgnunetregexblock.la \
190 $(top_builddir)/src/util/libgnunetutil.la
192 test_regex_graph_api_SOURCES = \
193 test_regex_graph_api.c
194 test_regex_graph_api_LDADD = -lm \
195 $(top_builddir)/src/regex/libgnunetregex_internal.a \
196 $(top_builddir)/src/regex/libgnunetregexblock.la \
197 $(top_builddir)/src/util/libgnunetutil.la
201 regex_simulation_profiler_test.conf