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
21 $(SUDO_BINARY) chown root:root $(bindir)/gnunet-helper-vpn || true
22 $(SUDO_BINARY) chmod u+s $(bindir)/gnunet-helper-vpn || true
25 test_gnunet_vpn-4_to_6 \
26 test_gnunet_vpn-6_to_4 \
27 test_gnunet_vpn-6_over \
28 test_gnunet_vpn-4_over
41 $(VPNBIN) gnunet-service-vpn gnunet-vpn
45 check_PROGRAMS = $(VPN_TEST)
48 TESTS = $(check_PROGRAMS)
52 test_gnunet_vpn.conf \
55 gnunet_helper_vpn_SOURCES = \
58 gnunet_service_vpn_SOURCES = \
60 gnunet_service_vpn_LDADD = \
61 $(top_builddir)/src/statistics/libgnunetstatistics.la \
62 $(top_builddir)/src/tun/libgnunettun.la \
63 $(top_builddir)/src/util/libgnunetutil.la \
64 $(top_builddir)/src/mesh/libgnunetmesh.la \
66 gnunet_service_vpn_CFLAGS = \
67 -I$(top_srcdir)/src/exit $(CFLAGS)
69 gnunet_vpn_SOURCES = \
72 $(top_builddir)/src/vpn/libgnunetvpn.la \
73 $(top_builddir)/src/util/libgnunetutil.la \
75 gnunet_vpn_DEPENDENCIES = \
78 libgnunetvpn_la_SOURCES = \
80 libgnunetvpn_la_LIBADD = \
81 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
82 libgnunetvpn_la_LDFLAGS = \
85 #test_gns_vpn_SOURCES = \
87 #test_gns_vpn_LDADD = -lmicrohttpd @LIBCURL@ \
88 # $(top_builddir)/src/namestore/libgnunetnamestore.la \
89 # $(top_builddir)/src/testing/libgnunettesting.la \
90 # $(top_builddir)/src/util/libgnunetutil.la
91 #test_gnunet_vpn_4_over_CPPFLAGS = \
94 test_gnunet_vpn_4_over_SOURCES = \
96 test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBCURL@ \
97 $(top_builddir)/src/vpn/libgnunetvpn.la \
98 $(top_builddir)/src/testing/libgnunettesting.la \
99 $(top_builddir)/src/util/libgnunetutil.la
100 test_gnunet_vpn_4_over_CPPFLAGS = \
103 test_gnunet_vpn_6_over_SOURCES = \
105 test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \
106 $(top_builddir)/src/vpn/libgnunetvpn.la \
107 $(top_builddir)/src/testing/libgnunettesting.la \
108 $(top_builddir)/src/util/libgnunetutil.la
109 test_gnunet_vpn_6_over_CPPFLAGS = \
112 test_gnunet_vpn_4_to_6_SOURCES = \
114 test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \
115 $(top_builddir)/src/vpn/libgnunetvpn.la \
116 $(top_builddir)/src/testing/libgnunettesting.la \
117 $(top_builddir)/src/util/libgnunetutil.la
118 test_gnunet_vpn_4_to_6_CPPFLAGS = \
121 test_gnunet_vpn_6_to_4_SOURCES = \
123 test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \
124 $(top_builddir)/src/vpn/libgnunetvpn.la \
125 $(top_builddir)/src/testing/libgnunettesting.la \
126 $(top_builddir)/src/util/libgnunetutil.la
127 test_gnunet_vpn_6_to_4_CPPFLAGS = \