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_api_sign_verify \
30 test_namestore_api_put \
31 test_namestore_api_lookup \
32 test_namestore_api_lookup_specific_type \
33 test_namestore_api_create \
34 test_namestore_api_create_update \
35 test_namestore_api_remove \
36 test_namestore_api_remove_not_existing_record \
37 test_namestore_api_zone_to_name \
38 test_namestore_api_zone_iteration \
39 test_namestore_api_zone_iteration_specific_zone \
40 test_namestore_record_serialization
43 TESTS = $(check_PROGRAMS)
49 libgnunetnamestore_la_SOURCES = \
50 namestore_api.c namestore_common.c namestore.h
51 libgnunetnamestore_la_LIBADD = \
52 $(top_builddir)/src/statistics/libgnunetstatistics.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
55 libgnunetnamestore_la_LDFLAGS = \
56 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
60 gnunet-service-namestore \
64 gnunet_namestore_SOURCES = \
66 gnunet_namestore_LDADD = \
67 $(top_builddir)/src/util/libgnunetutil.la \
68 libgnunetnamestore.la \
70 gnunet_namestore_DEPENDENCIES = \
71 $(top_builddir)/src/util/libgnunetutil.la \
76 gnunet_service_namestore_SOURCES = \
77 gnunet-service-namestore.c
79 gnunet_service_namestore_LDADD = \
80 $(top_builddir)/src/namestore/libgnunetnamestore.la \
81 $(top_builddir)/src/statistics/libgnunetstatistics.la \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 libgnunetnamestore.la \
87 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
90 plugin_LTLIBRARIES = \
93 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
94 plugin_namestore_sqlite.c
95 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
96 $(top_builddir)/src/namestore/libgnunetnamestore.la \
97 $(top_builddir)/src/statistics/libgnunetstatistics.la \
98 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
99 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
101 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
102 $(top_builddir)/src/statistics/libgnunetstatistics.la \
103 $(top_builddir)/src/util/libgnunetutil.la \
104 libgnunetnamestore.la
106 test_namestore_api_sign_verify_SOURCES = \
107 test_namestore_api_sign_verify.c
108 test_namestore_api_sign_verify_LDADD = \
109 $(top_builddir)/src/util/libgnunetutil.la \
110 $(top_builddir)/src/namestore/libgnunetnamestore.la
112 test_namestore_api_SOURCES = \
114 test_namestore_api_LDADD = \
115 $(top_builddir)/src/util/libgnunetutil.la \
116 $(top_builddir)/src/namestore/libgnunetnamestore.la
118 test_namestore_api_put_SOURCES = \
119 test_namestore_api_put.c
120 test_namestore_api_put_LDADD = \
121 $(top_builddir)/src/util/libgnunetutil.la \
122 $(top_builddir)/src/namestore/libgnunetnamestore.la
124 test_namestore_api_lookup_SOURCES = \
125 test_namestore_api_lookup.c
126 test_namestore_api_lookup_LDADD = \
127 $(top_builddir)/src/util/libgnunetutil.la \
128 $(top_builddir)/src/namestore/libgnunetnamestore.la
130 test_namestore_api_lookup_specific_type_SOURCES = \
131 test_namestore_api_lookup_specific_type.c
132 test_namestore_api_lookup_specific_type_LDADD = \
133 $(top_builddir)/src/util/libgnunetutil.la \
134 $(top_builddir)/src/namestore/libgnunetnamestore.la
137 test_namestore_api_create_SOURCES = \
138 test_namestore_api_create.c
139 test_namestore_api_create_LDADD = \
140 $(top_builddir)/src/util/libgnunetutil.la \
141 $(top_builddir)/src/namestore/libgnunetnamestore.la
143 test_namestore_api_create_update_SOURCES = \
144 test_namestore_api_create_update.c
145 test_namestore_api_create_update_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/namestore/libgnunetnamestore.la
150 test_namestore_api_remove_SOURCES = \
151 test_namestore_api_remove.c
152 test_namestore_api_remove_LDADD = \
153 $(top_builddir)/src/util/libgnunetutil.la \
154 $(top_builddir)/src/namestore/libgnunetnamestore.la
156 test_namestore_api_remove_not_existing_record_SOURCES = \
157 test_namestore_api_remove_not_existing_record.c
158 test_namestore_api_remove_not_existing_record_LDADD = \
159 $(top_builddir)/src/util/libgnunetutil.la \
160 $(top_builddir)/src/namestore/libgnunetnamestore.la
162 test_namestore_api_zone_to_name_SOURCES = \
163 test_namestore_api_zone_to_name.c
164 test_namestore_api_zone_to_name_LDADD = \
165 $(top_builddir)/src/util/libgnunetutil.la \
166 $(top_builddir)/src/namestore/libgnunetnamestore.la
168 test_namestore_api_zone_iteration_SOURCES = \
169 test_namestore_api_zone_iteration.c
170 test_namestore_api_zone_iteration_LDADD = \
171 $(top_builddir)/src/util/libgnunetutil.la \
172 $(top_builddir)/src/namestore/libgnunetnamestore.la
174 test_namestore_api_zone_iteration_specific_zone_SOURCES = \
175 test_namestore_api_zone_iteration_specific_zone.c
176 test_namestore_api_zone_iteration_specific_zone_LDADD = \
177 $(top_builddir)/src/util/libgnunetutil.la \
178 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 test_namestore_record_serialization_SOURCES = \
181 test_namestore_record_serialization.c
182 test_namestore_record_serialization_LDADD = \
183 $(top_builddir)/src/util/libgnunetutil.la \
184 $(top_builddir)/src/namestore/libgnunetnamestore.la
187 test_namestore_api.conf \
188 test_plugin_namestore_sqlite.conf\
192 test_plugin_namestore_sqlite_SOURCES = \
193 test_plugin_namestore.c
194 test_plugin_namestore_sqlite_LDADD = \
195 $(top_builddir)/src/util/libgnunetutil.la