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) \
83 libgnunetdhtnew_la_SOURCES = \
84 dht_api_new.c dht_new.h
85 libgnunetdhtnew_la_LIBADD = \
86 $(top_builddir)/src/util/libgnunetutil.la \
88 libgnunetdhtnew_la_LDFLAGS = \
89 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
94 gnunet-service-dht-new \
104 gnunet_service_dht_SOURCES = \
106 gnunet_service_dht_LDADD = \
107 $(top_builddir)/src/statistics/libgnunetstatistics.la \
108 $(top_builddir)/src/core/libgnunetcore.la \
109 $(top_builddir)/src/nse/libgnunetnse.la \
110 $(top_builddir)/src/transport/libgnunettransport.la \
111 $(top_builddir)/src/hello/libgnunethello.la \
112 $(top_builddir)/src/block/libgnunetblock.la \
113 $(top_builddir)/src/datacache/libgnunetdatacache.la \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/dht/libgnunetdhtlog.la -lm
116 gnunet_service_dht_DEPENDENCIES = \
119 gnunet_service_dht_new_SOURCES = \
120 gnunet-service-dht-new.c gnunet-service-dht.h \
121 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
122 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
123 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
124 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
125 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
126 gnunet_service_dht_new_LDADD = \
127 $(top_builddir)/src/statistics/libgnunetstatistics.la \
128 $(top_builddir)/src/core/libgnunetcore.la \
129 $(top_builddir)/src/nse/libgnunetnse.la \
130 $(top_builddir)/src/transport/libgnunettransport.la \
131 $(top_builddir)/src/hello/libgnunethello.la \
132 $(top_builddir)/src/block/libgnunetblock.la \
133 $(top_builddir)/src/datacache/libgnunetdatacache.la \
134 $(top_builddir)/src/util/libgnunetutil.la \
137 gnunet_dht_get_SOURCES = \
139 gnunet_dht_get_LDADD = \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 $(top_builddir)/src/core/libgnunetcore.la \
142 $(top_builddir)/src/util/libgnunetutil.la
143 gnunet_dht_get_DEPENDENCIES = \
146 gnunet_dht_get_peer_SOURCES = \
147 gnunet-dht-get-peer.c
148 gnunet_dht_get_peer_LDADD = \
149 $(top_builddir)/src/dht/libgnunetdht.la \
150 $(top_builddir)/src/hello/libgnunethello.la \
151 $(top_builddir)/src/core/libgnunetcore.la \
152 $(top_builddir)/src/util/libgnunetutil.la
153 gnunet_dht_get_peer_DEPENDENCIES = \
156 gnunet_dht_put_SOURCES = \
158 gnunet_dht_put_LDADD = \
159 $(top_builddir)/src/dht/libgnunetdht.la \
160 $(top_builddir)/src/core/libgnunetcore.la \
161 $(top_builddir)/src/util/libgnunetutil.la
162 gnunet_dht_put_DEPENDENCIES = \
165 gnunet_dht_driver_SOURCES = \
167 gnunet_dht_driver_LDADD = \
168 $(top_builddir)/src/dht/libgnunetdht.la \
169 $(top_builddir)/src/dht/libgnunetdhtlog.la \
170 $(top_builddir)/src/core/libgnunetcore.la \
171 $(top_builddir)/src/testing/libgnunettesting.la \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/dht/libgnunetdhtlog.la
174 gnunet_dht_driver_DEPENDENCIES = \
182 test_dht_twopeer_put_get \
183 test_dht_twopeer_get_put \
184 test_dht_twopeer_path_tracking \
187 # test_hash_operations
190 TESTS = test_dht_api $(check_SCRIPTS) \
192 test_dht_twopeer_put_get \
193 test_dht_twopeer_get_put \
194 test_dht_twopeer_path_tracking \
199 test_dht_api_SOURCES = \
201 test_dht_api_LDADD = \
202 $(top_builddir)/src/util/libgnunetutil.la \
203 $(top_builddir)/src/hello/libgnunethello.la \
204 $(top_builddir)/src/dht/libgnunetdht.la
205 test_dht_api_DEPENDENCIES = \
208 test_dht_multipeer_SOURCES = \
210 test_dht_multipeer_LDADD = \
211 $(top_builddir)/src/util/libgnunetutil.la \
212 $(top_builddir)/src/testing/libgnunettesting.la \
213 $(top_builddir)/src/dht/libgnunetdht.la
214 test_dht_multipeer_DEPENDENCIES = \
217 #test_hash_operations_SOURCES = \
218 # test_hash_operations.c
219 #test_hash_operations_LDADD = \
220 # $(top_builddir)/src/util/libgnunetutil.la \
221 # $(top_builddir)/src/testing/libgnunettesting.la \
222 # $(top_builddir)/src/dht/libgnunetdht.la
224 test_dht_twopeer_SOURCES = \
226 test_dht_twopeer_LDADD = \
227 $(top_builddir)/src/util/libgnunetutil.la \
228 $(top_builddir)/src/testing/libgnunettesting.la \
229 $(top_builddir)/src/dht/libgnunetdht.la
230 test_dht_twopeer_DEPENDENCIES = \
233 test_dht_twopeer_put_get_SOURCES = \
234 test_dht_twopeer_put_get.c
235 test_dht_twopeer_put_get_LDADD = \
236 $(top_builddir)/src/util/libgnunetutil.la \
237 $(top_builddir)/src/testing/libgnunettesting.la \
238 $(top_builddir)/src/dht/libgnunetdht.la
240 test_dht_twopeer_get_put_SOURCES = \
241 test_dht_twopeer_get_put.c
242 test_dht_twopeer_get_put_LDADD = \
243 $(top_builddir)/src/util/libgnunetutil.la \
244 $(top_builddir)/src/testing/libgnunettesting.la \
245 $(top_builddir)/src/dht/libgnunetdht.la
247 test_dht_twopeer_path_tracking_SOURCES = \
248 test_dht_twopeer_path_tracking.c
249 test_dht_twopeer_path_tracking_LDADD = \
250 $(top_builddir)/src/util/libgnunetutil.la \
251 $(top_builddir)/src/testing/libgnunettesting.la \
252 $(top_builddir)/src/dht/libgnunetdht.la
254 test_dhtlog_SOURCES = \
256 test_dhtlog_LDADD = \
257 $(top_builddir)/src/util/libgnunetutil.la \
258 $(top_builddir)/src/testing/libgnunettesting.la \
259 $(top_builddir)/src/dht/libgnunetdht.la \
260 $(top_builddir)/src/dht/libgnunetdhtlog.la
264 test_dht_api_data.conf \
265 test_dht_api_peer1.conf \
266 test_dht_twopeer_data.conf \
267 test_dht_multipeer_data.conf \
268 test_dhtlog_data.conf \