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 \
31 libgnunetdht_la_LDFLAGS = \
32 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
36 plugin_LTLIBRARIES = \
37 libgnunet_plugin_block_dht.la
39 libgnunet_plugin_block_dht_la_SOURCES = \
41 libgnunet_plugin_block_dht_la_LIBADD = \
42 $(top_builddir)/src/hello/libgnunethello.la \
43 $(top_builddir)/src/block/libgnunetblock.la \
44 $(top_builddir)/src/util/libgnunetutil.la \
46 libgnunet_plugin_block_dht_la_LDFLAGS = \
48 libgnunet_plugin_block_dht_la_DEPENDENCIES = \
49 $(top_builddir)/src/block/libgnunetblock.la
59 gnunet_service_dht_SOURCES = \
60 gnunet-service-dht.c gnunet-service-dht.h \
61 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
62 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
63 gnunet-service-dht_hello.c gnunet-service-dht_hello.h \
64 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
65 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
66 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
67 gnunet_service_dht_LDADD = \
68 $(top_builddir)/src/statistics/libgnunetstatistics.la \
69 $(top_builddir)/src/core/libgnunetcore.la \
70 $(top_builddir)/src/nse/libgnunetnse.la \
71 $(top_builddir)/src/ats/libgnunetats.la \
72 $(top_builddir)/src/transport/libgnunettransport.la \
73 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
74 $(top_builddir)/src/hello/libgnunethello.la \
75 $(top_builddir)/src/block/libgnunetblock.la \
76 $(top_builddir)/src/datacache/libgnunetdatacache.la \
77 $(top_builddir)/src/util/libgnunetutil.la \
80 gnunet_dht_get_SOURCES = \
82 gnunet_dht_get_LDADD = \
83 $(top_builddir)/src/dht/libgnunetdht.la \
84 $(top_builddir)/src/core/libgnunetcore.la \
85 $(top_builddir)/src/util/libgnunetutil.la
86 gnunet_dht_get_DEPENDENCIES = \
89 gnunet_dht_put_SOURCES = \
91 gnunet_dht_put_LDADD = \
92 $(top_builddir)/src/dht/libgnunetdht.la \
93 $(top_builddir)/src/core/libgnunetcore.la \
94 $(top_builddir)/src/util/libgnunetutil.la
95 gnunet_dht_put_DEPENDENCIES = \
98 gnunet_dht_monitor_SOURCES = \
100 gnunet_dht_monitor_LDADD = \
101 $(top_builddir)/src/dht/libgnunetdht.la \
102 $(top_builddir)/src/core/libgnunetcore.la \
103 $(top_builddir)/src/util/libgnunetutil.la
104 gnunet_dht_monitor_DEPENDENCIES = \
111 test_dht_twopeer_put_get \
112 test_dht_twopeer_get_put \
113 test_dht_twopeer_path_tracking \
120 TESTS = test_dht_api $(check_SCRIPTS) \
122 test_dht_twopeer_put_get \
123 test_dht_twopeer_get_put \
124 test_dht_twopeer_path_tracking \
131 test_dht_api_SOURCES = \
133 test_dht_api_LDADD = \
134 $(top_builddir)/src/util/libgnunetutil.la \
135 $(top_builddir)/src/hello/libgnunethello.la \
136 $(top_builddir)/src/dht/libgnunetdht.la
137 test_dht_api_DEPENDENCIES = \
140 test_dht_twopeer_SOURCES = \
142 test_dht_twopeer_LDADD = \
143 $(top_builddir)/src/util/libgnunetutil.la \
144 $(top_builddir)/src/testing/libgnunettesting.la \
145 $(top_builddir)/src/dht/libgnunetdht.la
146 test_dht_twopeer_DEPENDENCIES = \
149 test_dht_twopeer_put_get_SOURCES = \
150 test_dht_twopeer_put_get.c
151 test_dht_twopeer_put_get_LDADD = \
152 $(top_builddir)/src/util/libgnunetutil.la \
153 $(top_builddir)/src/testing/libgnunettesting.la \
154 $(top_builddir)/src/dht/libgnunetdht.la
156 test_dht_twopeer_get_put_SOURCES = \
157 test_dht_twopeer_get_put.c
158 test_dht_twopeer_get_put_LDADD = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/testing/libgnunettesting.la \
161 $(top_builddir)/src/dht/libgnunetdht.la
163 test_dht_twopeer_path_tracking_SOURCES = \
164 test_dht_twopeer_path_tracking.c
165 test_dht_twopeer_path_tracking_LDADD = \
166 $(top_builddir)/src/util/libgnunetutil.la \
167 $(top_builddir)/src/testing/libgnunettesting.la \
168 $(top_builddir)/src/dht/libgnunetdht.la
170 test_dht_multipeer_SOURCES = \
172 test_dht_multipeer_LDADD = \
173 $(top_builddir)/src/util/libgnunetutil.la \
174 $(top_builddir)/src/statistics/libgnunetstatistics.la \
175 $(top_builddir)/src/testing/libgnunettesting.la \
176 $(top_builddir)/src/dht/libgnunetdht.la
177 test_dht_multipeer_DEPENDENCIES = \
180 test_dht_2dtorus_SOURCES = \
182 test_dht_2dtorus_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_2dtorus_DEPENDENCIES = \
189 test_dht_line_SOURCES = \
191 test_dht_line_LDADD = \
192 $(top_builddir)/src/util/libgnunetutil.la \
193 $(top_builddir)/src/testing/libgnunettesting.la \
194 $(top_builddir)/src/dht/libgnunetdht.la
195 test_dht_line_DEPENDENCIES = \
198 test_dht_monitor_SOURCES = test_dht_monitor.c
199 test_dht_monitor_LDADD = \
200 $(top_builddir)/src/util/libgnunetutil.la \
201 $(top_builddir)/src/testing/libgnunettesting.la \
202 $(top_builddir)/src/dht/libgnunetdht.la
203 test_dht_monitor_DEPENDENCIES = \
208 test_dht_api_data.conf \
209 test_dht_api_peer1.conf \
210 test_dht_twopeer_data.conf \
211 test_dht_multipeer_data.conf \
212 test_dht_2dtorus.conf \