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/arm/libgnunetarm.la \
22 $(top_builddir)/src/util/libgnunetutil.la \
24 libgnunetdatastore_la_LDFLAGS = \
25 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
30 gnunet-service-datastore
32 gnunet_service_datastore_SOURCES = \
33 gnunet-service-datastore.c plugin_datastore.h
34 gnunet_service_datastore_LDADD = \
35 $(top_builddir)/src/statistics/libgnunetstatistics.la \
36 $(top_builddir)/src/util/libgnunetutil.la \
40 plugin_LTLIBRARIES = \
41 libgnunet_plugin_datastore_sqlite.la \
42 libgnunet_plugin_datastore_template.la
45 libgnunet_plugin_datastore_sqlite_la_SOURCES = \
46 plugin_datastore_sqlite.c
47 libgnunet_plugin_datastore_sqlite_la_LIBADD = \
48 $(top_builddir)/src/statistics/libgnunetstatistics.la \
49 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3
50 libgnunet_plugin_datastore_sqlite_la_LDFLAGS = \
53 libgnunet_plugin_datastore_template_la_SOURCES = \
54 plugin_datastore_template.c
55 libgnunet_plugin_datastore_template_la_LIBADD = \
56 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS)
57 libgnunet_plugin_datastore_template_la_LDFLAGS = \
63 test_datastore_api_management \
67 TESTS = $(check_PROGRAMS)
69 test_datastore_api_SOURCES = \
71 test_datastore_api_LDADD = \
72 $(top_builddir)/src/datastore/libgnunetdatastore.la \
73 $(top_builddir)/src/util/libgnunetutil.la
75 test_datastore_api_management_SOURCES = \
76 test_datastore_api_management.c
77 test_datastore_api_management_LDADD = \
78 $(top_builddir)/src/datastore/libgnunetdatastore.la \
79 $(top_builddir)/src/util/libgnunetutil.la
81 perf_datastore_api_SOURCES = \
83 perf_datastore_api_LDADD = \
84 $(top_builddir)/src/datastore/libgnunetdatastore.la \
85 $(top_builddir)/src/util/libgnunetutil.la
87 perf_plugin_datastore_SOURCES = \
88 perf_plugin_datastore.c
89 perf_plugin_datastore_LDADD = \
90 $(top_builddir)/src/util/libgnunetutil.la
94 test_datastore_api_data.conf \
95 perf_plugin_datastore_data.conf