# -lmysqlclient $(ZLIB_LNK) \
# -version-info 0:0:0
-
+
libgnunetdht_la_SOURCES = \
dht_api.c dht.h
libgnunetdht_la_LIBADD = \
gnunet-service-dht \
gnunet-dht-get \
gnunet-dht-get-peer \
- gnunet-dht-put \
+ gnunet-dht-put
+
+if HAVE_MYSQL
+noinst_PROGRAMS = \
gnunet-dht-driver
+endif
gnunet_service_dht_SOURCES = \
gnunet-service-dht.c
$(top_builddir)/src/dht/libgnunetdht.la \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/util/libgnunetutil.la
-
+
gnunet_dht_get_peer_SOURCES = \
gnunet-dht-get-peer.c
gnunet_dht_get_peer_LDADD = \
$(top_builddir)/src/dht/libgnunetdht.la \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/util/libgnunetutil.la
-
+
gnunet_dht_driver_SOURCES = \
gnunet-dht-driver.c
gnunet_dht_driver_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/hello/libgnunethello.la \
$(top_builddir)/src/dht/libgnunetdht.la
-
+
test_dht_multipeer_SOURCES = \
test_dht_multipeer.c
test_dht_multipeer_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/testing/libgnunettesting.la \
$(top_builddir)/src/dht/libgnunetdht.la
-
+
test_dht_twopeer_SOURCES = \
test_dht_twopeer.c
test_dht_twopeer_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/testing/libgnunettesting.la \
$(top_builddir)/src/dht/libgnunetdht.la
-
+
test_dht_twopeer_put_get_SOURCES = \
test_dht_twopeer_put_get.c
test_dht_twopeer_put_get_LDADD = \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/testing/libgnunettesting.la \
$(top_builddir)/src/dht/libgnunetdht.la
-
+
#test_dhtlog_SOURCES = \
# test_dhtlog.c
#test_dhtlog_LDADD = \
# $(top_builddir)/src/testing/libgnunettesting.la \
# $(top_builddir)/src/dht/libgnunetdht.la \
# $(top_builddir)/src/dht/libgnunetdhtlog.la
-
+
EXTRA_DIST = \
$(check_SCRIPTS) \
test_dht_api_data.conf \