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) \
40 libgnunetpsycstore_la_DEPENDENCIES = \
41 $(top_builddir)/src/util/libgnunetutil.la
46 gnunet-service-psycstore
48 gnunet_service_psycstore_SOURCES = \
49 gnunet-service-psycstore.c
50 gnunet_service_psycstore_LDADD = \
51 $(top_builddir)/src/statistics/libgnunetstatistics.la \
52 $(top_builddir)/src/util/libgnunetutil.la \
54 gnunet_service_psycstore_DEPENDENCIES = \
55 $(top_builddir)/src/statistics/libgnunetstatistics.la \
56 $(top_builddir)/src/util/libgnunetutil.la
59 plugin_LTLIBRARIES = \
62 libgnunet_plugin_psycstore_sqlite_la_SOURCES = \
63 plugin_psycstore_sqlite.c
64 libgnunet_plugin_psycstore_sqlite_la_LIBADD = \
65 $(top_builddir)/src/psycstore/libgnunetpsycstore.la \
66 $(top_builddir)/src/statistics/libgnunetstatistics.la \
67 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
69 libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \
71 libgnunet_plugin_psycstore_sqlite_la_DEPENDENCIES = \
72 $(top_builddir)/src/statistics/libgnunetstatistics.la \
73 $(top_builddir)/src/util/libgnunetutil.la \
84 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
85 TESTS = $(check_PROGRAMS)
88 test_psycstore_SOURCES = \
90 test_psycstore_LDADD = \
91 libgnunetpsycstore.la \
92 $(top_builddir)/src/testing/libgnunettesting.la \
93 $(top_builddir)/src/util/libgnunetutil.la
94 test_psycstore_DEPENDENCIES = \
95 libgnunetpsycstore.la \
96 $(top_builddir)/src/testing/libgnunettesting.la \
97 $(top_builddir)/src/util/libgnunetutil.la
103 test_plugin_psycstore_sqlite_SOURCES = \
104 test_plugin_psycstore.c
105 test_plugin_psycstore_sqlite_LDADD = \
106 $(top_builddir)/src/testing/libgnunettesting.la \
107 $(top_builddir)/src/util/libgnunetutil.la