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_zone_iteration \
29 test_namestore_record_serialization
34 libgnunetnamestore_la_SOURCES = \
35 namestore_api.c namestore_common.c namestore.h
36 libgnunetnamestore_la_LIBADD = \
37 $(top_builddir)/src/statistics/libgnunetstatistics.la \
38 $(top_builddir)/src/util/libgnunetutil.la \
40 libgnunetnamestore_la_LDFLAGS = \
41 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
45 gnunet-service-namestore
47 gnunet_service_namestore_SOURCES = \
48 gnunet-service-namestore.c
50 gnunet_service_namestore_LDADD = \
51 $(top_builddir)/src/namestore/libgnunetnamestore.la \
52 $(top_builddir)/src/statistics/libgnunetstatistics.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
57 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
60 plugin_LTLIBRARIES = \
63 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
64 plugin_namestore_sqlite.c
65 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
66 $(top_builddir)/src/statistics/libgnunetstatistics.la \
67 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
68 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
72 test_namestore_api_SOURCES = \
75 test_namestore_api_LDADD = \
76 $(top_builddir)/src/util/libgnunetutil.la \
77 $(top_builddir)/src/namestore/libgnunetnamestore.la
79 test_namestore_api_zone_iteration_SOURCES = \
80 test_namestore_api_zone_iteration.c
82 test_namestore_api_zone_iteration_LDADD = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/namestore/libgnunetnamestore.la
86 test_namestore_record_serialization_SOURCES = \
87 test_namestore_record_serialization.c
89 test_namestore_record_serialization_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la \
91 $(top_builddir)/src/namestore/libgnunetnamestore.la
94 test_namestore_api.conf \
95 test_plugin_namestore_sqlite.conf\
99 test_plugin_namestore_sqlite_SOURCES = \
100 test_plugin_namestore.c
101 test_plugin_namestore_sqlite_LDADD = \
102 $(top_builddir)/src/util/libgnunetutil.la