1 INCLUDES = -I$(top_srcdir)/src/include
3 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols -lole32 -lshell32 -liconv -lstdc++ -lcomdlg32 -lgdi32
11 AM_CFLAGS = --coverage -O0
15 lib_LTLIBRARIES = libgnunetdht.la
18 #libgnunetdhtlog_la_SOURCES = \
19 # dhtlog_mysql.c dhtlog.h
20 #libgnunetdhtlog_la_LIBADD = \
21 # $(top_builddir)/src/util/libgnunetutil.la \
23 #libgnunetdhtlog_la_LDFLAGS = \
24 # $(GN_LIB_LDFLAGS) $(WINFLAGS) \
25 # -lmysqlclient $(ZLIB_LNK) \
29 libgnunetdht_la_SOURCES = \
31 libgnunetdht_la_LIBADD = \
32 $(top_builddir)/src/util/libgnunetutil.la \
34 libgnunetdht_la_LDFLAGS = \
35 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
45 gnunet_service_dht_SOURCES = \
47 gnunet_service_dht_LDADD = \
48 $(top_builddir)/src/statistics/libgnunetstatistics.la \
49 $(top_builddir)/src/core/libgnunetcore.la \
50 $(top_builddir)/src/transport/libgnunettransport.la \
51 $(top_builddir)/src/hello/libgnunethello.la \
52 $(top_builddir)/src/datacache/libgnunetdatacache.la \
53 $(top_builddir)/src/util/libgnunetutil.la
55 #gnunet_service_dht_new_SOURCES = \
56 # gnunet-service-dht-new.c
57 #gnunet_service_dht_new_LDADD = \
58 # $(top_builddir)/src/statistics/libgnunetstatistics.la \
59 # $(top_builddir)/src/core/libgnunetcore.la \
60 # $(top_builddir)/src/transport/libgnunettransport.la \
61 # $(top_builddir)/src/hello/libgnunethello.la \
62 # $(top_builddir)/src/datacache/libgnunetdatacache.la \
63 # $(top_builddir)/src/util/libgnunetutil.la \
64 # $(top_builddir)/src/dht/libgnunetdhtlog.la
66 gnunet_dht_get_SOURCES = \
68 gnunet_dht_get_LDADD = \
69 $(top_builddir)/src/dht/libgnunetdht.la \
70 $(top_builddir)/src/core/libgnunetcore.la \
71 $(top_builddir)/src/util/libgnunetutil.la
73 gnunet_dht_get_peer_SOURCES = \
75 gnunet_dht_get_peer_LDADD = \
76 $(top_builddir)/src/dht/libgnunetdht.la \
77 $(top_builddir)/src/hello/libgnunethello.la \
78 $(top_builddir)/src/core/libgnunetcore.la \
79 $(top_builddir)/src/util/libgnunetutil.la
81 gnunet_dht_put_SOURCES = \
83 gnunet_dht_put_LDADD = \
84 $(top_builddir)/src/dht/libgnunetdht.la \
85 $(top_builddir)/src/core/libgnunetcore.la \
86 $(top_builddir)/src/util/libgnunetutil.la
88 gnunet_dht_driver_SOURCES = \
90 gnunet_dht_driver_LDADD = \
91 $(top_builddir)/src/dht/libgnunetdht.la \
92 $(top_builddir)/src/dht/libgnunetdhtlog.la \
93 $(top_builddir)/src/core/libgnunetcore.la \
94 $(top_builddir)/src/testing/libgnunettesting.la \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/dht/libgnunetdhtlog.la
101 test_dht_twopeer_put_get \
105 TESTS = test_dht_api $(check_SCRIPTS)
107 test_dht_api_SOURCES = \
109 test_dht_api_LDADD = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/hello/libgnunethello.la \
112 $(top_builddir)/src/dht/libgnunetdht.la
114 test_dht_multipeer_SOURCES = \
116 test_dht_multipeer_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/testing/libgnunettesting.la \
119 $(top_builddir)/src/dht/libgnunetdht.la
121 test_dht_twopeer_SOURCES = \
123 test_dht_twopeer_LDADD = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/testing/libgnunettesting.la \
126 $(top_builddir)/src/dht/libgnunetdht.la
128 test_dht_twopeer_put_get_SOURCES = \
129 test_dht_twopeer_put_get.c
130 test_dht_twopeer_put_get_LDADD = \
131 $(top_builddir)/src/util/libgnunetutil.la \
132 $(top_builddir)/src/testing/libgnunettesting.la \
133 $(top_builddir)/src/dht/libgnunetdht.la
135 #test_dhtlog_SOURCES = \
137 #test_dhtlog_LDADD = \
138 # $(top_builddir)/src/util/libgnunetutil.la \
139 # $(top_builddir)/src/testing/libgnunettesting.la \
140 # $(top_builddir)/src/dht/libgnunetdht.la \
141 # $(top_builddir)/src/dht/libgnunetdhtlog.la
145 test_dht_api_data.conf \
146 test_dht_api_peer1.conf \
147 test_dht_twopeer_data.conf \
148 test_dht_multipeer_data.conf