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
20 $(top_srcdir)/src/dns/install-dns-helper.sh $(DESTDIR)$(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_BINARY) || true
29 gnunet-service-dns $(HIJACKBIN)
33 gnunet-dns-redirector \
36 plugin_LTLIBRARIES = \
37 libgnunet_plugin_block_dns.la
44 gnunet_helper_dns_SOURCES = \
48 gnunet_dns_monitor_SOURCES = \
50 gnunet_dns_monitor_LDADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \
55 gnunet_zonewalk_SOURCES = \
57 gnunet_zonewalk_LDADD = \
58 $(top_builddir)/src/util/libgnunetutil.la \
61 gnunet_dns_redirector_SOURCES = \
62 gnunet-dns-redirector.c
63 gnunet_dns_redirector_LDADD = \
65 $(top_builddir)/src/util/libgnunetutil.la \
68 gnunet_service_dns_SOURCES = \
70 gnunet_service_dns_LDADD = \
71 $(top_builddir)/src/statistics/libgnunetstatistics.la \
72 $(top_builddir)/src/util/libgnunetutil.la \
75 libgnunetdns_la_SOURCES = \
77 libgnunetdns_la_LIBADD = \
78 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
79 libgnunetdns_la_LDFLAGS = \
83 libgnunet_plugin_block_dns_la_SOURCES = \
85 libgnunet_plugin_block_dns_la_LIBADD = \
86 $(top_builddir)/src/block/libgnunetblockgroup.la \
87 $(top_builddir)/src/util/libgnunetutil.la
88 libgnunet_plugin_block_dns_la_LDFLAGS = \
89 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
93 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
94 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)