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)
51 gnunet_helper_vpn_SOURCES = \
54 gnunet_service_vpn_SOURCES = \
56 gnunet_service_vpn_LDADD = \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
58 $(top_builddir)/src/tun/libgnunettun.la \
59 $(top_builddir)/src/util/libgnunetutil.la \
60 $(top_builddir)/src/mesh/libgnunetmesh.la \
62 gnunet_service_vpn_CFLAGS = \
63 -I$(top_srcdir)/src/exit $(CFLAGS)
65 gnunet_vpn_SOURCES = \
68 $(top_builddir)/src/vpn/libgnunetvpn.la \
69 $(top_builddir)/src/util/libgnunetutil.la \
71 gnunet_vpn_DEPENDENCIES = \
74 libgnunetvpn_la_SOURCES = \
76 libgnunetvpn_la_LIBADD = \
77 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
78 libgnunetvpn_la_LDFLAGS = \
82 test_gnunet_vpn_4_over_SOURCES = \
84 test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBCURL@ \
85 $(top_builddir)/src/vpn/libgnunetvpn.la \
86 $(top_builddir)/src/arm/libgnunetarm.la \
87 $(top_builddir)/src/util/libgnunetutil.la
89 test_gnunet_vpn_6_over_SOURCES = \
91 test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \
92 $(top_builddir)/src/vpn/libgnunetvpn.la \
93 $(top_builddir)/src/arm/libgnunetarm.la \
94 $(top_builddir)/src/util/libgnunetutil.la
96 test_gnunet_vpn_4_to_6_SOURCES = \
98 test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \
99 $(top_builddir)/src/vpn/libgnunetvpn.la \
100 $(top_builddir)/src/arm/libgnunetarm.la \
101 $(top_builddir)/src/util/libgnunetutil.la
103 test_gnunet_vpn_6_to_4_SOURCES = \
105 test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \
106 $(top_builddir)/src/vpn/libgnunetvpn.la \
107 $(top_builddir)/src/arm/libgnunetarm.la \
108 $(top_builddir)/src/util/libgnunetutil.la