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
26 plugin_LTLIBRARIES = \
28 libgnunet_plugin_dhtlog_dummy.la \
29 libgnunet_plugin_dhtlog_mysql_dump.la \
30 libgnunet_plugin_dhtlog_mysql_dump_load.la
33 libgnunet_plugin_dhtlog_mysql_la_SOURCES = \
35 libgnunet_plugin_dhtlog_mysql_la_LIBADD = \
36 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lz -lsqlite3
37 libgnunet_plugin_dhtlog_mysql_la_LDFLAGS = \
38 $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient
39 libgnunet_plugin_dhtlog_mysql_la_CPFLAGS = \
42 libgnunet_plugin_dhtlog_dummy_la_SOURCES = \
44 libgnunet_plugin_dhtlog_dummy_la_LIBADD = \
45 $(top_builddir)/src/util/libgnunetutil.la \
47 libgnunet_plugin_dhtlog_dummy_la_LDFLAGS = \
50 libgnunet_plugin_dhtlog_mysql_dump_la_SOURCES = \
51 plugin_dhtlog_mysql_dump.c
52 libgnunet_plugin_dhtlog_mysql_dump_la_LIBADD = \
53 $(top_builddir)/src/util/libgnunetutil.la \
55 libgnunet_plugin_dhtlog_mysql_dump_la_LDFLAGS = \
58 libgnunet_plugin_dhtlog_mysql_dump_load_la_SOURCES = \
59 plugin_dhtlog_mysql_dump_load.c
60 libgnunet_plugin_dhtlog_mysql_dump_load_la_LIBADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
63 libgnunet_plugin_dhtlog_mysql_dump_load_la_LDFLAGS = \
66 libgnunetdhtlog_la_SOURCES = \
68 libgnunetdhtlog_la_LIBADD = \
69 $(top_builddir)/src/util/libgnunetutil.la
70 libgnunetdhtlog_la_LDFLAGS = \
71 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
74 libgnunetdht_la_SOURCES = \
78 libgnunetdht_la_LIBADD = \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 libgnunetdht_la_LDFLAGS = \
82 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
85 libgnunetdhtnew_la_SOURCES = \
86 dht_api_new.c dht_new.h
87 libgnunetdhtnew_la_LIBADD = \
88 $(top_builddir)/src/util/libgnunetutil.la \
90 libgnunetdhtnew_la_LDFLAGS = \
91 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
96 gnunet-service-dht-new \
106 gnunet_service_dht_SOURCES = \
108 gnunet_service_dht_LDADD = \
109 $(top_builddir)/src/statistics/libgnunetstatistics.la \
110 $(top_builddir)/src/core/libgnunetcore.la \
111 $(top_builddir)/src/nse/libgnunetnse.la \
112 $(top_builddir)/src/transport/libgnunettransport.la \
113 $(top_builddir)/src/hello/libgnunethello.la \
114 $(top_builddir)/src/block/libgnunetblock.la \
115 $(top_builddir)/src/datacache/libgnunetdatacache.la \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 $(top_builddir)/src/dht/libgnunetdhtlog.la -lm
118 gnunet_service_dht_DEPENDENCIES = \
121 gnunet_service_dht_new_SOURCES = \
122 gnunet-service-dht-new.c gnunet-service-dht.h \
123 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
124 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
125 gnunet-service-dht_hello.c gnunet-service-dht_hello.h \
126 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
127 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
128 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
129 gnunet_service_dht_new_LDADD = \
130 $(top_builddir)/src/statistics/libgnunetstatistics.la \
131 $(top_builddir)/src/core/libgnunetcore.la \
132 $(top_builddir)/src/nse/libgnunetnse.la \
133 $(top_builddir)/src/transport/libgnunettransport.la \
134 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
135 $(top_builddir)/src/hello/libgnunethello.la \
136 $(top_builddir)/src/block/libgnunetblock.la \
137 $(top_builddir)/src/datacache/libgnunetdatacache.la \
138 $(top_builddir)/src/util/libgnunetutil.la \
141 gnunet_dht_get_SOURCES = \
143 gnunet_dht_get_LDADD = \
144 $(top_builddir)/src/dht/libgnunetdht.la \
145 $(top_builddir)/src/core/libgnunetcore.la \
146 $(top_builddir)/src/util/libgnunetutil.la
147 gnunet_dht_get_DEPENDENCIES = \
150 gnunet_dht_get_peer_SOURCES = \
151 gnunet-dht-get-peer.c
152 gnunet_dht_get_peer_LDADD = \
153 $(top_builddir)/src/dht/libgnunetdht.la \
154 $(top_builddir)/src/hello/libgnunethello.la \
155 $(top_builddir)/src/core/libgnunetcore.la \
156 $(top_builddir)/src/util/libgnunetutil.la
157 gnunet_dht_get_peer_DEPENDENCIES = \
160 gnunet_dht_put_SOURCES = \
162 gnunet_dht_put_LDADD = \
163 $(top_builddir)/src/dht/libgnunetdht.la \
164 $(top_builddir)/src/core/libgnunetcore.la \
165 $(top_builddir)/src/util/libgnunetutil.la
166 gnunet_dht_put_DEPENDENCIES = \
169 gnunet_dht_driver_SOURCES = \
171 gnunet_dht_driver_LDADD = \
172 $(top_builddir)/src/dht/libgnunetdht.la \
173 $(top_builddir)/src/dht/libgnunetdhtlog.la \
174 $(top_builddir)/src/core/libgnunetcore.la \
175 $(top_builddir)/src/testing/libgnunettesting.la \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/dht/libgnunetdhtlog.la
178 gnunet_dht_driver_DEPENDENCIES = \
186 test_dht_twopeer_put_get \
187 test_dht_twopeer_get_put \
188 test_dht_twopeer_path_tracking \
191 # test_hash_operations
194 TESTS = test_dht_api $(check_SCRIPTS) \
196 test_dht_twopeer_put_get \
197 test_dht_twopeer_get_put \
198 test_dht_twopeer_path_tracking \
203 test_dht_api_SOURCES = \
205 test_dht_api_LDADD = \
206 $(top_builddir)/src/util/libgnunetutil.la \
207 $(top_builddir)/src/hello/libgnunethello.la \
208 $(top_builddir)/src/dht/libgnunetdhtnew.la
209 test_dht_api_DEPENDENCIES = \
212 test_dht_multipeer_SOURCES = \
214 test_dht_multipeer_LDADD = \
215 $(top_builddir)/src/util/libgnunetutil.la \
216 $(top_builddir)/src/testing/libgnunettesting.la \
217 $(top_builddir)/src/dht/libgnunetdht.la
218 test_dht_multipeer_DEPENDENCIES = \
221 test_dht_twopeer_SOURCES = \
223 test_dht_twopeer_LDADD = \
224 $(top_builddir)/src/util/libgnunetutil.la \
225 $(top_builddir)/src/testing/libgnunettesting.la \
226 $(top_builddir)/src/dht/libgnunetdhtnew.la
227 test_dht_twopeer_DEPENDENCIES = \
230 test_dht_twopeer_put_get_SOURCES = \
231 test_dht_twopeer_put_get.c
232 test_dht_twopeer_put_get_LDADD = \
233 $(top_builddir)/src/util/libgnunetutil.la \
234 $(top_builddir)/src/testing/libgnunettesting.la \
235 $(top_builddir)/src/dht/libgnunetdhtnew.la
237 test_dht_twopeer_get_put_SOURCES = \
238 test_dht_twopeer_get_put.c
239 test_dht_twopeer_get_put_LDADD = \
240 $(top_builddir)/src/util/libgnunetutil.la \
241 $(top_builddir)/src/testing/libgnunettesting.la \
242 $(top_builddir)/src/dht/libgnunetdhtnew.la
244 test_dht_twopeer_path_tracking_SOURCES = \
245 test_dht_twopeer_path_tracking.c
246 test_dht_twopeer_path_tracking_LDADD = \
247 $(top_builddir)/src/util/libgnunetutil.la \
248 $(top_builddir)/src/testing/libgnunettesting.la \
249 $(top_builddir)/src/dht/libgnunetdht.la
251 test_dhtlog_SOURCES = \
253 test_dhtlog_LDADD = \
254 $(top_builddir)/src/util/libgnunetutil.la \
255 $(top_builddir)/src/testing/libgnunettesting.la \
256 $(top_builddir)/src/dht/libgnunetdht.la \
257 $(top_builddir)/src/dht/libgnunetdhtlog.la
261 test_dht_api_data.conf \
262 test_dht_api_peer1.conf \
263 test_dht_twopeer_data.conf \
264 test_dht_multipeer_data.conf \
265 test_dhtlog_data.conf \