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 $(bindir) $(GNUNETDNS_GROUP) $(SUDO_BINARY) || true
27 libgnunetdnsparser.la \
32 gnunet-service-dns $(HIJACKBIN)
35 gnunet-dns-monitor gnunet-dns-redirector
37 plugin_LTLIBRARIES = \
38 libgnunet_plugin_block_dns.la
45 gnunet_helper_dns_SOURCES = \
49 gnunet_dns_monitor_SOURCES = \
51 gnunet_dns_monitor_LDADD = \
52 $(top_builddir)/src/dns/libgnunetdnsparser.la \
53 $(top_builddir)/src/dns/libgnunetdns.la \
54 $(top_builddir)/src/util/libgnunetutil.la \
56 gnunet_dns_monitor_DEPENDENCIES = \
57 libgnunetdnsparser.la \
60 gnunet_dns_redirector_SOURCES = \
61 gnunet-dns-redirector.c
62 gnunet_dns_redirector_LDADD = \
63 $(top_builddir)/src/dns/libgnunetdnsparser.la \
64 $(top_builddir)/src/dns/libgnunetdns.la \
65 $(top_builddir)/src/util/libgnunetutil.la \
67 gnunet_dns_redirector_DEPENDENCIES = \
68 libgnunetdnsparser.la \
71 gnunet_service_dns_SOURCES = \
73 gnunet_service_dns_LDADD = \
74 $(top_builddir)/src/dns/libgnunetdnsstub.la \
75 $(top_builddir)/src/tun/libgnunettun.la \
76 $(top_builddir)/src/mesh/libgnunetmesh.la \
77 $(top_builddir)/src/statistics/libgnunetstatistics.la \
78 $(top_builddir)/src/util/libgnunetutil.la \
80 gnunet_service_dns_DEPENDENCIES = \
83 libgnunetdnsparser_la_SOURCES = \
85 libgnunetdnsparser_la_LIBADD = \
86 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
87 libgnunetdnsparser_la_LDFLAGS = \
91 libgnunetdnsstub_la_SOURCES = \
93 libgnunetdnsstub_la_LIBADD = \
94 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
95 libgnunetdnsstub_la_LDFLAGS = \
99 libgnunetdns_la_SOURCES = \
101 libgnunetdns_la_LIBADD = \
102 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
103 libgnunetdns_la_LDFLAGS = \
107 libgnunet_plugin_block_dns_la_SOURCES = \
109 libgnunet_plugin_block_dns_la_LIBADD = \
110 $(top_builddir)/src/util/libgnunetutil.la
111 libgnunet_plugin_block_dns_la_LDFLAGS = \
112 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
116 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)