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
13 AM_CFLAGS = --coverage -O0
21 libgnunetdht_la_SOURCES = \
23 libgnunetdht_la_LIBADD = \
24 $(top_builddir)/src/util/libgnunetutil.la \
26 libgnunetdht_la_LDFLAGS = \
27 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
35 gnunet_service_dht_SOURCES = \
36 gnunet-service-dht.c gnunet-service-dht.h \
37 gnunet-service-dht_clients.c gnunet-service-dht_clients.h \
38 gnunet-service-dht_datacache.c gnunet-service-dht_datacache.h \
39 gnunet-service-dht_hello.c gnunet-service-dht_hello.h \
40 gnunet-service-dht_nse.c gnunet-service-dht_nse.h \
41 gnunet-service-dht_neighbours.c gnunet-service-dht_neighbours.h \
42 gnunet-service-dht_routing.c gnunet-service-dht_routing.h
43 gnunet_service_dht_LDADD = \
44 $(top_builddir)/src/statistics/libgnunetstatistics.la \
45 $(top_builddir)/src/core/libgnunetcore.la \
46 $(top_builddir)/src/nse/libgnunetnse.la \
47 $(top_builddir)/src/ats/libgnunetats.la \
48 $(top_builddir)/src/transport/libgnunettransport.la \
49 $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
50 $(top_builddir)/src/hello/libgnunethello.la \
51 $(top_builddir)/src/block/libgnunetblock.la \
52 $(top_builddir)/src/datacache/libgnunetdatacache.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
56 gnunet_dht_get_SOURCES = \
58 gnunet_dht_get_LDADD = \
59 $(top_builddir)/src/dht/libgnunetdht.la \
60 $(top_builddir)/src/core/libgnunetcore.la \
61 $(top_builddir)/src/util/libgnunetutil.la
62 gnunet_dht_get_DEPENDENCIES = \
65 gnunet_dht_put_SOURCES = \
67 gnunet_dht_put_LDADD = \
68 $(top_builddir)/src/dht/libgnunetdht.la \
69 $(top_builddir)/src/core/libgnunetcore.la \
70 $(top_builddir)/src/util/libgnunetutil.la
71 gnunet_dht_put_DEPENDENCIES = \
77 test_dht_twopeer_put_get \
78 test_dht_twopeer_get_put \
79 test_dht_twopeer_path_tracking \
84 TESTS = test_dht_api $(check_SCRIPTS) \
86 test_dht_twopeer_put_get \
87 test_dht_twopeer_get_put \
88 test_dht_twopeer_path_tracking \
93 test_dht_api_SOURCES = \
95 test_dht_api_LDADD = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/hello/libgnunethello.la \
98 $(top_builddir)/src/dht/libgnunetdht.la
99 test_dht_api_DEPENDENCIES = \
102 test_dht_twopeer_SOURCES = \
104 test_dht_twopeer_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/testing/libgnunettesting.la \
107 $(top_builddir)/src/dht/libgnunetdht.la
108 test_dht_twopeer_DEPENDENCIES = \
111 test_dht_twopeer_put_get_SOURCES = \
112 test_dht_twopeer_put_get.c
113 test_dht_twopeer_put_get_LDADD = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/testing/libgnunettesting.la \
116 $(top_builddir)/src/dht/libgnunetdht.la
118 test_dht_twopeer_get_put_SOURCES = \
119 test_dht_twopeer_get_put.c
120 test_dht_twopeer_get_put_LDADD = \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/testing/libgnunettesting.la \
123 $(top_builddir)/src/dht/libgnunetdht.la
125 test_dht_twopeer_path_tracking_SOURCES = \
126 test_dht_twopeer_path_tracking.c
127 test_dht_twopeer_path_tracking_LDADD = \
128 $(top_builddir)/src/util/libgnunetutil.la \
129 $(top_builddir)/src/testing/libgnunettesting.la \
130 $(top_builddir)/src/dht/libgnunetdht.la
132 test_dht_multipeer_SOURCES = \
134 test_dht_multipeer_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/statistics/libgnunetstatistics.la \
137 $(top_builddir)/src/testing/libgnunettesting.la \
138 $(top_builddir)/src/dht/libgnunetdht.la
139 test_dht_multipeer_DEPENDENCIES = \
142 test_dht_2dtorus_SOURCES = \
144 test_dht_2dtorus_LDADD = \
145 $(top_builddir)/src/util/libgnunetutil.la \
146 $(top_builddir)/src/testing/libgnunettesting.la \
147 $(top_builddir)/src/dht/libgnunetdht.la
148 test_dht_2dtorus_DEPENDENCIES = \
153 test_dht_api_data.conf \
154 test_dht_api_peer1.conf \
155 test_dht_twopeer_data.conf \
156 test_dht_multipeer_data.conf \
157 test_dht_2dtorus.conf \