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 $(SUDO_BINARY) chown root $(bindir)/gnunet-helper-dns || true
22 $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-helper-dns || true
23 $(SUDO_BINARY) chmod 4750 $(bindir)/gnunet-helper-dns || true
24 $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-service-dns || true
25 $(SUDO_BINARY) chmod 2755 $(bindir)/gnunet-service-dns || true
31 libgnunetdnsparser.la \
35 gnunet-service-dns $(HIJACKBIN)
38 gnunet-dns-monitor gnunet-dns-redirector
40 plugin_LTLIBRARIES = \
41 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/statistics/libgnunetstatistics.la \
74 $(top_builddir)/src/util/libgnunetutil.la \
77 libgnunetdnsparser_la_SOURCES = \
79 libgnunetdnsparser_la_LIBADD = \
80 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
81 libgnunetdnsparser_la_LDFLAGS = \
84 libgnunetdns_la_SOURCES = \
86 libgnunetdns_la_LIBADD = \
87 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
88 libgnunetdns_la_LDFLAGS = \
91 libgnunet_plugin_block_dns_la_SOURCES = \
93 libgnunet_plugin_block_dns_la_LIBADD = \
94 $(top_builddir)/src/util/libgnunetutil.la
95 libgnunet_plugin_block_dns_la_LDFLAGS = \
96 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)