1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = --coverage -O0
22 test_plugin_namestore_sqlite
28 test_namestore_record_serialization \
29 test_namestore_api_sign_verify \
31 test_namestore_api_put \
32 test_namestore_api_lookup \
33 test_namestore_api_lookup_specific_type \
34 test_namestore_api_create \
35 test_namestore_api_create_update \
36 test_namestore_api_remove \
37 test_namestore_api_remove_not_existing_record \
38 test_namestore_api_zone_to_name \
39 test_namestore_api_zone_iteration \
40 test_namestore_api_zone_iteration_specific_zone \
41 test_namestore_api_zone_iteration_stop
44 TESTS = $(check_PROGRAMS)
50 libgnunetnamestore_la_SOURCES = \
51 namestore_api.c namestore_common.c namestore.h
52 libgnunetnamestore_la_LIBADD = \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 $(top_builddir)/src/util/libgnunetutil.la \
56 libgnunetnamestore_la_LDFLAGS = \
57 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
61 gnunet-service-namestore \
65 gnunet_namestore_SOURCES = \
67 gnunet_namestore_LDADD = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 libgnunetnamestore.la \
71 gnunet_namestore_DEPENDENCIES = \
72 $(top_builddir)/src/util/libgnunetutil.la \
77 gnunet_service_namestore_SOURCES = \
78 gnunet-service-namestore.c
80 gnunet_service_namestore_LDADD = \
81 $(top_builddir)/src/statistics/libgnunetstatistics.la \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 libgnunetnamestore.la \
85 gnunet_service_namestore_DEPENDENCIES = \
86 $(top_builddir)/src/statistics/libgnunetstatistics.la \
87 $(top_builddir)/src/util/libgnunetutil.la \
91 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
94 plugin_LTLIBRARIES = \
97 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
98 plugin_namestore_sqlite.c namestore_common.c
99 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la \
101 $(top_builddir)/src/statistics/libgnunetstatistics.la \
102 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
103 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
105 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
106 $(top_builddir)/src/statistics/libgnunetstatistics.la \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 libgnunetnamestore.la
110 test_namestore_api_sign_verify_SOURCES = \
111 test_namestore_api_sign_verify.c
112 test_namestore_api_sign_verify_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/namestore/libgnunetnamestore.la
116 test_namestore_api_SOURCES = \
118 test_namestore_api_LDADD = \
119 $(top_builddir)/src/util/libgnunetutil.la \
120 $(top_builddir)/src/namestore/libgnunetnamestore.la
122 test_namestore_api_put_SOURCES = \
123 test_namestore_api_put.c
124 test_namestore_api_put_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la \
126 $(top_builddir)/src/namestore/libgnunetnamestore.la
128 test_namestore_api_lookup_SOURCES = \
129 test_namestore_api_lookup.c
130 test_namestore_api_lookup_LDADD = \
131 $(top_builddir)/src/util/libgnunetutil.la \
132 $(top_builddir)/src/namestore/libgnunetnamestore.la
134 test_namestore_api_lookup_specific_type_SOURCES = \
135 test_namestore_api_lookup_specific_type.c
136 test_namestore_api_lookup_specific_type_LDADD = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/namestore/libgnunetnamestore.la
141 test_namestore_api_create_SOURCES = \
142 test_namestore_api_create.c
143 test_namestore_api_create_LDADD = \
144 $(top_builddir)/src/util/libgnunetutil.la \
145 $(top_builddir)/src/namestore/libgnunetnamestore.la
147 test_namestore_api_create_update_SOURCES = \
148 test_namestore_api_create_update.c
149 test_namestore_api_create_update_LDADD = \
150 $(top_builddir)/src/util/libgnunetutil.la \
151 $(top_builddir)/src/namestore/libgnunetnamestore.la
154 test_namestore_api_remove_SOURCES = \
155 test_namestore_api_remove.c
156 test_namestore_api_remove_LDADD = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/namestore/libgnunetnamestore.la
160 test_namestore_api_remove_not_existing_record_SOURCES = \
161 test_namestore_api_remove_not_existing_record.c
162 test_namestore_api_remove_not_existing_record_LDADD = \
163 $(top_builddir)/src/util/libgnunetutil.la \
164 $(top_builddir)/src/namestore/libgnunetnamestore.la
166 test_namestore_api_zone_to_name_SOURCES = \
167 test_namestore_api_zone_to_name.c
168 test_namestore_api_zone_to_name_LDADD = \
169 $(top_builddir)/src/util/libgnunetutil.la \
170 $(top_builddir)/src/namestore/libgnunetnamestore.la
172 test_namestore_api_zone_iteration_SOURCES = \
173 test_namestore_api_zone_iteration.c
174 test_namestore_api_zone_iteration_LDADD = \
175 $(top_builddir)/src/util/libgnunetutil.la \
176 $(top_builddir)/src/namestore/libgnunetnamestore.la
178 test_namestore_api_zone_iteration_specific_zone_SOURCES = \
179 test_namestore_api_zone_iteration_specific_zone.c
180 test_namestore_api_zone_iteration_specific_zone_LDADD = \
181 $(top_builddir)/src/util/libgnunetutil.la \
182 $(top_builddir)/src/namestore/libgnunetnamestore.la
184 test_namestore_api_zone_iteration_stop_SOURCES = \
185 test_namestore_api_zone_iteration_stop.c
186 test_namestore_api_zone_iteration_stop_LDADD = \
187 $(top_builddir)/src/util/libgnunetutil.la \
188 $(top_builddir)/src/namestore/libgnunetnamestore.la
190 test_namestore_record_serialization_SOURCES = \
191 test_namestore_record_serialization.c
192 test_namestore_record_serialization_LDADD = \
193 $(top_builddir)/src/util/libgnunetutil.la \
194 $(top_builddir)/src/namestore/libgnunetnamestore.la
197 test_namestore_api.conf \
198 test_plugin_namestore_sqlite.conf\
200 zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey \
201 zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey
204 test_plugin_namestore_sqlite_SOURCES = \
205 test_plugin_namestore.c
206 test_plugin_namestore_sqlite_LDADD = \
207 $(top_builddir)/src/util/libgnunetutil.la