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-hijack-dns gnunet-helper-dns
21 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-hijack-dns || true
22 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-hijack-dns || true
23 $(SUDO_BINARY) chown root $(bindir)/gnunet-helper-dns || true
24 $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-helper-dns || true
25 $(SUDO_BINARY) chmod 4750 $(bindir)/gnunet-helper-dns || true
26 $(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-service-dns-new || true
27 $(SUDO_BINARY) chmod 2755 $(bindir)/gnunet-helper-dns || true
33 libgnunetdnsparser.la \
38 gnunet-service-dns gnunet-service-dns-new $(HIJACKBIN)
41 gnunet-dns-monitor gnunet-dns-redirector
43 plugin_LTLIBRARIES = \
44 libgnunet_plugin_block_dns.la
47 gnunet_helper_hijack_dns_SOURCES = \
48 gnunet-helper-hijack-dns.c
50 gnunet_helper_dns_SOURCES = \
53 gnunet_service_dns_SOURCES = \
55 gnunet_service_dns_LDADD = \
56 $(top_builddir)/src/core/libgnunetcore.la \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
58 $(top_builddir)/src/util/libgnunetutil.la \
59 $(top_builddir)/src/dht/libgnunetdht.la \
60 $(top_builddir)/src/mesh/libgnunetmesh.la \
61 $(top_builddir)/src/dns/libgnunetdnsparser.la \
63 gnunet_service_dns_DEPENDENCIES = \
66 gnunet_dns_monitor_SOURCES = \
68 gnunet_dns_monitor_LDADD = \
69 $(top_builddir)/src/dns/libgnunetdnsparser.la \
70 $(top_builddir)/src/dns/libgnunetdnsnew.la \
71 $(top_builddir)/src/util/libgnunetutil.la \
73 gnunet_dns_monitor_DEPENDENCIES = \
74 libgnunetdnsparser.la \
77 gnunet_dns_redirector_SOURCES = \
78 gnunet-dns-redirector.c
79 gnunet_dns_redirector_LDADD = \
80 $(top_builddir)/src/dns/libgnunetdnsparser.la \
81 $(top_builddir)/src/dns/libgnunetdnsnew.la \
82 $(top_builddir)/src/util/libgnunetutil.la \
84 gnunet_dns_redirector_DEPENDENCIES = \
85 libgnunetdnsparser.la \
88 gnunet_service_dns_new_SOURCES = \
89 gnunet-service-dns_new.c
90 gnunet_service_dns_new_LDADD = \
91 $(top_builddir)/src/statistics/libgnunetstatistics.la \
92 $(top_builddir)/src/util/libgnunetutil.la \
95 libgnunetdnsparser_la_SOURCES = \
97 libgnunetdnsparser_la_LIBADD = \
98 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
99 libgnunetdnsparser_la_LDFLAGS = \
102 libgnunetdns_la_SOURCES = \
104 libgnunetdns_la_LIBADD = \
105 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
106 libgnunetdns_la_LDFLAGS = \
109 libgnunetdnsnew_la_SOURCES = \
110 dns_api_new.c dns_new.h
111 libgnunetdnsnew_la_LIBADD = \
112 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
113 libgnunetdnsnew_la_LDFLAGS = \
116 libgnunet_plugin_block_dns_la_SOURCES = \
118 libgnunet_plugin_block_dns_la_LIBADD = \
119 $(top_builddir)/src/util/libgnunetutil.la
120 libgnunet_plugin_block_dns_la_LDFLAGS = \
121 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)