1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 AM_CFLAGS = --coverage -O0
8 pkgcfgdir= $(pkgdatadir)/config.d/
10 libexecdir= $(pkglibdir)/libexec/
12 plugindir = $(libdir)/gnunet
18 HIJACKBIN = gnunet-helper-dns
25 gnunet-service-dns $(HIJACKBIN)
29 gnunet-dns-redirector \
32 plugin_LTLIBRARIES = \
33 libgnunet_plugin_block_dns.la
40 gnunet_helper_dns_SOURCES = \
44 gnunet_dns_monitor_SOURCES = \
46 gnunet_dns_monitor_LDADD = \
48 $(top_builddir)/src/util/libgnunetutil.la \
51 gnunet_zonewalk_SOURCES = \
53 gnunet_zonewalk_LDADD = \
54 $(top_builddir)/src/util/libgnunetutil.la \
57 gnunet_dns_redirector_SOURCES = \
58 gnunet-dns-redirector.c
59 gnunet_dns_redirector_LDADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
64 gnunet_service_dns_SOURCES = \
66 gnunet_service_dns_LDADD = \
67 $(top_builddir)/src/statistics/libgnunetstatistics.la \
68 $(top_builddir)/src/util/libgnunetutil.la \
71 libgnunetdns_la_SOURCES = \
73 libgnunetdns_la_LIBADD = \
74 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
75 libgnunetdns_la_LDFLAGS = \
79 libgnunet_plugin_block_dns_la_SOURCES = \
81 libgnunet_plugin_block_dns_la_LIBADD = \
82 $(top_builddir)/src/block/libgnunetblockgroup.la \
83 $(top_builddir)/src/util/libgnunetutil.la
84 libgnunet_plugin_block_dns_la_LDFLAGS = \
85 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
89 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
90 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)