1 INCLUDES = -I$(top_srcdir)/src/include
3 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
6 plugindir = $(libdir)/gnunet
9 MYSQL_PLUGIN = libgnunet_plugin_dhtlog_mysql.la
17 AM_CFLAGS = --coverage -O0
21 lib_LTLIBRARIES = libgnunetdht.la \
24 plugin_LTLIBRARIES = \
26 libgnunet_plugin_dhtlog_dummy.la \
27 libgnunet_plugin_dhtlog_mysql_dump.la \
28 libgnunet_plugin_dhtlog_mysql_dump_load.la
31 libgnunet_plugin_dhtlog_mysql_la_SOURCES = \
33 libgnunet_plugin_dhtlog_mysql_la_LIBADD = \
34 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lz -lsqlite3
35 libgnunet_plugin_dhtlog_mysql_la_LDFLAGS = \
36 $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient
37 libgnunet_plugin_dhtlog_mysql_la_CPFLAGS = \
40 libgnunet_plugin_dhtlog_dummy_la_SOURCES = \
42 libgnunet_plugin_dhtlog_dummy_la_LIBADD = \
43 $(top_builddir)/src/util/libgnunetutil.la \
45 libgnunet_plugin_dhtlog_dummy_la_LDFLAGS = \
48 libgnunet_plugin_dhtlog_mysql_dump_la_SOURCES = \
49 plugin_dhtlog_mysql_dump.c
50 libgnunet_plugin_dhtlog_mysql_dump_la_LIBADD = \
51 $(top_builddir)/src/util/libgnunetutil.la \
53 libgnunet_plugin_dhtlog_mysql_dump_la_LDFLAGS = \
56 libgnunet_plugin_dhtlog_mysql_dump_load_la_SOURCES = \
57 plugin_dhtlog_mysql_dump_load.c
58 libgnunet_plugin_dhtlog_mysql_dump_load_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
61 libgnunet_plugin_dhtlog_mysql_dump_load_la_LDFLAGS = \
64 libgnunetdhtlog_la_SOURCES = \
66 libgnunetdhtlog_la_LIBADD = \
67 $(top_builddir)/src/util/libgnunetutil.la
68 libgnunetdhtlog_la_LDFLAGS = \
69 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
72 libgnunetdht_la_SOURCES = \
76 libgnunetdht_la_LIBADD = \
77 $(top_builddir)/src/util/libgnunetutil.la \
79 libgnunetdht_la_LDFLAGS = \
80 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
94 gnunet_service_dht_SOURCES = \
96 gnunet_service_dht_LDADD = \
97 $(top_builddir)/src/statistics/libgnunetstatistics.la \
98 $(top_builddir)/src/core/libgnunetcore.la \
99 $(top_builddir)/src/nse/libgnunetnse.la \
100 $(top_builddir)/src/transport/libgnunettransport.la \
101 $(top_builddir)/src/hello/libgnunethello.la \
102 $(top_builddir)/src/block/libgnunetblock.la \
103 $(top_builddir)/src/datacache/libgnunetdatacache.la \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/dht/libgnunetdhtlog.la -lm
106 gnunet_service_dht_DEPENDENCIES = \
109 gnunet_dht_get_SOURCES = \
111 gnunet_dht_get_LDADD = \
112 $(top_builddir)/src/dht/libgnunetdht.la \
113 $(top_builddir)/src/core/libgnunetcore.la \
114 $(top_builddir)/src/util/libgnunetutil.la
115 gnunet_dht_get_DEPENDENCIES = \
118 gnunet_dht_get_peer_SOURCES = \
119 gnunet-dht-get-peer.c
120 gnunet_dht_get_peer_LDADD = \
121 $(top_builddir)/src/dht/libgnunetdht.la \
122 $(top_builddir)/src/hello/libgnunethello.la \
123 $(top_builddir)/src/core/libgnunetcore.la \
124 $(top_builddir)/src/util/libgnunetutil.la
125 gnunet_dht_get_peer_DEPENDENCIES = \
128 gnunet_dht_put_SOURCES = \
130 gnunet_dht_put_LDADD = \
131 $(top_builddir)/src/dht/libgnunetdht.la \
132 $(top_builddir)/src/core/libgnunetcore.la \
133 $(top_builddir)/src/util/libgnunetutil.la
134 gnunet_dht_put_DEPENDENCIES = \
137 gnunet_dht_driver_SOURCES = \
139 gnunet_dht_driver_LDADD = \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 $(top_builddir)/src/dht/libgnunetdhtlog.la \
142 $(top_builddir)/src/core/libgnunetcore.la \
143 $(top_builddir)/src/testing/libgnunettesting.la \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/dht/libgnunetdhtlog.la
146 gnunet_dht_driver_DEPENDENCIES = \
154 test_dht_twopeer_put_get \
155 test_dht_twopeer_get_put \
156 test_dht_twopeer_path_tracking \
159 # test_hash_operations
162 TESTS = test_dht_api $(check_SCRIPTS) \
164 test_dht_twopeer_put_get \
165 test_dht_twopeer_get_put \
166 test_dht_twopeer_path_tracking \
171 test_dht_api_SOURCES = \
173 test_dht_api_LDADD = \
174 $(top_builddir)/src/util/libgnunetutil.la \
175 $(top_builddir)/src/hello/libgnunethello.la \
176 $(top_builddir)/src/dht/libgnunetdht.la
177 test_dht_api_DEPENDENCIES = \
180 test_dht_multipeer_SOURCES = \
182 test_dht_multipeer_LDADD = \
183 $(top_builddir)/src/util/libgnunetutil.la \
184 $(top_builddir)/src/testing/libgnunettesting.la \
185 $(top_builddir)/src/dht/libgnunetdht.la
186 test_dht_multipeer_DEPENDENCIES = \
189 #test_hash_operations_SOURCES = \
190 # test_hash_operations.c
191 #test_hash_operations_LDADD = \
192 # $(top_builddir)/src/util/libgnunetutil.la \
193 # $(top_builddir)/src/testing/libgnunettesting.la \
194 # $(top_builddir)/src/dht/libgnunetdht.la
196 test_dht_twopeer_SOURCES = \
198 test_dht_twopeer_LDADD = \
199 $(top_builddir)/src/util/libgnunetutil.la \
200 $(top_builddir)/src/testing/libgnunettesting.la \
201 $(top_builddir)/src/dht/libgnunetdht.la
202 test_dht_twopeer_DEPENDENCIES = \
205 test_dht_twopeer_put_get_SOURCES = \
206 test_dht_twopeer_put_get.c
207 test_dht_twopeer_put_get_LDADD = \
208 $(top_builddir)/src/util/libgnunetutil.la \
209 $(top_builddir)/src/testing/libgnunettesting.la \
210 $(top_builddir)/src/dht/libgnunetdht.la
212 test_dht_twopeer_get_put_SOURCES = \
213 test_dht_twopeer_get_put.c
214 test_dht_twopeer_get_put_LDADD = \
215 $(top_builddir)/src/util/libgnunetutil.la \
216 $(top_builddir)/src/testing/libgnunettesting.la \
217 $(top_builddir)/src/dht/libgnunetdht.la
219 test_dht_twopeer_path_tracking_SOURCES = \
220 test_dht_twopeer_path_tracking.c
221 test_dht_twopeer_path_tracking_LDADD = \
222 $(top_builddir)/src/util/libgnunetutil.la \
223 $(top_builddir)/src/testing/libgnunettesting.la \
224 $(top_builddir)/src/dht/libgnunetdht.la
226 test_dhtlog_SOURCES = \
228 test_dhtlog_LDADD = \
229 $(top_builddir)/src/util/libgnunetutil.la \
230 $(top_builddir)/src/testing/libgnunettesting.la \
231 $(top_builddir)/src/dht/libgnunetdht.la \
232 $(top_builddir)/src/dht/libgnunetdhtlog.la
236 test_dht_api_data.conf \
237 test_dht_api_peer1.conf \
238 test_dht_twopeer_data.conf \
239 test_dht_multipeer_data.conf \
240 test_dhtlog_data.conf \