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
29 check_PROGRAMS += test_namestore_api \
30 test_namestore_api_zone_iteration \
31 test_namestore_record_serialization
37 libgnunetnamestore_la_SOURCES = \
38 namestore_api.c namestore.h
39 libgnunetnamestore_la_LIBADD = \
40 $(top_builddir)/src/statistics/libgnunetstatistics.la \
41 $(top_builddir)/src/util/libgnunetutil.la \
43 libgnunetnamestore_la_LDFLAGS = \
44 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
48 gnunet-service-namestore
50 gnunet_service_namestore_SOURCES = \
51 gnunet-service-namestore.c \
53 gnunet_service_namestore_LDADD = \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 $(top_builddir)/src/util/libgnunetutil.la \
59 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
62 plugin_LTLIBRARIES = \
65 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
66 plugin_namestore_sqlite.c
67 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
68 $(top_builddir)/src/statistics/libgnunetstatistics.la \
69 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
70 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_zone_iteration_SOURCES = \
81 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