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_iteration \
38 test_namestore_record_serialization
41 TESTS = $(check_PROGRAMS)
47 libgnunetnamestore_la_SOURCES = \
48 namestore_api.c namestore_common.c namestore.h
49 libgnunetnamestore_la_LIBADD = \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \
51 $(top_builddir)/src/util/libgnunetutil.la \
53 libgnunetnamestore_la_LDFLAGS = \
54 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
58 gnunet-service-namestore
60 gnunet_service_namestore_SOURCES = \
61 gnunet-service-namestore.c
63 gnunet_service_namestore_LDADD = \
64 $(top_builddir)/src/namestore/libgnunetnamestore.la \
65 $(top_builddir)/src/statistics/libgnunetstatistics.la \
66 $(top_builddir)/src/util/libgnunetutil.la \
67 libgnunetnamestore.la \
71 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
74 plugin_LTLIBRARIES = \
77 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
78 plugin_namestore_sqlite.c
79 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
80 $(top_builddir)/src/namestore/libgnunetnamestore.la \
81 $(top_builddir)/src/statistics/libgnunetstatistics.la \
82 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
83 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
85 libgnunet_plugin_namestore_sqlite_la_DEPENDENCIES = \
86 $(top_builddir)/src/statistics/libgnunetstatistics.la \
87 $(top_builddir)/src/util/libgnunetutil.la \
90 test_namestore_api_sign_verify_SOURCES = \
91 test_namestore_api_sign_verify.c
92 test_namestore_api_sign_verify_LDADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/namestore/libgnunetnamestore.la
96 test_namestore_api_SOURCES = \
98 test_namestore_api_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la
102 test_namestore_api_put_SOURCES = \
103 test_namestore_api_put.c
104 test_namestore_api_put_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la
108 test_namestore_api_lookup_SOURCES = \
109 test_namestore_api_lookup.c
110 test_namestore_api_lookup_LDADD = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/namestore/libgnunetnamestore.la
114 test_namestore_api_lookup_specific_type_SOURCES = \
115 test_namestore_api_lookup_specific_type.c
116 test_namestore_api_lookup_specific_type_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/namestore/libgnunetnamestore.la
121 test_namestore_api_create_SOURCES = \
122 test_namestore_api_create.c
123 test_namestore_api_create_LDADD = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/namestore/libgnunetnamestore.la
127 test_namestore_api_create_update_SOURCES = \
128 test_namestore_api_create_update.c
129 test_namestore_api_create_update_LDADD = \
130 $(top_builddir)/src/util/libgnunetutil.la \
131 $(top_builddir)/src/namestore/libgnunetnamestore.la
134 test_namestore_api_remove_SOURCES = \
135 test_namestore_api_remove.c
136 test_namestore_api_remove_LDADD = \
137 $(top_builddir)/src/util/libgnunetutil.la \
138 $(top_builddir)/src/namestore/libgnunetnamestore.la
140 test_namestore_api_remove_not_existing_record_SOURCES = \
141 test_namestore_api_remove_not_existing_record.c
142 test_namestore_api_remove_not_existing_record_LDADD = \
143 $(top_builddir)/src/util/libgnunetutil.la \
144 $(top_builddir)/src/namestore/libgnunetnamestore.la
146 test_namestore_api_zone_iteration_SOURCES = \
147 test_namestore_api_zone_iteration.c
148 test_namestore_api_zone_iteration_LDADD = \
149 $(top_builddir)/src/util/libgnunetutil.la \
150 $(top_builddir)/src/namestore/libgnunetnamestore.la
152 test_namestore_record_serialization_SOURCES = \
153 test_namestore_record_serialization.c
154 test_namestore_record_serialization_LDADD = \
155 $(top_builddir)/src/util/libgnunetutil.la \
156 $(top_builddir)/src/namestore/libgnunetnamestore.la
159 test_namestore_api.conf \
160 test_plugin_namestore_sqlite.conf\
164 test_plugin_namestore_sqlite_SOURCES = \
165 test_plugin_namestore.c
166 test_plugin_namestore_sqlite_LDADD = \
167 $(top_builddir)/src/util/libgnunetutil.la