blob: f7376a111b18c640f99c156759d1e039d9c483d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
INCLUDES = -I$(top_srcdir)/src/include
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif
if USE_COVERAGE
AM_CFLAGS = --coverage -O0
endif
pkgcfgdir= $(pkgdatadir)/config.d/
plugindir = $(libdir)/gnunet
pkgcfg_DATA = \
dns.conf
if LINUX
HIJACKBIN = gnunet-helper-hijack-dns gnunet-helper-dns
install-exec-hook:
$(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-hijack-dns || true
$(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-hijack-dns || true
$(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-dns || true
$(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-dns || true
else
install-exec-hook:
endif
lib_LTLIBRARIES = \
libgnunetdnsparser.la \
libgnunetdnsnew.la \
libgnunetdns.la
bin_PROGRAMS = \
gnunet-service-dns gnunet-service-dns-new $(HIJACKBIN)
noinst_PROGRAMS = \
gnunet-dns-monitor gnunet-dns-redirector
plugin_LTLIBRARIES = \
libgnunet_plugin_block_dns.la
gnunet_helper_hijack_dns_SOURCES = \
gnunet-helper-hijack-dns.c
gnunet_helper_dns_SOURCES = \
gnunet-helper-dns.c
gnunet_service_dns_SOURCES = \
gnunet-service-dns.c
gnunet_service_dns_LDADD = \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(top_builddir)/src/dht/libgnunetdht.la \
$(top_builddir)/src/mesh/libgnunetmesh.la \
$(top_builddir)/src/dns/libgnunetdnsparser.la \
$(GN_LIBINTL)
gnunet_service_dns_DEPENDENCIES = \
libgnunetdnsparser.la
gnunet_dns_monitor_SOURCES = \
gnunet-dns-monitor.c
gnunet_dns_monitor_LDADD = \
$(top_builddir)/src/dns/libgnunetdnsparser.la \
$(top_builddir)/src/dns/libgnunetdnsnew.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
gnunet_dns_monitor_DEPENDENCIES = \
libgnunetdnsparser.la \
libgnunetdnsnew.la
gnunet_dns_redirector_SOURCES = \
gnunet-dns-redirector.c
gnunet_dns_redirector_LDADD = \
$(top_builddir)/src/dns/libgnunetdnsparser.la \
$(top_builddir)/src/dns/libgnunetdnsnew.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
gnunet_dns_redirector_DEPENDENCIES = \
libgnunetdnsparser.la \
libgnunetdnsnew.la
gnunet_service_dns_new_SOURCES = \
gnunet-service-dns_new.c
gnunet_service_dns_new_LDADD = \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
libgnunetdnsparser_la_SOURCES = \
dnsparser.c
libgnunetdnsparser_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la $(XLIB)
libgnunetdnsparser_la_LDFLAGS = \
$(GN_LIB_LDFLAGS)
libgnunetdns_la_SOURCES = \
dns_api.c dns.h
libgnunetdns_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la $(XLIB)
libgnunetdns_la_LDFLAGS = \
$(GN_LIB_LDFLAGS)
libgnunetdnsnew_la_SOURCES = \
dns_api_new.c dns_new.h
libgnunetdnsnew_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la $(XLIB)
libgnunetdnsnew_la_LDFLAGS = \
$(GN_LIB_LDFLAGS)
libgnunet_plugin_block_dns_la_SOURCES = \
plugin_block_dns.c
libgnunet_plugin_block_dns_la_LIBADD = \
$(top_builddir)/src/util/libgnunetutil.la
libgnunet_plugin_block_dns_la_LDFLAGS = \
$(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
|