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 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
47 gnunet_helper_dns_SOURCES = \
51 gnunet_dns_monitor_SOURCES = \
53 gnunet_dns_monitor_LDADD = \
54 $(top_builddir)/src/dns/libgnunetdnsparser.la \
55 $(top_builddir)/src/dns/libgnunetdns.la \
56 $(top_builddir)/src/util/libgnunetutil.la \
58 gnunet_dns_monitor_DEPENDENCIES = \
59 libgnunetdnsparser.la \
62 gnunet_dns_redirector_SOURCES = \
63 gnunet-dns-redirector.c
64 gnunet_dns_redirector_LDADD = \
65 $(top_builddir)/src/dns/libgnunetdnsparser.la \
66 $(top_builddir)/src/dns/libgnunetdns.la \
67 $(top_builddir)/src/util/libgnunetutil.la \
69 gnunet_dns_redirector_DEPENDENCIES = \
70 libgnunetdnsparser.la \
73 gnunet_service_dns_SOURCES = \
75 gnunet_service_dns_LDADD = \
76 $(top_builddir)/src/dns/libgnunetdnsstub.la \
77 $(top_builddir)/src/tun/libgnunettun.la \
78 $(top_builddir)/src/mesh/libgnunetmesh.la \
79 $(top_builddir)/src/statistics/libgnunetstatistics.la \
80 $(top_builddir)/src/util/libgnunetutil.la \
82 gnunet_service_dns_DEPENDENCIES = \
85 libgnunetdnsparser_la_SOURCES = \
86 dnsparser.c dnsparser.h
87 libgnunetdnsparser_la_LIBADD = \
88 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
90 libgnunetdnsparser_la_LDFLAGS = \
94 libgnunetdnsstub_la_SOURCES = \
96 libgnunetdnsstub_la_LIBADD = \
97 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
98 libgnunetdnsstub_la_LDFLAGS = \
102 libgnunetdns_la_SOURCES = \
104 libgnunetdns_la_LIBADD = \
105 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
106 libgnunetdns_la_LDFLAGS = \
110 libgnunet_plugin_block_dns_la_SOURCES = \
112 libgnunet_plugin_block_dns_la_LIBADD = \
113 $(top_builddir)/src/util/libgnunetutil.la
114 libgnunet_plugin_block_dns_la_LDFLAGS = \
115 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
119 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)