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)
39 gnunet-dns-redirector \
42 plugin_LTLIBRARIES = \
43 libgnunet_plugin_block_dns.la
53 gnunet_helper_dns_SOURCES = \
57 gnunet_dns_monitor_SOURCES = \
59 gnunet_dns_monitor_LDADD = \
60 libgnunetdnsparser.la \
62 $(top_builddir)/src/util/libgnunetutil.la \
65 gnunet_zoneimport_SOURCES = \
67 gnunet_zoneimport_LDADD = \
68 libgnunetdnsparser.la \
70 $(top_builddir)/src/util/libgnunetutil.la \
73 gnunet_dns_redirector_SOURCES = \
74 gnunet-dns-redirector.c
75 gnunet_dns_redirector_LDADD = \
76 libgnunetdnsparser.la \
78 $(top_builddir)/src/util/libgnunetutil.la \
81 gnunet_service_dns_SOURCES = \
83 gnunet_service_dns_LDADD = \
85 $(top_builddir)/src/tun/libgnunettun.la \
86 $(top_builddir)/src/statistics/libgnunetstatistics.la \
87 $(top_builddir)/src/util/libgnunetutil.la \
90 libgnunetdnsparser_la_SOURCES = \
92 libgnunetdnsparser_la_LIBADD = \
93 $(top_builddir)/src/util/libgnunetutil.la $(XLIB) \
95 libgnunetdnsparser_la_LDFLAGS = \
99 libgnunetdnsstub_la_SOURCES = \
101 libgnunetdnsstub_la_LIBADD = \
102 $(top_builddir)/src/tun/libgnunettun.la \
103 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
104 libgnunetdnsstub_la_LDFLAGS = \
108 libgnunetdns_la_SOURCES = \
110 libgnunetdns_la_LIBADD = \
111 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
112 libgnunetdns_la_LDFLAGS = \
116 libgnunet_plugin_block_dns_la_SOURCES = \
118 libgnunet_plugin_block_dns_la_LIBADD = \
119 $(top_builddir)/src/block/libgnunetblockgroup.la \
120 $(top_builddir)/src/util/libgnunetutil.la
121 libgnunet_plugin_block_dns_la_LDFLAGS = \
122 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
126 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
127 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
134 test_hexcoder_SOURCES = \
136 test_hexcoder_LDADD = \
137 libgnunetdnsparser.la \
138 $(top_builddir)/src/util/libgnunetutil.la