1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
9 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
16 plugindir = $(libdir)/gnunet
22 HIJACKBIN = gnunet-helper-dns
24 $(top_srcdir)/src/dns/install-dns-helper.sh $(DESTDIR)$(libexecdir) $(GNUNETDNS_GROUP) $(SUDO_BINARY) || true
30 libgnunetdnsparser.la \
35 gnunet-service-dns $(HIJACKBIN)
38 gnunet-dns-monitor gnunet-dns-redirector
40 plugin_LTLIBRARIES = \
41 libgnunet_plugin_block_dns.la
51 gnunet_helper_dns_SOURCES = \
55 gnunet_dns_monitor_SOURCES = \
57 gnunet_dns_monitor_LDADD = \
58 libgnunetdnsparser.la \
60 $(top_builddir)/src/util/libgnunetutil.la \
63 gnunet_dns_redirector_SOURCES = \
64 gnunet-dns-redirector.c
65 gnunet_dns_redirector_LDADD = \
66 libgnunetdnsparser.la \
68 $(top_builddir)/src/util/libgnunetutil.la \
71 gnunet_service_dns_SOURCES = \
73 gnunet_service_dns_LDADD = \
75 $(top_builddir)/src/tun/libgnunettun.la \
76 $(top_builddir)/src/statistics/libgnunetstatistics.la \
77 $(top_builddir)/src/util/libgnunetutil.la \
80 libgnunetdnsparser_la_SOURCES = \
82 libgnunetdnsparser_la_LIBADD = \
83 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
85 libgnunetdnsparser_la_LDFLAGS = \
89 libgnunetdnsstub_la_SOURCES = \
91 libgnunetdnsstub_la_LIBADD = \
92 $(top_builddir)/src/tun/libgnunettun.la \
93 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
94 libgnunetdnsstub_la_LDFLAGS = \
98 libgnunetdns_la_SOURCES = \
100 libgnunetdns_la_LIBADD = \
101 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
102 libgnunetdns_la_LDFLAGS = \
106 libgnunet_plugin_block_dns_la_SOURCES = \
108 libgnunet_plugin_block_dns_la_LIBADD = \
109 $(top_builddir)/src/util/libgnunetutil.la
110 libgnunet_plugin_block_dns_la_LDFLAGS = \
111 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
115 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
116 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
123 test_hexcoder_SOURCES = \
125 test_hexcoder_LDADD = \
126 libgnunetdnsparser.la \
127 $(top_builddir)/src/util/libgnunetutil.la