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/
11 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
15 AM_CFLAGS = --coverage -O0
20 test_gnsrecord_crypto \
21 test_gnsrecord_serialization \
22 test_gnsrecord_block_expiration \
26 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
35 libgnunetgnsrecord_la_SOURCES = \
37 gnsrecord_serialization.c \
40 libgnunetgnsrecord_la_LIBADD = \
41 $(top_builddir)/src/util/libgnunetutil.la \
43 libgnunetgnsrecord_la_LDFLAGS = \
44 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
48 plugin_LTLIBRARIES = \
49 libgnunet_plugin_gnsrecord_dns.la
52 libgnunet_plugin_gnsrecord_dns_la_SOURCES = \
53 plugin_gnsrecord_dns.c
54 libgnunet_plugin_gnsrecord_dns_la_LIBADD = \
55 $(top_builddir)/src/util/libgnunetutil.la \
57 libgnunet_plugin_gnsrecord_dns_la_LDFLAGS = \
65 test_gnsrecord_serialization_SOURCES = \
66 test_gnsrecord_serialization.c
67 test_gnsrecord_serialization_LDADD = \
68 $(top_builddir)/src/testing/libgnunettesting.la \
69 libgnunetgnsrecord.la \
70 $(top_builddir)/src/util/libgnunetutil.la
72 test_gnsrecord_block_expiration_SOURCES = \
73 test_gnsrecord_block_expiration.c
74 test_gnsrecord_block_expiration_LDADD = \
75 $(top_builddir)/src/testing/libgnunettesting.la \
76 libgnunetgnsrecord.la \
77 $(top_builddir)/src/util/libgnunetutil.la
80 test_gnsrecord_crypto_SOURCES = \
81 test_gnsrecord_crypto.c
82 test_gnsrecord_crypto_LDADD = \
83 $(top_builddir)/src/testing/libgnunettesting.la \
84 libgnunetgnsrecord.la \
85 $(top_builddir)/src/util/libgnunetutil.la
88 perf_gnsrecord_crypto_SOURCES = \
89 perf_gnsrecord_crypto.c
90 perf_gnsrecord_crypto_LDADD = \
91 $(top_builddir)/src/testing/libgnunettesting.la \
92 libgnunetgnsrecord.la \
93 $(top_builddir)/src/util/libgnunetutil.la