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 test_namestore_api_zone_iteration
35 libgnunetnamestore_la_SOURCES = \
36 namestore_api.c namestore.h
37 libgnunetnamestore_la_LIBADD = \
38 $(top_builddir)/src/statistics/libgnunetstatistics.la \
39 $(top_builddir)/src/util/libgnunetutil.la \
41 libgnunetnamestore_la_LDFLAGS = \
42 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
46 gnunet-service-namestore
48 gnunet_service_namestore_SOURCES = \
49 gnunet-service-namestore.c
50 gnunet_service_namestore_LDADD = \
51 $(top_builddir)/src/statistics/libgnunetstatistics.la \
52 $(top_builddir)/src/util/libgnunetutil.la \
56 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
59 plugin_LTLIBRARIES = \
62 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
63 plugin_namestore_sqlite.c
64 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
65 $(top_builddir)/src/statistics/libgnunetstatistics.la \
66 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
67 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
71 test_namestore_api_SOURCES = \
73 test_namestore_api_LDADD = \
74 $(top_builddir)/src/util/libgnunetutil.la \
75 $(top_builddir)/src/namestore/libgnunetnamestore.la
77 test_namestore_api_zone_iteration_SOURCES = \
78 test_namestore_api_zone_iteration.c
79 test_namestore_api_zone_iteration_LDADD = \
80 $(top_builddir)/src/util/libgnunetutil.la \
81 $(top_builddir)/src/namestore/libgnunetnamestore.la
84 test_namestore_api.conf \
85 test_plugin_namestore_sqlite.conf
89 test_plugin_namestore_sqlite_SOURCES = \
90 test_plugin_namestore.c
91 test_plugin_namestore_sqlite_LDADD = \
92 $(top_builddir)/src/util/libgnunetutil.la