1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgnamedir)/config.d/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = --coverage -O0
21 test_plugin_namestore_sqlite
28 test_namestore_api_put \
29 test_namestore_api_lookup \
30 test_namestore_api_create \
31 test_namestore_api_zone_iteration \
32 test_namestore_record_serialization
35 TESTS = $(check_PROGRAMS)
41 libgnunetnamestore_la_SOURCES = \
42 namestore_api.c namestore_common.c namestore.h
43 libgnunetnamestore_la_LIBADD = \
44 $(top_builddir)/src/statistics/libgnunetstatistics.la \
45 $(top_builddir)/src/util/libgnunetutil.la \
47 libgnunetnamestore_la_LDFLAGS = \
48 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
52 gnunet-service-namestore
54 gnunet_service_namestore_SOURCES = \
55 gnunet-service-namestore.c
57 gnunet_service_namestore_LDADD = \
58 $(top_builddir)/src/namestore/libgnunetnamestore.la \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
60 $(top_builddir)/src/util/libgnunetutil.la \
61 libgnunetnamestore.la \
65 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
68 plugin_LTLIBRARIES = \
71 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
72 plugin_namestore_sqlite.c
73 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
74 $(top_builddir)/src/statistics/libgnunetstatistics.la \
75 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
76 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
79 test_namestore_api_SOURCES = \
81 test_namestore_api_LDADD = \
82 $(top_builddir)/src/util/libgnunetutil.la \
83 $(top_builddir)/src/namestore/libgnunetnamestore.la
85 test_namestore_api_put_SOURCES = \
86 test_namestore_api_put.c
87 test_namestore_api_put_LDADD = \
88 $(top_builddir)/src/util/libgnunetutil.la \
89 $(top_builddir)/src/namestore/libgnunetnamestore.la
91 test_namestore_api_lookup_SOURCES = \
92 test_namestore_api_lookup.c
93 test_namestore_api_lookup_LDADD = \
94 $(top_builddir)/src/util/libgnunetutil.la \
95 $(top_builddir)/src/namestore/libgnunetnamestore.la
97 test_namestore_api_create_SOURCES = \
98 test_namestore_api_create.c
99 test_namestore_api_create_LDADD = \
100 $(top_builddir)/src/util/libgnunetutil.la \
101 $(top_builddir)/src/namestore/libgnunetnamestore.la
103 test_namestore_api_zone_iteration_SOURCES = \
104 test_namestore_api_zone_iteration.c
105 test_namestore_api_zone_iteration_LDADD = \
106 $(top_builddir)/src/util/libgnunetutil.la \
107 $(top_builddir)/src/namestore/libgnunetnamestore.la
109 test_namestore_record_serialization_SOURCES = \
110 test_namestore_record_serialization.c
111 test_namestore_record_serialization_LDADD = \
112 $(top_builddir)/src/util/libgnunetutil.la \
113 $(top_builddir)/src/namestore/libgnunetnamestore.la
116 test_namestore_api.conf \
117 test_plugin_namestore_sqlite.conf\
121 test_plugin_namestore_sqlite_SOURCES = \
122 test_plugin_namestore.c
123 test_plugin_namestore_sqlite_LDADD = \
124 $(top_builddir)/src/util/libgnunetutil.la