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
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
52 gnunet_service_namestore_LDADD = \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 $(top_builddir)/src/util/libgnunetutil.la \
58 SQLITE_PLUGIN = libgnunet_plugin_namestore_sqlite.la
61 plugin_LTLIBRARIES = \
64 libgnunet_plugin_namestore_sqlite_la_SOURCES = \
65 plugin_namestore_sqlite.c
66 libgnunet_plugin_namestore_sqlite_la_LIBADD = \
67 $(top_builddir)/src/statistics/libgnunetstatistics.la \
68 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
69 libgnunet_plugin_namestore_sqlite_la_LDFLAGS = \
73 test_namestore_api_SOURCES = \
75 test_namestore_api_LDADD = \
76 $(top_builddir)/src/util/libgnunetutil.la \
77 $(top_builddir)/src/namestore/libgnunetnamestore.la
80 test_namestore_api.conf \
81 test_plugin_namestore_sqlite.conf
84 test_plugin_namestore_sqlite_SOURCES = \
85 test_plugin_namestore.c
86 test_plugin_namestore_sqlite_LDADD = \
87 $(top_builddir)/src/util/libgnunetutil.la