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 $(HIJACKBIN)
37 plugin_LTLIBRARIES = \
38 libgnunet_plugin_block_dns.la
41 gnunet_helper_hijack_dns_SOURCES = \
42 gnunet-helper-hijack-dns.c
44 gnunet_helper_dns_SOURCES = \
47 gnunet_service_dns_SOURCES = \
48 gnunet-service-dns.c gnunet-service-dns-p.h
49 gnunet_service_dns_LDADD = \
50 $(top_builddir)/src/core/libgnunetcore.la \
51 $(top_builddir)/src/statistics/libgnunetstatistics.la \
52 $(top_builddir)/src/util/libgnunetutil.la \
53 $(top_builddir)/src/dht/libgnunetdht.la \
54 $(top_builddir)/src/mesh/libgnunetmesh.la \
55 $(top_builddir)/src/dns/libgnunetdnsparser.la \
58 libgnunetdnsparser_la_SOURCES = \
60 libgnunetdnsparser_la_LIBADD = \
61 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
62 libgnunetdnsparser_la_LDFLAGS = \
65 libgnunetdns_la_SOURCES = \
67 libgnunetdns_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
69 libgnunetdns_la_LDFLAGS = \
72 libgnunetdnsnew_la_SOURCES = \
73 dns_api_new.c dns_new.h
74 libgnunetdnsnew_la_LIBADD = \
75 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
76 libgnunetdnsnew_la_LDFLAGS = \
79 libgnunet_plugin_block_dns_la_SOURCES = \
81 libgnunet_plugin_block_dns_la_LIBADD = \
82 $(top_builddir)/src/util/libgnunetutil.la
83 libgnunet_plugin_block_dns_la_LDFLAGS = \
84 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)