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:root $(bindir)/gnunet-helper-dns || true
24 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-dns || true
30 libgnunetdnsparser.la \
35 gnunet-service-dns gnunet-service-dns-new $(HIJACKBIN)
38 gnunet-dns-monitor gnunet-dns-redirector
40 plugin_LTLIBRARIES = \
41 libgnunet_plugin_block_dns.la
44 gnunet_helper_hijack_dns_SOURCES = \
45 gnunet-helper-hijack-dns.c
47 gnunet_helper_dns_SOURCES = \
50 gnunet_service_dns_SOURCES = \
51 gnunet-service-dns.c gnunet-service-dns-p.h
52 gnunet_service_dns_LDADD = \
53 $(top_builddir)/src/core/libgnunetcore.la \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 $(top_builddir)/src/dht/libgnunetdht.la \
57 $(top_builddir)/src/mesh/libgnunetmesh.la \
58 $(top_builddir)/src/dns/libgnunetdnsparser.la \
60 gnunet_service_dns_DEPENDENCIES = \
63 gnunet_dns_monitor_SOURCES = \
65 gnunet_dns_monitor_LDADD = \
66 $(top_builddir)/src/dns/libgnunetdnsparser.la \
67 $(top_builddir)/src/dns/libgnunetdnsnew.la \
68 $(top_builddir)/src/util/libgnunetutil.la \
70 gnunet_dns_monitor_DEPENDENCIES = \
71 libgnunetdnsparser.la \
74 gnunet_dns_redirector_SOURCES = \
75 gnunet-dns-redirector.c
76 gnunet_dns_redirector_LDADD = \
77 $(top_builddir)/src/dns/libgnunetdnsparser.la \
78 $(top_builddir)/src/dns/libgnunetdnsnew.la \
79 $(top_builddir)/src/util/libgnunetutil.la \
81 gnunet_dns_redirector_DEPENDENCIES = \
82 libgnunetdnsparser.la \
85 gnunet_service_dns_new_SOURCES = \
86 gnunet-service-dns_new.c
87 gnunet_service_dns_new_LDADD = \
88 $(top_builddir)/src/statistics/libgnunetstatistics.la \
89 $(top_builddir)/src/util/libgnunetutil.la \
92 libgnunetdnsparser_la_SOURCES = \
94 libgnunetdnsparser_la_LIBADD = \
95 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
96 libgnunetdnsparser_la_LDFLAGS = \
99 libgnunetdns_la_SOURCES = \
101 libgnunetdns_la_LIBADD = \
102 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
103 libgnunetdns_la_LDFLAGS = \
106 libgnunetdnsnew_la_SOURCES = \
107 dns_api_new.c dns_new.h
108 libgnunetdnsnew_la_LIBADD = \
109 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
110 libgnunetdnsnew_la_LDFLAGS = \
113 libgnunet_plugin_block_dns_la_SOURCES = \
115 libgnunet_plugin_block_dns_la_LIBADD = \
116 $(top_builddir)/src/util/libgnunetutil.la
117 libgnunet_plugin_block_dns_la_LDFLAGS = \
118 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)