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/arm/libgnunetarm.la \
89 $(top_builddir)/src/util/libgnunetutil.la
91 test_gnunet_vpn_6_over_SOURCES = \
93 test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \
94 $(top_builddir)/src/vpn/libgnunetvpn.la \
95 $(top_builddir)/src/arm/libgnunetarm.la \
96 $(top_builddir)/src/util/libgnunetutil.la
98 test_gnunet_vpn_4_to_6_SOURCES = \
100 test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \
101 $(top_builddir)/src/vpn/libgnunetvpn.la \
102 $(top_builddir)/src/arm/libgnunetarm.la \
103 $(top_builddir)/src/util/libgnunetutil.la
105 test_gnunet_vpn_6_to_4_SOURCES = \
107 test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \
108 $(top_builddir)/src/vpn/libgnunetvpn.la \
109 $(top_builddir)/src/arm/libgnunetarm.la \
110 $(top_builddir)/src/util/libgnunetutil.la