1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
16 plugindir = $(libdir)/gnunet
22 gnunet-service-regex \
23 gnunet-daemon-regexprofiler
26 gnunet_service_regex_SOURCES = \
27 gnunet-service-regex.c
28 gnunet_service_regex_LDADD = -lm \
29 libgnunetregex_internal.a \
30 libgnunetregexblock.la \
31 $(top_builddir)/src/dht/libgnunetdht.la \
32 $(top_builddir)/src/statistics/libgnunetstatistics.la \
33 $(top_builddir)/src/util/libgnunetutil.la \
37 libgnunetregex_internal.a \
41 libgnunetregexblock.la \
45 libgnunetregexblock_la_SOURCES = \
46 regex_block_lib.c regex_block_lib.h
47 libgnunetregexblock_la_LIBADD = \
48 $(top_builddir)/src/util/libgnunetutil.la \
51 libgnunetregexblock_la_LDFLAGS = \
52 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 libgnunetregex_internal_a_SOURCES = \
57 regex_internal_lib.h \
58 regex_internal.h regex_internal.c \
60 libgnunetregex_internal_a_DEPENDENCIES = \
61 libgnunetregexblock.la
64 libgnunetregex_la_SOURCES = \
65 regex_api.c regex_ipc.h
66 libgnunetregex_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la
68 libgnunetregex_la_LDFLAGS = \
73 plugin_LTLIBRARIES = \
74 libgnunet_plugin_block_regex.la
76 libgnunet_plugin_block_regex_la_SOURCES = \
78 libgnunet_plugin_block_regex_la_LIBADD = \
79 libgnunetregexblock.la \
80 $(top_builddir)/src/block/libgnunetblock.la \
81 $(top_builddir)/src/util/libgnunetutil.la
82 libgnunet_plugin_block_regex_la_LDFLAGS = \
86 noinst_mysql_progs = \
87 gnunet-regex-simulation-profiler
89 gnunet_regex_simulation_profiler_SOURCES = \
90 gnunet-regex-simulation-profiler.c
91 gnunet_regex_simulation_profiler_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la \
93 libgnunetregex_internal.a \
94 $(top_builddir)/src/dht/libgnunetdht.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_eval_api \
145 test_regex_iterate_api \
147 test_regex_graph_api \
151 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
152 TESTS = $(check_PROGRAMS)
155 test_regex_eval_api_SOURCES = \
156 test_regex_eval_api.c
157 test_regex_eval_api_LDADD = -lm \
158 libgnunetregex_internal.a \
159 $(top_builddir)/src/dht/libgnunetdht.la \
160 libgnunetregextest.a \
161 libgnunetregexblock.la \
162 $(top_builddir)/src/util/libgnunetutil.la
164 test_regex_api_SOURCES = \
166 test_regex_api_LDADD = -lm \
168 $(top_builddir)/src/testing/libgnunettesting.la \
169 $(top_builddir)/src/util/libgnunetutil.la
171 test_regex_iterate_api_SOURCES = \
172 test_regex_iterate_api.c
173 test_regex_iterate_api_LDADD = -lm \
174 libgnunetregex_internal.a \
175 libgnunetregexblock.la \
176 $(top_builddir)/src/dht/libgnunetdht.la \
177 $(top_builddir)/src/util/libgnunetutil.la
179 test_regex_proofs_SOURCES = \
181 test_regex_proofs_LDADD = -lm \
182 libgnunetregex_internal.a \
183 $(top_builddir)/src/dht/libgnunetdht.la \
184 libgnunetregextest.a \
185 libgnunetregexblock.la \
186 $(top_builddir)/src/util/libgnunetutil.la
188 test_regex_graph_api_SOURCES = \
189 test_regex_graph_api.c
190 test_regex_graph_api_LDADD = -lm \
191 libgnunetregex_internal.a \
192 $(top_builddir)/src/dht/libgnunetdht.la \
193 libgnunetregextest.a \
194 libgnunetregexblock.la \
195 $(top_builddir)/src/util/libgnunetutil.la
199 regex_simulation_profiler_test.conf \
200 test_regex_api_data.conf