1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
11 pkgcfgdir= $(pkgdatadir)/config.d/
13 plugindir = $(libdir)/gnunet
22 DO_FCFSD=gnunet-gns-fcfsd
34 test_gns_simple_shorten \
35 test_gns_simple_get_authority \
36 test_gns_simple_lookup \
37 test_gns_simple_delegated_lookup \
38 test_gns_dht_delegated_lookup
41 # test_gns_simple_lookup
42 # test_gns_simple_delegated_lookup
43 # test_gns_dht_delegated_lookup
46 plugin_LTLIBRARIES = \
47 libgnunet_plugin_block_gns.la
49 #test_gns_twopeer_SOURCES = \
51 #test_gns_twopeer_LDADD = \
52 # $(top_builddir)/src/util/libgnunetutil.la \
53 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
54 # $(top_builddir)/src/testing/libgnunettesting.la
55 #test_gns_twopeer_DEPENDENCIES = \
56 # $(top_builddir)/src/util/libgnunetutil.la \
57 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
58 # $(top_builddir)/src/testing/libgnunettesting.la
60 test_gns_simple_lookup_SOURCES = \
61 test_gns_simple_lookup.c
62 test_gns_simple_lookup_LDADD = \
63 $(top_builddir)/src/util/libgnunetutil.la \
64 $(top_builddir)/src/namestore/libgnunetnamestore.la \
65 $(top_builddir)/src/gns/libgnunetgns.la \
66 $(top_builddir)/src/testing/libgnunettesting.la
67 test_gns_simple_lookup_DEPENDENCIES = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 $(top_builddir)/src/namestore/libgnunetnamestore.la \
70 $(top_builddir)/src/gns/libgnunetgns.la \
71 $(top_builddir)/src/testing/libgnunettesting.la
73 test_gns_simple_delegated_lookup_SOURCES = \
74 test_gns_simple_delegated_lookup.c
75 test_gns_simple_delegated_lookup_LDADD = \
76 $(top_builddir)/src/util/libgnunetutil.la \
77 $(top_builddir)/src/namestore/libgnunetnamestore.la \
78 $(top_builddir)/src/gns/libgnunetgns.la \
79 $(top_builddir)/src/testing/libgnunettesting.la
80 test_gns_simple_delegated_lookup_DEPENDENCIES = \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 $(top_builddir)/src/namestore/libgnunetnamestore.la \
83 $(top_builddir)/src/gns/libgnunetgns.la \
84 $(top_builddir)/src/testing/libgnunettesting.la
86 test_gns_dht_delegated_lookup_SOURCES = \
87 test_gns_dht_delegated_lookup.c
88 test_gns_dht_delegated_lookup_LDADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/namestore/libgnunetnamestore.la \
91 $(top_builddir)/src/dht/libgnunetdht.la \
92 $(top_builddir)/src/gns/libgnunetgns.la \
93 $(top_builddir)/src/testing/libgnunettesting.la
94 test_gns_dht_delegated_lookup_DEPENDENCIES = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/namestore/libgnunetnamestore.la \
97 $(top_builddir)/src/dht/libgnunetdht.la \
98 $(top_builddir)/src/gns/libgnunetgns.la \
99 $(top_builddir)/src/testing/libgnunettesting.la
101 test_gns_simple_shorten_SOURCES = \
102 test_gns_simple_shorten.c
103 test_gns_simple_shorten_LDADD = \
104 $(top_builddir)/src/util/libgnunetutil.la \
105 $(top_builddir)/src/namestore/libgnunetnamestore.la \
106 $(top_builddir)/src/gns/libgnunetgns.la \
107 $(top_builddir)/src/testing/libgnunettesting.la
108 test_gns_simple_shorten_DEPENDENCIES = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/namestore/libgnunetnamestore.la \
111 $(top_builddir)/src/gns/libgnunetgns.la \
112 $(top_builddir)/src/testing/libgnunettesting.la
114 test_gns_simple_get_authority_SOURCES = \
115 test_gns_simple_get_authority.c
116 test_gns_simple_get_authority_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/namestore/libgnunetnamestore.la \
119 $(top_builddir)/src/gns/libgnunetgns.la \
120 $(top_builddir)/src/testing/libgnunettesting.la
121 test_gns_simple_get_authority_DEPENDENCIES = \
122 $(top_builddir)/src/util/libgnunetutil.la \
123 $(top_builddir)/src/namestore/libgnunetnamestore.la \
124 $(top_builddir)/src/gns/libgnunetgns.la \
125 $(top_builddir)/src/testing/libgnunettesting.la
128 gnunet_gns_SOURCES = \
131 $(top_builddir)/src/gns/libgnunetgns.la \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/namestore/libgnunetnamestore.la \
135 gnunet_gns_DEPENDENCIES = \
138 gnunet_service_gns_SOURCES = \
139 gnunet-service-gns.c \
140 gnunet-service-gns_resolver.c \
141 gnunet-service-gns_interceptor.c
142 gnunet_service_gns_LDADD = \
143 $(top_builddir)/src/tun/libgnunettun.la \
144 $(top_builddir)/src/mesh/libgnunetmesh.la \
145 $(top_builddir)/src/statistics/libgnunetstatistics.la \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/dns/libgnunetdns.la \
148 $(top_builddir)/src/dns/libgnunetdnsparser.la \
149 $(top_builddir)/src/dht/libgnunetdht.la \
150 $(top_builddir)/src/namestore/libgnunetnamestore.la \
152 gnunet_service_gns_DEPENDENCIES = \
153 $(top_builddir)/src/tun/libgnunettun.la \
154 $(top_builddir)/src/mesh/libgnunetmesh.la \
155 $(top_builddir)/src/statistics/libgnunetstatistics.la \
156 $(top_builddir)/src/util/libgnunetutil.la \
157 $(top_builddir)/src/dns/libgnunetdns.la \
158 $(top_builddir)/src/dns/libgnunetdnsparser.la \
159 $(top_builddir)/src/dht/libgnunetdht.la \
160 $(top_builddir)/src/namestore/libgnunetnamestore.la
163 gnunet_gns_fcfsd_SOURCES = \
165 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
166 $(top_builddir)/src/util/libgnunetutil.la \
167 $(top_builddir)/src/namestore/libgnunetnamestore.la \
169 gnunet_gns_fcfsd_DEPENDENCIES = \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/namestore/libgnunetnamestore.la
174 libgnunetgns_la_SOURCES = \
176 libgnunetgns_la_LIBADD = \
177 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
178 $(top_builddir)/src/namestore/libgnunetnamestore.la
179 libgnunetgns_la_LDFLAGS = \
181 libgnunetgns_la_DEPENDENCIES = \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/namestore/libgnunetnamestore.la
185 libgnunet_plugin_block_gns_la_SOURCES = \
187 libgnunet_plugin_block_gns_la_LIBADD = \
188 $(top_builddir)/src/util/libgnunetutil.la \
189 $(top_builddir)/src/block/libgnunetblock.la \
190 $(top_builddir)/src/namestore/libgnunetnamestore.la
191 libgnunet_plugin_block_gns_la_LDFLAGS = \
193 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
194 $(top_builddir)/src/util/libgnunetutil.la \
195 $(top_builddir)/src/block/libgnunetblock.la \
196 $(top_builddir)/src/namestore/libgnunetnamestore.la
199 #libgnunetnamestore_la_SOURCES = \
200 # namestore_stub_api.c
201 #libgnunetnamestore_la_LIBADD = \
202 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
203 #libgnunetnamestore_la_LDFLAGS = \
205 #libgnunetnamestore_la_DEPENDENCIES = \
206 # $(top_builddir)/src/util/libgnunetutil.la
209 TESTS = $(check_PROGRAMS)
213 test_gns_simple_lookup.conf