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
25 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
34 libgnunetgnsrecord_la_SOURCES = \
36 gnsrecord_serialization.c \
39 libgnunetgnsrecord_la_LIBADD = \
40 $(top_builddir)/src/dns/libgnunetdnsparser.la \
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/dns/libgnunetdnsparser.la \
56 $(top_builddir)/src/util/libgnunetutil.la \
58 libgnunet_plugin_gnsrecord_dns_la_LDFLAGS = \
66 test_gnsrecord_serialization_SOURCES = \
67 test_gnsrecord_serialization.c
68 test_gnsrecord_serialization_LDADD = \
69 $(top_builddir)/src/testing/libgnunettesting.la \
70 libgnunetgnsrecord.la \
71 $(top_builddir)/src/util/libgnunetutil.la
73 test_gnsrecord_block_expiration_SOURCES = \
74 test_gnsrecord_block_expiration.c
75 test_gnsrecord_block_expiration_LDADD = \
76 $(top_builddir)/src/testing/libgnunettesting.la \
77 libgnunetgnsrecord.la \
78 $(top_builddir)/src/util/libgnunetutil.la
81 test_gnsrecord_crypto_SOURCES = \
82 test_gnsrecord_crypto.c
83 test_gnsrecord_crypto_LDADD = \
84 $(top_builddir)/src/testing/libgnunettesting.la \
85 libgnunetgnsrecord.la \
86 $(top_builddir)/src/util/libgnunetutil.la