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
56 gnunet_service_dht_SOURCES = \
57 gnunet-service-dht.c gnunet-service-dht.h \
58 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
59 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
60 gnunet-service-dht_hello.c gnunet-service-dht_hello.h \
61 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
62 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
63 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
64 gnunet_service_dht_LDADD = \
65 $(top_builddir)/src/statistics/libgnunetstatistics.la \
66 $(top_builddir)/src/core/libgnunetcore.la \
67 $(top_builddir)/src/nse/libgnunetnse.la \
68 $(top_builddir)/src/ats/libgnunetats.la \
69 $(top_builddir)/src/transport/libgnunettransport.la \
70 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
71 $(top_builddir)/src/hello/libgnunethello.la \
72 $(top_builddir)/src/block/libgnunetblock.la \
73 $(top_builddir)/src/datacache/libgnunetdatacache.la \
74 $(top_builddir)/src/util/libgnunetutil.la \
77 gnunet_dht_get_SOURCES = \
79 gnunet_dht_get_LDADD = \
80 $(top_builddir)/src/dht/libgnunetdht.la \
81 $(top_builddir)/src/core/libgnunetcore.la \
82 $(top_builddir)/src/util/libgnunetutil.la
83 gnunet_dht_get_DEPENDENCIES = \
86 gnunet_dht_put_SOURCES = \
88 gnunet_dht_put_LDADD = \
89 $(top_builddir)/src/dht/libgnunetdht.la \
90 $(top_builddir)/src/core/libgnunetcore.la \
91 $(top_builddir)/src/util/libgnunetutil.la
92 gnunet_dht_put_DEPENDENCIES = \
98 test_dht_twopeer_put_get \
99 test_dht_twopeer_get_put \
100 test_dht_twopeer_path_tracking \
107 TESTS = test_dht_api $(check_SCRIPTS) \
109 test_dht_twopeer_put_get \
110 test_dht_twopeer_get_put \
111 test_dht_twopeer_path_tracking \
118 test_dht_api_SOURCES = \
120 test_dht_api_LDADD = \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/hello/libgnunethello.la \
123 $(top_builddir)/src/dht/libgnunetdht.la
124 test_dht_api_DEPENDENCIES = \
127 test_dht_twopeer_SOURCES = \
129 test_dht_twopeer_LDADD = \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 $(top_builddir)/src/testing/libgnunettesting.la \
132 $(top_builddir)/src/dht/libgnunetdht.la
133 test_dht_twopeer_DEPENDENCIES = \
136 test_dht_twopeer_put_get_SOURCES = \
137 test_dht_twopeer_put_get.c
138 test_dht_twopeer_put_get_LDADD = \
139 $(top_builddir)/src/util/libgnunetutil.la \
140 $(top_builddir)/src/testing/libgnunettesting.la \
141 $(top_builddir)/src/dht/libgnunetdht.la
143 test_dht_twopeer_get_put_SOURCES = \
144 test_dht_twopeer_get_put.c
145 test_dht_twopeer_get_put_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/testing/libgnunettesting.la \
148 $(top_builddir)/src/dht/libgnunetdht.la
150 test_dht_twopeer_path_tracking_SOURCES = \
151 test_dht_twopeer_path_tracking.c
152 test_dht_twopeer_path_tracking_LDADD = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/testing/libgnunettesting.la \
155 $(top_builddir)/src/dht/libgnunetdht.la
157 test_dht_multipeer_SOURCES = \
159 test_dht_multipeer_LDADD = \
160 $(top_builddir)/src/util/libgnunetutil.la \
161 $(top_builddir)/src/statistics/libgnunetstatistics.la \
162 $(top_builddir)/src/testing/libgnunettesting.la \
163 $(top_builddir)/src/dht/libgnunetdht.la
164 test_dht_multipeer_DEPENDENCIES = \
167 test_dht_2dtorus_SOURCES = \
169 test_dht_2dtorus_LDADD = \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/testing/libgnunettesting.la \
172 $(top_builddir)/src/dht/libgnunetdht.la
173 test_dht_2dtorus_DEPENDENCIES = \
176 test_dht_line_SOURCES = \
178 test_dht_line_LDADD = \
179 $(top_builddir)/src/util/libgnunetutil.la \
180 $(top_builddir)/src/testing/libgnunettesting.la \
181 $(top_builddir)/src/dht/libgnunetdht.la
182 test_dht_line_DEPENDENCIES = \
185 test_dht_monitor_SOURCES = test_dht_monitor.c
186 test_dht_monitor_LDADD = \
187 $(top_builddir)/src/util/libgnunetutil.la \
188 $(top_builddir)/src/testing/libgnunettesting.la \
189 $(top_builddir)/src/dht/libgnunetdht.la
190 test_dht_monitor_DEPENDENCIES = \
195 test_dht_api_data.conf \
196 test_dht_api_peer1.conf \
197 test_dht_twopeer_data.conf \
198 test_dht_multipeer_data.conf \
199 test_dht_2dtorus.conf \