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
30 libgnunet_plugin_dhtlog_mysql_la_SOURCES = \
32 libgnunet_plugin_dhtlog_mysql_la_LIBADD = \
33 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lz -lsqlite3
34 libgnunet_plugin_dhtlog_mysql_la_LDFLAGS = \
35 $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient
36 libgnunet_plugin_dhtlog_mysql_la_CPFLAGS = \
39 libgnunet_plugin_dhtlog_dummy_la_SOURCES = \
41 libgnunet_plugin_dhtlog_dummy_la_LIBADD = \
42 $(top_builddir)/src/util/libgnunetutil.la \
44 libgnunet_plugin_dhtlog_dummy_la_LDFLAGS = \
47 libgnunet_plugin_dhtlog_mysql_dump_la_SOURCES = \
48 plugin_dhtlog_mysql_dump.c
49 libgnunet_plugin_dhtlog_mysql_dump_la_LIBADD = \
50 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunet_plugin_dhtlog_mysql_dump_la_LDFLAGS = \
55 libgnunetdhtlog_la_SOURCES = \
57 libgnunetdhtlog_la_LIBADD = \
58 $(top_builddir)/src/util/libgnunetutil.la
59 libgnunetdhtlog_la_LDFLAGS = \
60 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
63 libgnunetdht_la_SOURCES = \
65 libgnunetdht_la_LIBADD = \
66 $(top_builddir)/src/util/libgnunetutil.la \
68 libgnunetdht_la_LDFLAGS = \
69 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
73 STUD_PROGS = gnunet-service-dht-can \
74 gnunet-service-dht-freenet \
75 gnunet-service-dht-kademlia \
76 gnunet-service-dht-koorde
79 bin_PROGRAMS = $(STUD_PROGS) \
88 gnunet_service_dht_SOURCES = \
90 gnunet_service_dht_LDADD = \
91 $(top_builddir)/src/statistics/libgnunetstatistics.la \
92 $(top_builddir)/src/core/libgnunetcore.la \
93 $(top_builddir)/src/transport/libgnunettransport.la \
94 $(top_builddir)/src/hello/libgnunethello.la \
95 $(top_builddir)/src/datacache/libgnunetdatacache.la \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/dht/libgnunetdhtlog.la
99 gnunet_service_dht_can_SOURCES = \
100 dht_can.c dht_can_helper.c dht_can_helper.h
101 gnunet_service_dht_can_LDADD = \
102 $(top_builddir)/src/statistics/libgnunetstatistics.la \
103 $(top_builddir)/src/core/libgnunetcore.la \
104 $(top_builddir)/src/transport/libgnunettransport.la \
105 $(top_builddir)/src/hello/libgnunethello.la \
106 $(top_builddir)/src/datacache/libgnunetdatacache.la \
107 $(top_builddir)/src/util/libgnunetutil.la
109 gnunet_service_dht_freenet_SOURCES = \
111 gnunet_service_dht_freenet_LDADD = \
112 $(top_builddir)/src/statistics/libgnunetstatistics.la \
113 $(top_builddir)/src/core/libgnunetcore.la \
114 $(top_builddir)/src/transport/libgnunettransport.la \
115 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
116 $(top_builddir)/src/hello/libgnunethello.la \
117 $(top_builddir)/src/datacache/libgnunetdatacache.la \
118 $(top_builddir)/src/util/libgnunetutil.la
120 gnunet_service_dht_kademlia_SOURCES = \
121 dht_kademlia.c dht_kademlia.h
122 gnunet_service_dht_kademlia_LDADD = \
123 $(top_builddir)/src/statistics/libgnunetstatistics.la \
124 $(top_builddir)/src/core/libgnunetcore.la \
125 $(top_builddir)/src/transport/libgnunettransport.la \
126 $(top_builddir)/src/hello/libgnunethello.la \
127 $(top_builddir)/src/datacache/libgnunetdatacache.la \
128 $(top_builddir)/src/util/libgnunetutil.la
130 gnunet_service_dht_koorde_SOURCES = \
131 dht_koorde.c dht_koorde.h
132 gnunet_service_dht_koorde_LDADD = \
133 $(top_builddir)/src/statistics/libgnunetstatistics.la \
134 $(top_builddir)/src/core/libgnunetcore.la \
135 $(top_builddir)/src/transport/libgnunettransport.la \
136 $(top_builddir)/src/hello/libgnunethello.la \
137 $(top_builddir)/src/datacache/libgnunetdatacache.la \
138 $(top_builddir)/src/util/libgnunetutil.la
140 #gnunet_service_dht_new_SOURCES = \
141 # gnunet-service-dht-new.c
142 #gnunet_service_dht_new_LDADD = \
143 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
144 # $(top_builddir)/src/core/libgnunetcore.la \
145 # $(top_builddir)/src/transport/libgnunettransport.la \
146 # $(top_builddir)/src/hello/libgnunethello.la \
147 # $(top_builddir)/src/datacache/libgnunetdatacache.la \
148 # $(top_builddir)/src/util/libgnunetutil.la \
149 # $(top_builddir)/src/dht/libgnunetdhtlog.la
151 gnunet_dht_get_SOURCES = \
153 gnunet_dht_get_LDADD = \
154 $(top_builddir)/src/dht/libgnunetdht.la \
155 $(top_builddir)/src/core/libgnunetcore.la \
156 $(top_builddir)/src/util/libgnunetutil.la
158 gnunet_dht_get_peer_SOURCES = \
159 gnunet-dht-get-peer.c
160 gnunet_dht_get_peer_LDADD = \
161 $(top_builddir)/src/dht/libgnunetdht.la \
162 $(top_builddir)/src/hello/libgnunethello.la \
163 $(top_builddir)/src/core/libgnunetcore.la \
164 $(top_builddir)/src/util/libgnunetutil.la
166 gnunet_dht_put_SOURCES = \
168 gnunet_dht_put_LDADD = \
169 $(top_builddir)/src/dht/libgnunetdht.la \
170 $(top_builddir)/src/core/libgnunetcore.la \
171 $(top_builddir)/src/util/libgnunetutil.la
173 gnunet_dht_driver_SOURCES = \
175 gnunet_dht_driver_LDADD = \
176 $(top_builddir)/src/dht/libgnunetdht.la \
177 $(top_builddir)/src/dht/libgnunetdhtlog.la \
178 $(top_builddir)/src/core/libgnunetcore.la \
179 $(top_builddir)/src/testing/libgnunettesting.la \
180 $(top_builddir)/src/util/libgnunetutil.la \
181 $(top_builddir)/src/dht/libgnunetdhtlog.la
186 test_dht_twopeer_put_get \
191 TESTS = test_dht_api $(check_SCRIPTS) \
193 test_dht_twopeer_put_get
196 test_dht_api_SOURCES = \
198 test_dht_api_LDADD = \
199 $(top_builddir)/src/util/libgnunetutil.la \
200 $(top_builddir)/src/hello/libgnunethello.la \
201 $(top_builddir)/src/dht/libgnunetdht.la
203 test_dht_multipeer_SOURCES = \
205 test_dht_multipeer_LDADD = \
206 $(top_builddir)/src/util/libgnunetutil.la \
207 $(top_builddir)/src/testing/libgnunettesting.la \
208 $(top_builddir)/src/dht/libgnunetdht.la
210 test_dht_twopeer_SOURCES = \
212 test_dht_twopeer_LDADD = \
213 $(top_builddir)/src/util/libgnunetutil.la \
214 $(top_builddir)/src/testing/libgnunettesting.la \
215 $(top_builddir)/src/dht/libgnunetdht.la
217 test_dht_twopeer_put_get_SOURCES = \
218 test_dht_twopeer_put_get.c
219 test_dht_twopeer_put_get_LDADD = \
220 $(top_builddir)/src/util/libgnunetutil.la \
221 $(top_builddir)/src/testing/libgnunettesting.la \
222 $(top_builddir)/src/dht/libgnunetdht.la
224 test_dhtlog_SOURCES = \
226 test_dhtlog_LDADD = \
227 $(top_builddir)/src/util/libgnunetutil.la \
228 $(top_builddir)/src/testing/libgnunettesting.la \
229 $(top_builddir)/src/dht/libgnunetdht.la \
230 $(top_builddir)/src/dht/libgnunetdhtlog.la
234 test_dht_api_data.conf \
235 test_dht_api_peer1.conf \
236 test_dht_twopeer_data.conf \
237 test_dht_multipeer_data.conf