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 VPNBIN = gnunet-helper-vpn
20 HIJACKBIN = gnunet-helper-hijack-dns
22 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-vpn || true
23 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-vpn || true
24 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-hijack-dns || true
25 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-hijack-dns || true
32 gnunet-daemon-exit gnunet-daemon-vpn gnunet-service-dns $(VPNBIN) $(HIJACKBIN)
35 gnunet_helper_vpn_SOURCES = \
38 gnunet_helper_hijack_dns_SOURCES = \
39 gnunet-helper-hijack-dns.c
41 gnunet_daemon_vpn_SOURCES = \
42 gnunet-daemon-vpn.c gnunet-daemon-vpn.h \
43 gnunet-dns-parser.c gnunet-dns-parser.h \
44 gnunet-daemon-vpn-helper.c gnunet-daemon-vpn-helper.h \
45 gnunet-daemon-vpn-dns.c gnunet-daemon-vpn-dns.h \
46 gnunet-helper-vpn-api.c gnunet-helper-vpn-api.h \
47 gnunet-vpn-checksum.c gnunet-vpn-checksum.h
48 gnunet_daemon_vpn_LDADD = \
49 $(top_builddir)/src/core/libgnunetcore.la \
50 $(top_builddir)/src/statistics/libgnunetstatistics.la \
51 $(top_builddir)/src/util/libgnunetutil.la \
52 $(top_builddir)/src/mesh/libgnunetmesh.la \
55 gnunet_service_dns_SOURCES = \
56 gnunet-service-dns.c gnunet-service-dns-p.h \
57 gnunet-dns-parser.c gnunet-dns-parser.h
58 gnunet_service_dns_LDADD = \
59 $(top_builddir)/src/core/libgnunetcore.la \
60 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(top_builddir)/src/dht/libgnunetdht.la \
63 $(top_builddir)/src/mesh/libgnunetmesh.la \
66 gnunet_daemon_exit_SOURCES = \
67 gnunet-daemon-exit.c \
68 gnunet-helper-vpn-api.c gnunet-helper-vpn-api.h \
69 gnunet-vpn-checksum.c gnunet-vpn-checksum.h
70 gnunet_daemon_exit_LDADD = \
71 $(top_builddir)/src/core/libgnunetcore.la \
72 $(top_builddir)/src/statistics/libgnunetstatistics.la \
73 $(top_builddir)/src/util/libgnunetutil.la \
74 $(top_builddir)/src/mesh/libgnunetmesh.la \
78 plugin_LTLIBRARIES = \
79 libgnunet_plugin_block_dns.la
81 libgnunet_plugin_block_dns_la_SOURCES = \
83 libgnunet_plugin_block_dns_la_LIBADD = \
84 $(top_builddir)/src/util/libgnunetutil.la
85 libgnunet_plugin_block_dns_la_LDFLAGS = \
86 $(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
94 # test_transport_api_tcp
97 #test_transport_api_tcp_SOURCES = \
98 # test_transport_api.c
99 #test_transport_api_tcp_LDADD = \
100 # $(top_builddir)/src/transport/libgnunettransport.la \
101 # $(top_builddir)/src/util/libgnunetutil.la
104 gnunet-vpn-packet.h \