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
40 $(VPNBIN) gnunet-service-vpn gnunet-vpn
44 check_PROGRAMS = $(VPN_TEST)
47 TESTS = $(check_PROGRAMS)
53 gnunet_helper_vpn_SOURCES = \
56 gnunet_service_vpn_SOURCES = \
58 gnunet_service_vpn_LDADD = \
59 $(top_builddir)/src/statistics/libgnunetstatistics.la \
60 $(top_builddir)/src/tun/libgnunettun.la \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(top_builddir)/src/mesh/libgnunetmesh.la \
64 gnunet_service_vpn_CFLAGS = \
65 -I$(top_srcdir)/src/exit $(CFLAGS)
67 gnunet_vpn_SOURCES = \
70 $(top_builddir)/src/vpn/libgnunetvpn.la \
71 $(top_builddir)/src/util/libgnunetutil.la \
73 gnunet_vpn_DEPENDENCIES = \
76 libgnunetvpn_la_SOURCES = \
78 libgnunetvpn_la_LIBADD = \
79 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
80 libgnunetvpn_la_LDFLAGS = \
84 test_gnunet_vpn_4_over_SOURCES = \
86 test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBCURL@ \
87 $(top_builddir)/src/vpn/libgnunetvpn.la \
88 $(top_builddir)/src/testing/libgnunettesting.la \
89 $(top_builddir)/src/util/libgnunetutil.la
90 test_gnunet_vpn_4_over_CPPFLAGS = \
93 test_gnunet_vpn_6_over_SOURCES = \
95 test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \
96 $(top_builddir)/src/vpn/libgnunetvpn.la \
97 $(top_builddir)/src/testing/libgnunettesting.la \
98 $(top_builddir)/src/util/libgnunetutil.la
99 test_gnunet_vpn_6_over_CPPFLAGS = \
102 test_gnunet_vpn_4_to_6_SOURCES = \
104 test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \
105 $(top_builddir)/src/vpn/libgnunetvpn.la \
106 $(top_builddir)/src/testing/libgnunettesting.la \
107 $(top_builddir)/src/util/libgnunetutil.la
108 test_gnunet_vpn_4_to_6_CPPFLAGS = \
111 test_gnunet_vpn_6_to_4_SOURCES = \
113 test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \
114 $(top_builddir)/src/vpn/libgnunetvpn.la \
115 $(top_builddir)/src/testing/libgnunettesting.la \
116 $(top_builddir)/src/util/libgnunetutil.la
117 test_gnunet_vpn_6_to_4_CPPFLAGS = \