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 \
42 # test_gns_simple_lookup
43 # test_gns_simple_delegated_lookup
44 # test_gns_dht_delegated_lookup
47 plugin_LTLIBRARIES = \
48 libgnunet_plugin_block_gns.la
50 #test_gns_twopeer_SOURCES = \
52 #test_gns_twopeer_LDADD = \
53 # $(top_builddir)/src/util/libgnunetutil.la \
54 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
55 # $(top_builddir)/src/testing/libgnunettesting.la
56 #test_gns_twopeer_DEPENDENCIES = \
57 # $(top_builddir)/src/util/libgnunetutil.la \
58 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
59 # $(top_builddir)/src/testing/libgnunettesting.la
61 test_gns_simple_lookup_SOURCES = \
62 test_gns_simple_lookup.c
63 test_gns_simple_lookup_LDADD = \
64 $(top_builddir)/src/util/libgnunetutil.la \
65 $(top_builddir)/src/namestore/libgnunetnamestore.la \
66 $(top_builddir)/src/gns/libgnunetgns.la \
67 $(top_builddir)/src/testing/libgnunettesting.la
68 test_gns_simple_lookup_DEPENDENCIES = \
69 $(top_builddir)/src/util/libgnunetutil.la \
70 $(top_builddir)/src/namestore/libgnunetnamestore.la \
71 $(top_builddir)/src/gns/libgnunetgns.la \
72 $(top_builddir)/src/testing/libgnunettesting.la
74 test_gns_simple_delegated_lookup_SOURCES = \
75 test_gns_simple_delegated_lookup.c
76 test_gns_simple_delegated_lookup_LDADD = \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/namestore/libgnunetnamestore.la \
79 $(top_builddir)/src/gns/libgnunetgns.la \
80 $(top_builddir)/src/testing/libgnunettesting.la
81 test_gns_simple_delegated_lookup_DEPENDENCIES = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/namestore/libgnunetnamestore.la \
84 $(top_builddir)/src/gns/libgnunetgns.la \
85 $(top_builddir)/src/testing/libgnunettesting.la
87 test_gns_dht_delegated_lookup_SOURCES = \
88 test_gns_dht_delegated_lookup.c
89 test_gns_dht_delegated_lookup_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la \
91 $(top_builddir)/src/namestore/libgnunetnamestore.la \
92 $(top_builddir)/src/dht/libgnunetdht.la \
93 $(top_builddir)/src/gns/libgnunetgns.la \
94 $(top_builddir)/src/testing/libgnunettesting.la
95 test_gns_dht_delegated_lookup_DEPENDENCIES = \
96 $(top_builddir)/src/util/libgnunetutil.la \
97 $(top_builddir)/src/namestore/libgnunetnamestore.la \
98 $(top_builddir)/src/dht/libgnunetdht.la \
99 $(top_builddir)/src/gns/libgnunetgns.la \
100 $(top_builddir)/src/testing/libgnunettesting.la
102 test_gns_simple_shorten_SOURCES = \
103 test_gns_simple_shorten.c
104 test_gns_simple_shorten_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la \
107 $(top_builddir)/src/gns/libgnunetgns.la \
108 $(top_builddir)/src/testing/libgnunettesting.la
109 test_gns_simple_shorten_DEPENDENCIES = \
110 $(top_builddir)/src/util/libgnunetutil.la \
111 $(top_builddir)/src/namestore/libgnunetnamestore.la \
112 $(top_builddir)/src/gns/libgnunetgns.la \
113 $(top_builddir)/src/testing/libgnunettesting.la
115 test_gns_simple_get_authority_SOURCES = \
116 test_gns_simple_get_authority.c
117 test_gns_simple_get_authority_LDADD = \
118 $(top_builddir)/src/util/libgnunetutil.la \
119 $(top_builddir)/src/namestore/libgnunetnamestore.la \
120 $(top_builddir)/src/gns/libgnunetgns.la \
121 $(top_builddir)/src/testing/libgnunettesting.la
122 test_gns_simple_get_authority_DEPENDENCIES = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/namestore/libgnunetnamestore.la \
125 $(top_builddir)/src/gns/libgnunetgns.la \
126 $(top_builddir)/src/testing/libgnunettesting.la
129 test_gns_pseu_shorten_SOURCES = \
130 test_gns_pseu_shorten.c
131 test_gns_pseu_shorten_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/namestore/libgnunetnamestore.la \
134 $(top_builddir)/src/dht/libgnunetdht.la \
135 $(top_builddir)/src/gns/libgnunetgns.la \
136 $(top_builddir)/src/testing/libgnunettesting.la
137 test_gns_pseu_shorten_DEPENDENCIES = \
138 $(top_builddir)/src/util/libgnunetutil.la \
139 $(top_builddir)/src/namestore/libgnunetnamestore.la \
140 $(top_builddir)/src/dht/libgnunetdht.la \
141 $(top_builddir)/src/gns/libgnunetgns.la \
142 $(top_builddir)/src/testing/libgnunettesting.la
144 gnunet_gns_SOURCES = \
147 $(top_builddir)/src/gns/libgnunetgns.la \
148 $(top_builddir)/src/util/libgnunetutil.la \
149 $(top_builddir)/src/namestore/libgnunetnamestore.la \
151 gnunet_gns_DEPENDENCIES = \
154 gnunet_service_gns_SOURCES = \
155 gnunet-service-gns.c \
156 gnunet-service-gns_resolver.c \
157 gnunet-service-gns_interceptor.c
158 gnunet_service_gns_LDADD = \
159 $(top_builddir)/src/tun/libgnunettun.la \
160 $(top_builddir)/src/mesh/libgnunetmesh.la \
161 $(top_builddir)/src/statistics/libgnunetstatistics.la \
162 $(top_builddir)/src/util/libgnunetutil.la \
163 $(top_builddir)/src/dns/libgnunetdns.la \
164 $(top_builddir)/src/dns/libgnunetdnsparser.la \
165 $(top_builddir)/src/dht/libgnunetdht.la \
166 $(top_builddir)/src/namestore/libgnunetnamestore.la \
168 gnunet_service_gns_DEPENDENCIES = \
169 $(top_builddir)/src/tun/libgnunettun.la \
170 $(top_builddir)/src/mesh/libgnunetmesh.la \
171 $(top_builddir)/src/statistics/libgnunetstatistics.la \
172 $(top_builddir)/src/util/libgnunetutil.la \
173 $(top_builddir)/src/dns/libgnunetdns.la \
174 $(top_builddir)/src/dns/libgnunetdnsparser.la \
175 $(top_builddir)/src/dht/libgnunetdht.la \
176 $(top_builddir)/src/namestore/libgnunetnamestore.la
179 gnunet_gns_fcfsd_SOURCES = \
181 gnunet_gns_fcfsd_LDADD = -lmicrohttpd \
182 $(top_builddir)/src/util/libgnunetutil.la \
183 $(top_builddir)/src/namestore/libgnunetnamestore.la \
185 gnunet_gns_fcfsd_DEPENDENCIES = \
186 $(top_builddir)/src/util/libgnunetutil.la \
187 $(top_builddir)/src/namestore/libgnunetnamestore.la
190 libgnunetgns_la_SOURCES = \
192 libgnunetgns_la_LIBADD = \
193 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
194 $(top_builddir)/src/namestore/libgnunetnamestore.la
195 libgnunetgns_la_LDFLAGS = \
197 libgnunetgns_la_DEPENDENCIES = \
198 $(top_builddir)/src/util/libgnunetutil.la \
199 $(top_builddir)/src/namestore/libgnunetnamestore.la
201 libgnunet_plugin_block_gns_la_SOURCES = \
203 libgnunet_plugin_block_gns_la_LIBADD = \
204 $(top_builddir)/src/util/libgnunetutil.la \
205 $(top_builddir)/src/block/libgnunetblock.la \
206 $(top_builddir)/src/namestore/libgnunetnamestore.la
207 libgnunet_plugin_block_gns_la_LDFLAGS = \
209 libgnunet_plugin_block_gns_la_DEPENDENCIES = \
210 $(top_builddir)/src/util/libgnunetutil.la \
211 $(top_builddir)/src/block/libgnunetblock.la \
212 $(top_builddir)/src/namestore/libgnunetnamestore.la
215 #libgnunetnamestore_la_SOURCES = \
216 # namestore_stub_api.c
217 #libgnunetnamestore_la_LIBADD = \
218 # $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
219 #libgnunetnamestore_la_LDFLAGS = \
221 #libgnunetnamestore_la_DEPENDENCIES = \
222 # $(top_builddir)/src/util/libgnunetutil.la
225 TESTS = $(check_PROGRAMS)
229 test_gns_simple_lookup.conf