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/namestore/libgnunetnamestore.la \
75 $(top_builddir)/src/statistics/libgnunetstatistics.la \
76 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
77 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
80 test_namestore_api_SOURCES = \
82 test_namestore_api_LDADD = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/namestore/libgnunetnamestore.la
86 test_namestore_api_put_SOURCES = \
87 test_namestore_api_put.c
88 test_namestore_api_put_LDADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/namestore/libgnunetnamestore.la
92 test_namestore_api_lookup_SOURCES = \
93 test_namestore_api_lookup.c
94 test_namestore_api_lookup_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/namestore/libgnunetnamestore.la
98 test_namestore_api_create_SOURCES = \
99 test_namestore_api_create.c
100 test_namestore_api_create_LDADD = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/namestore/libgnunetnamestore.la
104 test_namestore_api_zone_iteration_SOURCES = \
105 test_namestore_api_zone_iteration.c
106 test_namestore_api_zone_iteration_LDADD = \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/namestore/libgnunetnamestore.la
110 test_namestore_record_serialization_SOURCES = \
111 test_namestore_record_serialization.c
112 test_namestore_record_serialization_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/namestore/libgnunetnamestore.la
117 test_namestore_api.conf \
118 test_plugin_namestore_sqlite.conf\
122 test_plugin_namestore_sqlite_SOURCES = \
123 test_plugin_namestore.c
124 test_plugin_namestore_sqlite_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la