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 = libgnunetpsycutil.la libgnunetpsycstore.la
32 libgnunetpsycutil_la_SOURCES = \
34 libgnunetpsycutil_la_LIBADD = \
35 $(top_builddir)/src/util/libgnunetutil.la \
36 $(top_builddir)/src/env/libgnunetenv.la \
38 libgnunetpsycutil_la_LDFLAGS = \
39 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
42 libgnunetpsycstore_la_SOURCES = \
45 libgnunetpsycstore_la_LIBADD = \
46 $(top_builddir)/src/util/libgnunetutil.la \
48 libgnunetpsycstore_la_LDFLAGS = \
49 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
55 gnunet-service-psycstore
57 gnunet_service_psycstore_SOURCES = \
58 gnunet-service-psycstore.c
59 gnunet_service_psycstore_LDADD = \
60 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 libgnunetpsycutil.la \
65 plugin_LTLIBRARIES = \
68 libgnunet_plugin_psycstore_sqlite_la_SOURCES = \
69 plugin_psycstore_sqlite.c
70 libgnunet_plugin_psycstore_sqlite_la_LIBADD = \
71 libgnunetpsycstore.la \
72 $(top_builddir)/src/statistics/libgnunetstatistics.la \
73 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
75 libgnunet_plugin_psycstore_sqlite_la_LDFLAGS = \
86 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
87 TESTS = $(check_PROGRAMS)
90 test_psycstore_SOURCES = \
92 test_psycstore_LDADD = \
93 libgnunetpsycstore.la \
94 $(top_builddir)/src/testing/libgnunettesting.la \
95 $(top_builddir)/src/util/libgnunetutil.la
101 test_plugin_psycstore_sqlite_SOURCES = \
102 test_plugin_psycstore.c
103 test_plugin_psycstore_sqlite_LDADD = \
104 $(top_builddir)/src/testing/libgnunettesting.la \
105 $(top_builddir)/src/util/libgnunetutil.la