1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
7 libexecdir= $(pkglibdir)/libexec/
14 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
18 AM_CFLAGS = --coverage -O0
23 SQLITE_PLUGIN = libgnunet_plugin_psycstore_sqlite.la
25 SQLITE_TESTS = test_plugin_psycstore_sqlite
29 lib_LTLIBRARIES = libgnunetpsycstore.la
31 libgnunetpsycstore_la_SOURCES = \
34 libgnunetpsycstore_la_LIBADD = \
35 $(top_builddir)/src/util/libgnunetutil.la \
37 libgnunetpsycstore_la_LDFLAGS = \
38 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
44 gnunet-service-psycstore
46 gnunet_service_psycstore_SOURCES = \
47 gnunet-service-psycstore.c
48 gnunet_service_psycstore_LDADD = \
49 $(top_builddir)/src/statistics/libgnunetstatistics.la \
50 $(top_builddir)/src/util/libgnunetutil.la \
53 plugin_LTLIBRARIES = \
56 libgnunet_plugin_psycstore_sqlite_la_SOURCES = \
57 plugin_psycstore_sqlite.c
58 libgnunet_plugin_psycstore_sqlite_la_LIBADD = \
59 libgnunetpsycstore.la \
60 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
63 libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \
74 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
75 TESTS = $(check_PROGRAMS)
78 test_psycstore_SOURCES = \
80 test_psycstore_LDADD = \
81 libgnunetpsycstore.la \
82 $(top_builddir)/src/testing/libgnunettesting.la \
83 $(top_builddir)/src/util/libgnunetutil.la
89 test_plugin_psycstore_sqlite_SOURCES = \
90 test_plugin_psycstore.c
91 test_plugin_psycstore_sqlite_LDADD = \
92 $(top_builddir)/src/testing/libgnunettesting.la \
93 $(top_builddir)/src/util/libgnunetutil.la