1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
11 pkgcfgdir= $(pkgdatadir)/config.d/
13 libexecdir= $(pkglibdir)/libexec/
15 plugindir = $(libdir)/gnunet
21 HIJACKBIN = gnunet-helper-dns
23 $(top_srcdir)/src/dns/install-dns-helper.sh $(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_BINARY) || true
29 libgnunetdnsparser.la \
34 gnunet-service-dns $(HIJACKBIN)
37 gnunet-dns-monitor gnunet-dns-redirector
39 plugin_LTLIBRARIES = \
40 libgnunet_plugin_block_dns.la
50 gnunet_helper_dns_SOURCES = \
54 gnunet_dns_monitor_SOURCES = \
56 gnunet_dns_monitor_LDADD = \
57 libgnunetdnsparser.la \
59 $(top_builddir)/src/util/libgnunetutil.la \
62 gnunet_dns_redirector_SOURCES = \
63 gnunet-dns-redirector.c
64 gnunet_dns_redirector_LDADD = \
65 libgnunetdnsparser.la \
67 $(top_builddir)/src/util/libgnunetutil.la \
70 gnunet_service_dns_SOURCES = \
72 gnunet_service_dns_LDADD = \
74 $(top_builddir)/src/tun/libgnunettun.la \
75 $(top_builddir)/src/statistics/libgnunetstatistics.la \
76 $(top_builddir)/src/util/libgnunetutil.la \
79 libgnunetdnsparser_la_SOURCES = \
81 libgnunetdnsparser_la_LIBADD = \
82 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
84 libgnunetdnsparser_la_LDFLAGS = \
88 libgnunetdnsstub_la_SOURCES = \
90 libgnunetdnsstub_la_LIBADD = \
91 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
92 libgnunetdnsstub_la_LDFLAGS = \
96 libgnunetdns_la_SOURCES = \
98 libgnunetdns_la_LIBADD = \
99 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
100 libgnunetdns_la_LDFLAGS = \
104 libgnunet_plugin_block_dns_la_SOURCES = \
106 libgnunet_plugin_block_dns_la_LIBADD = \
107 $(top_builddir)/src/util/libgnunetutil.la
108 libgnunet_plugin_block_dns_la_LDFLAGS = \
109 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
113 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
114 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
121 test_hexcoder_SOURCES = \
123 test_hexcoder_LDADD = \
124 libgnunetdnsparser.la \
125 $(top_builddir)/src/util/libgnunetutil.la