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 = \
25 libgnunet_plugin_dhtlog_dummy.la $(MYSQL_PLUGIN)
27 libgnunet_plugin_dhtlog_dummy_la_SOURCES = \
29 libgnunet_plugin_dhtlog_dummy_la_LIBADD = \
30 $(top_builddir)/src/util/libgnunetutil.la \
32 libgnunet_plugin_dhtlog_dummy_la_LDFLAGS = \
35 libgnunetdhtlog_la_SOURCES = \
37 libgnunetdhtlog_la_LIBADD = \
38 $(top_builddir)/src/util/libgnunetutil.la
39 libgnunetdhtlog_la_LDFLAGS = \
40 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
44 libgnunet_plugin_dhtlog_mysql_la_SOURCES = \
46 libgnunet_plugin_dhtlog_mysql_la_LIBADD = \
47 $(top_builddir)/src/util/libgnunetutil.la \
49 libgnunet_plugin_dhtlog_mysql_la_LDFLAGS = \
50 $(GN_PLUGIN_LDFLAGS) $(MYSQL_LDFLAGS) -lmysqlclient $(ZLIB_LNK)
51 libgnunet_plugin_dhtlog_mysql_la_CPPFLAGS = \
55 libgnunetdht_la_SOURCES = \
57 libgnunetdht_la_LIBADD = \
58 $(top_builddir)/src/util/libgnunetutil.la \
60 libgnunetdht_la_LDFLAGS = \
61 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
65 STUD_PROGS = gnunet-service-dht-can \
66 gnunet-service-dht-freenet \
67 gnunet-service-dht-kademlia \
68 gnunet-service-dht-koorde
71 bin_PROGRAMS = $(STUD_PROGS) \
80 gnunet_service_dht_SOURCES = \
82 gnunet_service_dht_LDADD = \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la \
84 $(top_builddir)/src/core/libgnunetcore.la \
85 $(top_builddir)/src/transport/libgnunettransport.la \
86 $(top_builddir)/src/hello/libgnunethello.la \
87 $(top_builddir)/src/datacache/libgnunetdatacache.la \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/dht/libgnunetdhtlog.la
91 gnunet_service_dht_can_SOURCES = \
92 dht_can.c dht_can_helper.c dht_can_helper.h
93 gnunet_service_dht_can_LDADD = \
94 $(top_builddir)/src/statistics/libgnunetstatistics.la \
95 $(top_builddir)/src/core/libgnunetcore.la \
96 $(top_builddir)/src/transport/libgnunettransport.la \
97 $(top_builddir)/src/hello/libgnunethello.la \
98 $(top_builddir)/src/datacache/libgnunetdatacache.la \
99 $(top_builddir)/src/util/libgnunetutil.la
101 gnunet_service_dht_freenet_SOURCES = \
103 gnunet_service_dht_freenet_LDADD = \
104 $(top_builddir)/src/statistics/libgnunetstatistics.la \
105 $(top_builddir)/src/core/libgnunetcore.la \
106 $(top_builddir)/src/transport/libgnunettransport.la \
107 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
108 $(top_builddir)/src/hello/libgnunethello.la \
109 $(top_builddir)/src/datacache/libgnunetdatacache.la \
110 $(top_builddir)/src/util/libgnunetutil.la
112 gnunet_service_dht_kademlia_SOURCES = \
113 dht_kademlia.c dht_kademlia.h
114 gnunet_service_dht_kademlia_LDADD = \
115 $(top_builddir)/src/statistics/libgnunetstatistics.la \
116 $(top_builddir)/src/core/libgnunetcore.la \
117 $(top_builddir)/src/transport/libgnunettransport.la \
118 $(top_builddir)/src/hello/libgnunethello.la \
119 $(top_builddir)/src/datacache/libgnunetdatacache.la \
120 $(top_builddir)/src/util/libgnunetutil.la
122 gnunet_service_dht_koorde_SOURCES = \
123 dht_koorde.c dht_koorde.h
124 gnunet_service_dht_koorde_LDADD = \
125 $(top_builddir)/src/statistics/libgnunetstatistics.la \
126 $(top_builddir)/src/core/libgnunetcore.la \
127 $(top_builddir)/src/transport/libgnunettransport.la \
128 $(top_builddir)/src/hello/libgnunethello.la \
129 $(top_builddir)/src/datacache/libgnunetdatacache.la \
130 $(top_builddir)/src/util/libgnunetutil.la
132 #gnunet_service_dht_new_SOURCES = \
133 # gnunet-service-dht-new.c
134 #gnunet_service_dht_new_LDADD = \
135 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
136 # $(top_builddir)/src/core/libgnunetcore.la \
137 # $(top_builddir)/src/transport/libgnunettransport.la \
138 # $(top_builddir)/src/hello/libgnunethello.la \
139 # $(top_builddir)/src/datacache/libgnunetdatacache.la \
140 # $(top_builddir)/src/util/libgnunetutil.la \
141 # $(top_builddir)/src/dht/libgnunetdhtlog.la
143 gnunet_dht_get_SOURCES = \
145 gnunet_dht_get_LDADD = \
146 $(top_builddir)/src/dht/libgnunetdht.la \
147 $(top_builddir)/src/core/libgnunetcore.la \
148 $(top_builddir)/src/util/libgnunetutil.la
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
158 gnunet_dht_put_SOURCES = \
160 gnunet_dht_put_LDADD = \
161 $(top_builddir)/src/dht/libgnunetdht.la \
162 $(top_builddir)/src/core/libgnunetcore.la \
163 $(top_builddir)/src/util/libgnunetutil.la
165 gnunet_dht_driver_SOURCES = \
167 gnunet_dht_driver_LDADD = \
168 $(top_builddir)/src/dht/libgnunetdht.la \
169 $(top_builddir)/src/dht/libgnunetdhtlog.la \
170 $(top_builddir)/src/core/libgnunetcore.la \
171 $(top_builddir)/src/testing/libgnunettesting.la \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/dht/libgnunetdhtlog.la
178 test_dht_twopeer_put_get \
182 TESTS = test_dht_api $(check_SCRIPTS) \
184 test_dht_twopeer_put_get
186 test_dht_api_SOURCES = \
188 test_dht_api_LDADD = \
189 $(top_builddir)/src/util/libgnunetutil.la \
190 $(top_builddir)/src/hello/libgnunethello.la \
191 $(top_builddir)/src/dht/libgnunetdht.la
193 test_dht_multipeer_SOURCES = \
195 test_dht_multipeer_LDADD = \
196 $(top_builddir)/src/util/libgnunetutil.la \
197 $(top_builddir)/src/testing/libgnunettesting.la \
198 $(top_builddir)/src/dht/libgnunetdht.la
200 test_dht_twopeer_SOURCES = \
202 test_dht_twopeer_LDADD = \
203 $(top_builddir)/src/util/libgnunetutil.la \
204 $(top_builddir)/src/testing/libgnunettesting.la \
205 $(top_builddir)/src/dht/libgnunetdht.la
207 test_dht_twopeer_put_get_SOURCES = \
208 test_dht_twopeer_put_get.c
209 test_dht_twopeer_put_get_LDADD = \
210 $(top_builddir)/src/util/libgnunetutil.la \
211 $(top_builddir)/src/testing/libgnunettesting.la \
212 $(top_builddir)/src/dht/libgnunetdht.la
214 test_dhtlog_SOURCES = \
216 test_dhtlog_LDADD = \
217 $(top_builddir)/src/util/libgnunetutil.la \
218 $(top_builddir)/src/testing/libgnunettesting.la \
219 $(top_builddir)/src/dht/libgnunetdht.la \
220 $(top_builddir)/src/dht/libgnunetdhtlog.la
224 test_dht_api_data.conf \
225 test_dht_api_peer1.conf \
226 test_dht_twopeer_data.conf \
227 test_dht_multipeer_data.conf