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
36 libgnunetnamestore_la_SOURCES = \
37 namestore_api.c namestore_common.c namestore.h
38 libgnunetnamestore_la_LIBADD = \
39 $(top_builddir)/src/statistics/libgnunetstatistics.la \
40 $(top_builddir)/src/util/libgnunetutil.la \
42 libgnunetnamestore_la_LDFLAGS = \
43 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
47 gnunet-service-namestore
49 gnunet_service_namestore_SOURCES = \
50 gnunet-service-namestore.c
52 gnunet_service_namestore_LDADD = \
53 $(top_builddir)/src/namestore/libgnunetnamestore.la \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 libgnunetnamestore.la \
60 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
63 plugin_LTLIBRARIES = \
66 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
67 plugin_namestore_sqlite.c
68 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
69 $(top_builddir)/src/statistics/libgnunetstatistics.la \
70 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
71 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
74 test_namestore_api_SOURCES = \
76 test_namestore_api_LDADD = \
77 $(top_builddir)/src/util/libgnunetutil.la \
78 $(top_builddir)/src/namestore/libgnunetnamestore.la
80 test_namestore_api_put_SOURCES = \
81 test_namestore_api_put.c
82 test_namestore_api_put_LDADD = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/namestore/libgnunetnamestore.la
86 test_namestore_api_lookup_SOURCES = \
87 test_namestore_api_lookup.c
88 test_namestore_api_lookup_LDADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(top_builddir)/src/namestore/libgnunetnamestore.la
92 test_namestore_api_zone_iteration_SOURCES = \
93 test_namestore_api_zone_iteration.c
94 test_namestore_api_zone_iteration_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la \
96 $(top_builddir)/src/namestore/libgnunetnamestore.la
98 test_namestore_record_serialization_SOURCES = \
99 test_namestore_record_serialization.c
100 test_namestore_record_serialization_LDADD = \
101 $(top_builddir)/src/util/libgnunetutil.la \
102 $(top_builddir)/src/namestore/libgnunetnamestore.la
105 test_namestore_api.conf \
106 test_plugin_namestore_sqlite.conf\
110 test_plugin_namestore_sqlite_SOURCES = \
111 test_plugin_namestore.c
112 test_plugin_namestore_sqlite_LDADD = \
113 $(top_builddir)/src/util/libgnunetutil.la