1 INCLUDES = -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 plugindir = $(libdir)/gnunet
19 HIJACKBIN = gnunet-helper-dns
21 $(top_srcdir)/src/dns/install-dns-helper.sh $(SUDO_BINARY) $(bindir) $(GNUNETDNS_GROUP) || true
27 libgnunetdnsparser.la \
31 gnunet-service-dns $(HIJACKBIN)
34 gnunet-dns-monitor 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 = \
51 $(top_builddir)/src/dns/libgnunetdnsparser.la \
52 $(top_builddir)/src/dns/libgnunetdns.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
55 gnunet_dns_monitor_DEPENDENCIES = \
56 libgnunetdnsparser.la \
59 gnunet_dns_redirector_SOURCES = \
60 gnunet-dns-redirector.c
61 gnunet_dns_redirector_LDADD = \
62 $(top_builddir)/src/dns/libgnunetdnsparser.la \
63 $(top_builddir)/src/dns/libgnunetdns.la \
64 $(top_builddir)/src/util/libgnunetutil.la \
66 gnunet_dns_redirector_DEPENDENCIES = \
67 libgnunetdnsparser.la \
70 gnunet_service_dns_SOURCES = \
72 gnunet_service_dns_LDADD = \
73 $(top_builddir)/src/tun/libgnunettun.la \
74 $(top_builddir)/src/mesh/libgnunetmesh.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)
83 libgnunetdnsparser_la_LDFLAGS = \
87 libgnunetdns_la_SOURCES = \
89 libgnunetdns_la_LIBADD = \
90 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
91 libgnunetdns_la_LDFLAGS = \
95 libgnunet_plugin_block_dns_la_SOURCES = \
97 libgnunet_plugin_block_dns_la_LIBADD = \
98 $(top_builddir)/src/util/libgnunetutil.la
99 libgnunet_plugin_block_dns_la_LDFLAGS = \
100 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
104 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)