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) -lmysqlclient $(ZLIB_LNK)
53 libgnunetdht_la_SOURCES = \
55 libgnunetdht_la_LIBADD = \
56 $(top_builddir)/src/util/libgnunetutil.la \
58 libgnunetdht_la_LDFLAGS = \
59 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
71 gnunet_service_dht_SOURCES = \
73 gnunet_service_dht_LDADD = \
74 $(top_builddir)/src/statistics/libgnunetstatistics.la \
75 $(top_builddir)/src/core/libgnunetcore.la \
76 $(top_builddir)/src/transport/libgnunettransport.la \
77 $(top_builddir)/src/hello/libgnunethello.la \
78 $(top_builddir)/src/datacache/libgnunetdatacache.la \
79 $(top_builddir)/src/util/libgnunetutil.la \
80 $(top_builddir)/src/dht/libgnunetdhtlog.la
82 gnunet_dht_get_SOURCES = \
84 gnunet_dht_get_LDADD = \
85 $(top_builddir)/src/dht/libgnunetdht.la \
86 $(top_builddir)/src/core/libgnunetcore.la \
87 $(top_builddir)/src/util/libgnunetutil.la
89 gnunet_dht_get_peer_SOURCES = \
91 gnunet_dht_get_peer_LDADD = \
92 $(top_builddir)/src/dht/libgnunetdht.la \
93 $(top_builddir)/src/hello/libgnunethello.la \
94 $(top_builddir)/src/core/libgnunetcore.la \
95 $(top_builddir)/src/util/libgnunetutil.la
97 gnunet_dht_put_SOURCES = \
99 gnunet_dht_put_LDADD = \
100 $(top_builddir)/src/dht/libgnunetdht.la \
101 $(top_builddir)/src/core/libgnunetcore.la \
102 $(top_builddir)/src/util/libgnunetutil.la
104 gnunet_dht_driver_SOURCES = \
106 gnunet_dht_driver_LDADD = \
107 $(top_builddir)/src/dht/libgnunetdht.la \
108 $(top_builddir)/src/dht/libgnunetdhtlog.la \
109 $(top_builddir)/src/core/libgnunetcore.la \
110 $(top_builddir)/src/testing/libgnunettesting.la \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/dht/libgnunetdhtlog.la
117 test_dht_twopeer_put_get \
121 TESTS = test_dht_api $(check_SCRIPTS)
123 test_dht_api_SOURCES = \
125 test_dht_api_LDADD = \
126 $(top_builddir)/src/util/libgnunetutil.la \
127 $(top_builddir)/src/hello/libgnunethello.la \
128 $(top_builddir)/src/dht/libgnunetdht.la
130 test_dht_multipeer_SOURCES = \
132 test_dht_multipeer_LDADD = \
133 $(top_builddir)/src/util/libgnunetutil.la \
134 $(top_builddir)/src/testing/libgnunettesting.la \
135 $(top_builddir)/src/dht/libgnunetdht.la
137 test_dht_twopeer_SOURCES = \
139 test_dht_twopeer_LDADD = \
140 $(top_builddir)/src/util/libgnunetutil.la \
141 $(top_builddir)/src/testing/libgnunettesting.la \
142 $(top_builddir)/src/dht/libgnunetdht.la
144 test_dht_twopeer_put_get_SOURCES = \
145 test_dht_twopeer_put_get.c
146 test_dht_twopeer_put_get_LDADD = \
147 $(top_builddir)/src/util/libgnunetutil.la \
148 $(top_builddir)/src/testing/libgnunettesting.la \
149 $(top_builddir)/src/dht/libgnunetdht.la
151 test_dhtlog_SOURCES = \
153 test_dhtlog_LDADD = \
154 $(top_builddir)/src/util/libgnunetutil.la \
155 $(top_builddir)/src/testing/libgnunettesting.la \
156 $(top_builddir)/src/dht/libgnunetdht.la \
157 $(top_builddir)/src/dht/libgnunetdhtlog.la
161 test_dht_api_data.conf \
162 test_dht_api_peer1.conf \
163 test_dht_twopeer_data.conf \
164 test_dht_multipeer_data.conf