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_record_serialization
42 TESTS = $(check_PROGRAMS)
48 libgnunetnamestore_la_SOURCES = \
49 namestore_api.c namestore_common.c namestore.h
50 libgnunetnamestore_la_LIBADD = \
51 $(top_builddir)/src/statistics/libgnunetstatistics.la \
52 $(top_builddir)/src/util/libgnunetutil.la \
54 libgnunetnamestore_la_LDFLAGS = \
55 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
59 gnunet-service-namestore \
63 gnunet_namestore_SOURCES = \
65 gnunet_namestore_LDADD = \
66 $(top_builddir)/src/util/libgnunetutil.la \
67 libgnunetnamestore.la \
69 gnunet_namestore_DEPENDENCIES = \
70 $(top_builddir)/src/util/libgnunetutil.la \
75 gnunet_service_namestore_SOURCES = \
76 gnunet-service-namestore.c
78 gnunet_service_namestore_LDADD = \
79 $(top_builddir)/src/namestore/libgnunetnamestore.la \
80 $(top_builddir)/src/statistics/libgnunetstatistics.la \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 libgnunetnamestore.la \
86 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
89 plugin_LTLIBRARIES = \
92 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
93 plugin_namestore_sqlite.c
94 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
95 $(top_builddir)/src/namestore/libgnunetnamestore.la \
96 $(top_builddir)/src/statistics/libgnunetstatistics.la \
97 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
98 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
100 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
101 $(top_builddir)/src/statistics/libgnunetstatistics.la \
102 $(top_builddir)/src/util/libgnunetutil.la \
103 libgnunetnamestore.la
105 test_namestore_api_sign_verify_SOURCES = \
106 test_namestore_api_sign_verify.c
107 test_namestore_api_sign_verify_LDADD = \
108 $(top_builddir)/src/util/libgnunetutil.la \
109 $(top_builddir)/src/namestore/libgnunetnamestore.la
111 test_namestore_api_SOURCES = \
113 test_namestore_api_LDADD = \
114 $(top_builddir)/src/util/libgnunetutil.la \
115 $(top_builddir)/src/namestore/libgnunetnamestore.la
117 test_namestore_api_put_SOURCES = \
118 test_namestore_api_put.c
119 test_namestore_api_put_LDADD = \
120 $(top_builddir)/src/util/libgnunetutil.la \
121 $(top_builddir)/src/namestore/libgnunetnamestore.la
123 test_namestore_api_lookup_SOURCES = \
124 test_namestore_api_lookup.c
125 test_namestore_api_lookup_LDADD = \
126 $(top_builddir)/src/util/libgnunetutil.la \
127 $(top_builddir)/src/namestore/libgnunetnamestore.la
129 test_namestore_api_lookup_specific_type_SOURCES = \
130 test_namestore_api_lookup_specific_type.c
131 test_namestore_api_lookup_specific_type_LDADD = \
132 $(top_builddir)/src/util/libgnunetutil.la \
133 $(top_builddir)/src/namestore/libgnunetnamestore.la
136 test_namestore_api_create_SOURCES = \
137 test_namestore_api_create.c
138 test_namestore_api_create_LDADD = \
139 $(top_builddir)/src/util/libgnunetutil.la \
140 $(top_builddir)/src/namestore/libgnunetnamestore.la
142 test_namestore_api_create_update_SOURCES = \
143 test_namestore_api_create_update.c
144 test_namestore_api_create_update_LDADD = \
145 $(top_builddir)/src/util/libgnunetutil.la \
146 $(top_builddir)/src/namestore/libgnunetnamestore.la
149 test_namestore_api_remove_SOURCES = \
150 test_namestore_api_remove.c
151 test_namestore_api_remove_LDADD = \
152 $(top_builddir)/src/util/libgnunetutil.la \
153 $(top_builddir)/src/namestore/libgnunetnamestore.la
155 test_namestore_api_remove_not_existing_record_SOURCES = \
156 test_namestore_api_remove_not_existing_record.c
157 test_namestore_api_remove_not_existing_record_LDADD = \
158 $(top_builddir)/src/util/libgnunetutil.la \
159 $(top_builddir)/src/namestore/libgnunetnamestore.la
161 test_namestore_api_zone_to_name_SOURCES = \
162 test_namestore_api_zone_to_name.c
163 test_namestore_api_zone_to_name_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/namestore/libgnunetnamestore.la
167 test_namestore_api_zone_iteration_SOURCES = \
168 test_namestore_api_zone_iteration.c
169 test_namestore_api_zone_iteration_LDADD = \
170 $(top_builddir)/src/util/libgnunetutil.la \
171 $(top_builddir)/src/namestore/libgnunetnamestore.la
173 test_namestore_record_serialization_SOURCES = \
174 test_namestore_record_serialization.c
175 test_namestore_record_serialization_LDADD = \
176 $(top_builddir)/src/util/libgnunetutil.la \
177 $(top_builddir)/src/namestore/libgnunetnamestore.la
180 test_namestore_api.conf \
181 test_plugin_namestore_sqlite.conf\
185 test_plugin_namestore_sqlite_SOURCES = \
186 test_plugin_namestore.c
187 test_plugin_namestore_sqlite_LDADD = \
188 $(top_builddir)/src/util/libgnunetutil.la