1 INCLUDES = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
6 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
10 AM_CFLAGS = --coverage -O0
18 libgnunetdatastore_la_SOURCES = \
19 datastore_api.c datastore.h plugin_datastore.h
20 libgnunetdatastore_la_LIBADD = \
21 $(top_builddir)/src/util/libgnunetutil.la \
23 libgnunetdatastore_la_LDFLAGS = \
24 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
29 gnunet-service-datastore
31 gnunet_service_datastore_SOURCES = \
32 gnunet-service-datastore.c plugin_datastore.h
33 gnunet_service_datastore_LDADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \
38 plugin_LTLIBRARIES = \
39 libgnunet_plugin_datastore_sqlite.la \
40 libgnunet_plugin_datastore_template.la
43 libgnunet_plugin_datastore_sqlite_la_SOURCES = \
44 plugin_datastore_sqlite.c
45 libgnunet_plugin_datastore_sqlite_la_LIBADD = \
46 $(top_builddir)/src/statistics/libgnunetstatistics.la \
47 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
48 libgnunet_plugin_datastore_sqlite_la_LDFLAGS = \
51 libgnunet_plugin_datastore_template_la_SOURCES = \
52 plugin_datastore_template.c
53 libgnunet_plugin_datastore_template_la_LIBADD = \
54 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS)
55 libgnunet_plugin_datastore_template_la_LDFLAGS = \
61 test_datastore_api_management \
65 TESTS = $(check_PROGRAMS)
67 test_datastore_api_SOURCES = \
69 test_datastore_api_LDADD = \
70 $(top_builddir)/src/datastore/libgnunetdatastore.la \
71 $(top_builddir)/src/util/libgnunetutil.la
73 test_datastore_api_management_SOURCES = \
74 test_datastore_api_management.c
75 test_datastore_api_management_LDADD = \
76 $(top_builddir)/src/datastore/libgnunetdatastore.la \
77 $(top_builddir)/src/util/libgnunetutil.la
79 perf_datastore_api_SOURCES = \
81 perf_datastore_api_LDADD = \
82 $(top_builddir)/src/datastore/libgnunetdatastore.la \
83 $(top_builddir)/src/util/libgnunetutil.la
85 perf_plugin_datastore_SOURCES = \
86 perf_plugin_datastore.c
87 perf_plugin_datastore_LDADD = \
88 $(top_builddir)/src/util/libgnunetutil.la
92 test_datastore_api_data.conf \
93 perf_plugin_datastore_data.conf