1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3 plugindir = $(libdir)/gnunet
5 pkgcfgdir= $(pkgdatadir)/config.d/
7 libexecdir= $(pkglibdir)/libexec/
13 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
17 AM_CFLAGS = -fprofile-arcs -ftest-coverage
24 gnunet-service-peerstore
29 gnunet_peerstore_SOURCES = \
31 gnunet_peerstore_LDADD = \
32 $(top_builddir)/src/util/libgnunetutil.la \
33 libgnunetpeerstore.la \
36 gnunet_service_peerstore_SOURCES = \
37 gnunet-service-peerstore.c \
39 gnunet_service_peerstore_CFLAGS = $(AM_CFLAGS)
40 gnunet_service_peerstore_LDADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
44 libgnunetpeerstore_la_SOURCES = \
47 libgnunetpeerstore_la_LIBADD = \
48 $(top_builddir)/src/util/libgnunetutil.la
49 libgnunetpeerstore_la_LDFLAGS = \
52 plugin_LTLIBRARIES = \
53 libgnunet_plugin_peerstore_sqlite.la
55 libgnunet_plugin_peerstore_sqlite_la_SOURCES = \
56 plugin_peerstore_sqlite.c
57 libgnunet_plugin_peerstore_sqlite_la_LIBADD = \
58 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
59 $(top_builddir)/src/util/libgnunetutil.la $(XLIBS) -lsqlite3 \
61 libgnunet_plugin_peerstore_sqlite_la_LDFLAGS = \
63 libgnunet_plugin_peerstore_sqlite_la_DEPENDENCIES = \
64 $(top_builddir)/src/util/libgnunetutil.la \
68 test_peerstore_api_store \
69 test_peerstore_api_iterate \
70 test_peerstore_api_watch \
71 test_peerstore_api_sync \
75 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
76 TESTS = $(check_PROGRAMS)
79 test_peerstore_api_store_SOURCES = \
80 test_peerstore_api_store.c
81 test_peerstore_api_store_LDADD = \
82 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
83 $(top_builddir)/src/testing/libgnunettesting.la \
84 $(top_builddir)/src/util/libgnunetutil.la
86 test_peerstore_api_iterate_SOURCES = \
87 test_peerstore_api_iterate.c
88 test_peerstore_api_iterate_LDADD = \
89 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
90 $(top_builddir)/src/testing/libgnunettesting.la \
91 $(top_builddir)/src/util/libgnunetutil.la
93 test_peerstore_api_watch_SOURCES = \
94 test_peerstore_api_watch.c
95 test_peerstore_api_watch_LDADD = \
96 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
97 $(top_builddir)/src/testing/libgnunettesting.la \
98 $(top_builddir)/src/util/libgnunetutil.la
100 test_peerstore_api_sync_SOURCES = \
101 test_peerstore_api_sync.c
102 test_peerstore_api_sync_LDADD = \
103 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
104 $(top_builddir)/src/testing/libgnunettesting.la \
105 $(top_builddir)/src/util/libgnunetutil.la
107 perf_peerstore_store_SOURCES = \
108 perf_peerstore_store.c
109 perf_peerstore_store_LDADD = \
110 $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
111 $(top_builddir)/src/testing/libgnunettesting.la \
112 $(top_builddir)/src/util/libgnunetutil.la