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_create \
33 test_namestore_api_remove \
34 test_namestore_api_remove_not_existing_record \
35 test_namestore_api_zone_iteration \
36 test_namestore_record_serialization
39 TESTS = $(check_PROGRAMS)
45 libgnunetnamestore_la_SOURCES = \
46 namestore_api.c namestore_common.c namestore.h
47 libgnunetnamestore_la_LIBADD = \
48 $(top_builddir)/src/statistics/libgnunetstatistics.la \
49 $(top_builddir)/src/util/libgnunetutil.la \
51 libgnunetnamestore_la_LDFLAGS = \
52 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 gnunet-service-namestore
58 gnunet_service_namestore_SOURCES = \
59 gnunet-service-namestore.c
61 gnunet_service_namestore_LDADD = \
62 $(top_builddir)/src/namestore/libgnunetnamestore.la \
63 $(top_builddir)/src/statistics/libgnunetstatistics.la \
64 $(top_builddir)/src/util/libgnunetutil.la \
65 libgnunetnamestore.la \
69 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
72 plugin_LTLIBRARIES = \
75 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
76 plugin_namestore_sqlite.c
77 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
78 $(top_builddir)/src/namestore/libgnunetnamestore.la \
79 $(top_builddir)/src/statistics/libgnunetstatistics.la \
80 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
81 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
84 test_namestore_api_sign_verify_SOURCES = \
85 test_namestore_api_sign_verify.c
86 test_namestore_api_sign_verify_LDADD = \
87 $(top_builddir)/src/util/libgnunetutil.la \
88 $(top_builddir)/src/namestore/libgnunetnamestore.la
90 test_namestore_api_SOURCES = \
92 test_namestore_api_LDADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/namestore/libgnunetnamestore.la
96 test_namestore_api_put_SOURCES = \
97 test_namestore_api_put.c
98 test_namestore_api_put_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la
102 test_namestore_api_lookup_SOURCES = \
103 test_namestore_api_lookup.c
104 test_namestore_api_lookup_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la
108 test_namestore_api_create_SOURCES = \
109 test_namestore_api_create.c
110 test_namestore_api_create_LDADD = \
111 $(top_builddir)/src/util/libgnunetutil.la \
112 $(top_builddir)/src/namestore/libgnunetnamestore.la
114 test_namestore_api_remove_SOURCES = \
115 test_namestore_api_remove.c
116 test_namestore_api_remove_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la \
118 $(top_builddir)/src/namestore/libgnunetnamestore.la
120 test_namestore_api_remove_not_existing_record_SOURCES = \
121 test_namestore_api_remove_not_existing_record.c
122 test_namestore_api_remove_not_existing_record_LDADD = \
123 $(top_builddir)/src/util/libgnunetutil.la \
124 $(top_builddir)/src/namestore/libgnunetnamestore.la
126 test_namestore_api_zone_iteration_SOURCES = \
127 test_namestore_api_zone_iteration.c
128 test_namestore_api_zone_iteration_LDADD = \
129 $(top_builddir)/src/util/libgnunetutil.la \
130 $(top_builddir)/src/namestore/libgnunetnamestore.la
132 test_namestore_record_serialization_SOURCES = \
133 test_namestore_record_serialization.c
134 test_namestore_record_serialization_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/namestore/libgnunetnamestore.la
139 test_namestore_api.conf \
140 test_plugin_namestore_sqlite.conf\
144 test_plugin_namestore_sqlite_SOURCES = \
145 test_plugin_namestore.c
146 test_plugin_namestore_sqlite_LDADD = \
147 $(top_builddir)/src/util/libgnunetutil.la