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_zone_iteration \
31 test_namestore_record_serialization
34 TESTS = $(check_PROGRAMS)
40 libgnunetnamestore_la_SOURCES = \
41 namestore_api.c namestore_common.c namestore.h
42 libgnunetnamestore_la_LIBADD = \
43 $(top_builddir)/src/statistics/libgnunetstatistics.la \
44 $(top_builddir)/src/util/libgnunetutil.la \
46 libgnunetnamestore_la_LDFLAGS = \
47 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
51 gnunet-service-namestore
53 gnunet_service_namestore_SOURCES = \
54 gnunet-service-namestore.c
56 gnunet_service_namestore_LDADD = \
57 $(top_builddir)/src/namestore/libgnunetnamestore.la \
58 $(top_builddir)/src/statistics/libgnunetstatistics.la \
59 $(top_builddir)/src/util/libgnunetutil.la \
60 libgnunetnamestore.la \
64 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
67 plugin_LTLIBRARIES = \
70 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
71 plugin_namestore_sqlite.c
72 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
73 $(top_builddir)/src/statistics/libgnunetstatistics.la \
74 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
75 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
78 test_namestore_api_SOURCES = \
80 test_namestore_api_LDADD = \
81 $(top_builddir)/src/util/libgnunetutil.la \
82 $(top_builddir)/src/namestore/libgnunetnamestore.la
84 test_namestore_api_put_SOURCES = \
85 test_namestore_api_put.c
86 test_namestore_api_put_LDADD = \
87 $(top_builddir)/src/util/libgnunetutil.la \
88 $(top_builddir)/src/namestore/libgnunetnamestore.la
90 test_namestore_api_lookup_SOURCES = \
91 test_namestore_api_lookup.c
92 test_namestore_api_lookup_LDADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 $(top_builddir)/src/namestore/libgnunetnamestore.la
96 test_namestore_api_zone_iteration_SOURCES = \
97 test_namestore_api_zone_iteration.c
98 test_namestore_api_zone_iteration_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/namestore/libgnunetnamestore.la
102 test_namestore_record_serialization_SOURCES = \
103 test_namestore_record_serialization.c
104 test_namestore_record_serialization_LDADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/namestore/libgnunetnamestore.la
109 test_namestore_api.conf \
110 test_plugin_namestore_sqlite.conf\
114 test_plugin_namestore_sqlite_SOURCES = \
115 test_plugin_namestore.c
116 test_plugin_namestore_sqlite_LDADD = \
117 $(top_builddir)/src/util/libgnunetutil.la