1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 plugindir = $(libdir)/gnunet
6 pkgcfgdir= $(pkgdatadir)/config.d/
8 libexecdir= $(pkglibdir)/libexec/
15 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
19 AM_CFLAGS = --coverage -O0
24 SQLITE_PLUGIN = libgnunet_plugin_psycstore_sqlite.la
26 SQLITE_TESTS = test_plugin_psycstore_sqlite
30 lib_LTLIBRARIES = libgnunetpsycstore.la
32 libgnunetpsycstore_la_SOURCES = \
35 libgnunetpsycstore_la_LIBADD = \
36 $(top_builddir)/src/util/libgnunetutil.la \
38 libgnunetpsycstore_la_LDFLAGS = \
39 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
45 gnunet-service-psycstore
47 gnunet_service_psycstore_SOURCES = \
48 gnunet-service-psycstore.c
49 gnunet_service_psycstore_LDADD = \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \
51 $(top_builddir)/src/util/libgnunetutil.la \
52 $(top_builddir)/src/psyc/libgnunetpsycutil.la \
55 plugin_LTLIBRARIES = \
58 libgnunet_plugin_psycstore_sqlite_la_SOURCES = \
59 plugin_psycstore_sqlite.c
60 libgnunet_plugin_psycstore_sqlite_la_LIBADD = \
61 libgnunetpsycstore.la \
62 $(top_builddir)/src/statistics/libgnunetstatistics.la \
63 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
65 libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \
76 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
77 TESTS = $(check_PROGRAMS)
80 test_psycstore_SOURCES = \
82 test_psycstore_LDADD = \
83 libgnunetpsycstore.la \
84 $(top_builddir)/src/testing/libgnunettesting.la \
85 $(top_builddir)/src/util/libgnunetutil.la
91 test_plugin_psycstore_sqlite_SOURCES = \
92 test_plugin_psycstore.c
93 test_plugin_psycstore_sqlite_LDADD = \
94 $(top_builddir)/src/testing/libgnunettesting.la \
95 $(top_builddir)/src/util/libgnunetutil.la