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
8 pkgcfgdir= $(pkgdatadir)/config.d/
18 AM_CFLAGS = --coverage -O0
25 libgnunetdht_la_SOURCES = \
27 libgnunetdht_la_LIBADD = \
28 $(top_builddir)/src/util/libgnunetutil.la \
30 libgnunetdht_la_LDFLAGS = \
31 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
35 plugin_LTLIBRARIES = \
36 libgnunet_plugin_block_dht.la
38 libgnunet_plugin_block_dht_la_SOURCES = \
40 libgnunet_plugin_block_dht_la_LIBADD = \
41 $(top_builddir)/src/hello/libgnunethello.la \
42 $(top_builddir)/src/block/libgnunetblock.la \
43 $(top_builddir)/src/util/libgnunetutil.la
44 libgnunet_plugin_block_dht_la_LDFLAGS = \
46 libgnunet_plugin_block_dht_la_DEPENDENCIES = \
47 $(top_builddir)/src/block/libgnunetblock.la
57 gnunet_service_dht_SOURCES = \
58 gnunet-service-dht.c gnunet-service-dht.h \
59 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
60 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
61 gnunet-service-dht_hello.c gnunet-service-dht_hello.h \
62 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
63 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
64 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
65 gnunet_service_dht_LDADD = \
66 $(top_builddir)/src/statistics/libgnunetstatistics.la \
67 $(top_builddir)/src/core/libgnunetcore.la \
68 $(top_builddir)/src/nse/libgnunetnse.la \
69 $(top_builddir)/src/ats/libgnunetats.la \
70 $(top_builddir)/src/transport/libgnunettransport.la \
71 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
72 $(top_builddir)/src/hello/libgnunethello.la \
73 $(top_builddir)/src/block/libgnunetblock.la \
74 $(top_builddir)/src/datacache/libgnunetdatacache.la \
75 $(top_builddir)/src/util/libgnunetutil.la \
78 gnunet_dht_get_SOURCES = \
80 gnunet_dht_get_LDADD = \
81 $(top_builddir)/src/dht/libgnunetdht.la \
82 $(top_builddir)/src/core/libgnunetcore.la \
83 $(top_builddir)/src/util/libgnunetutil.la
84 gnunet_dht_get_DEPENDENCIES = \
87 gnunet_dht_put_SOURCES = \
89 gnunet_dht_put_LDADD = \
90 $(top_builddir)/src/dht/libgnunetdht.la \
91 $(top_builddir)/src/core/libgnunetcore.la \
92 $(top_builddir)/src/util/libgnunetutil.la
93 gnunet_dht_put_DEPENDENCIES = \
96 gnunet_dht_monitor_SOURCES = \
98 gnunet_dht_monitor_LDADD = \
99 $(top_builddir)/src/dht/libgnunetdht.la \
100 $(top_builddir)/src/core/libgnunetcore.la \
101 $(top_builddir)/src/util/libgnunetutil.la
102 gnunet_dht_monitor_DEPENDENCIES = \
109 test_dht_twopeer_put_get \
110 test_dht_twopeer_get_put \
111 test_dht_twopeer_path_tracking \
118 TESTS = test_dht_api $(check_SCRIPTS) \
120 test_dht_twopeer_put_get \
121 test_dht_twopeer_get_put \
122 test_dht_twopeer_path_tracking \
129 test_dht_api_SOURCES = \
131 test_dht_api_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/hello/libgnunethello.la \
134 $(top_builddir)/src/dht/libgnunetdht.la
135 test_dht_api_DEPENDENCIES = \
138 test_dht_twopeer_SOURCES = \
140 test_dht_twopeer_LDADD = \
141 $(top_builddir)/src/util/libgnunetutil.la \
142 $(top_builddir)/src/testing/libgnunettesting.la \
143 $(top_builddir)/src/dht/libgnunetdht.la
144 test_dht_twopeer_DEPENDENCIES = \
147 test_dht_twopeer_put_get_SOURCES = \
148 test_dht_twopeer_put_get.c
149 test_dht_twopeer_put_get_LDADD = \
150 $(top_builddir)/src/util/libgnunetutil.la \
151 $(top_builddir)/src/testing/libgnunettesting.la \
152 $(top_builddir)/src/dht/libgnunetdht.la
154 test_dht_twopeer_get_put_SOURCES = \
155 test_dht_twopeer_get_put.c
156 test_dht_twopeer_get_put_LDADD = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/testing/libgnunettesting.la \
159 $(top_builddir)/src/dht/libgnunetdht.la
161 test_dht_twopeer_path_tracking_SOURCES = \
162 test_dht_twopeer_path_tracking.c
163 test_dht_twopeer_path_tracking_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/testing/libgnunettesting.la \
166 $(top_builddir)/src/dht/libgnunetdht.la
168 test_dht_multipeer_SOURCES = \
170 test_dht_multipeer_LDADD = \
171 $(top_builddir)/src/util/libgnunetutil.la \
172 $(top_builddir)/src/statistics/libgnunetstatistics.la \
173 $(top_builddir)/src/testing/libgnunettesting.la \
174 $(top_builddir)/src/dht/libgnunetdht.la
175 test_dht_multipeer_DEPENDENCIES = \
178 test_dht_2dtorus_SOURCES = \
180 test_dht_2dtorus_LDADD = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(top_builddir)/src/testing/libgnunettesting.la \
183 $(top_builddir)/src/dht/libgnunetdht.la
184 test_dht_2dtorus_DEPENDENCIES = \
187 test_dht_line_SOURCES = \
189 test_dht_line_LDADD = \
190 $(top_builddir)/src/util/libgnunetutil.la \
191 $(top_builddir)/src/testing/libgnunettesting.la \
192 $(top_builddir)/src/dht/libgnunetdht.la
193 test_dht_line_DEPENDENCIES = \
196 test_dht_monitor_SOURCES = test_dht_monitor.c
197 test_dht_monitor_LDADD = \
198 $(top_builddir)/src/util/libgnunetutil.la \
199 $(top_builddir)/src/testing/libgnunettesting.la \
200 $(top_builddir)/src/dht/libgnunetdht.la
201 test_dht_monitor_DEPENDENCIES = \
206 test_dht_api_data.conf \
207 test_dht_api_peer1.conf \
208 test_dht_twopeer_data.conf \
209 test_dht_multipeer_data.conf \
210 test_dht_2dtorus.conf \