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
33 $(VPNBIN) gnunet-service-vpn gnunet-vpn
37 VPN_TEST = test_gnunet_vpn
40 check_PROGRAMS = $(VPN_TEST)
43 TESTS = $(check_PROGRAMS)
47 gnunet_helper_vpn_SOURCES = \
50 gnunet_service_vpn_SOURCES = \
52 gnunet_service_vpn_LDADD = \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 $(top_builddir)/src/tun/libgnunettun.la \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 $(top_builddir)/src/mesh/libgnunetmesh.la \
58 gnunet_service_vpn_CFLAGS = \
59 -I$(top_srcdir)/src/exit $(CFLAGS)
61 gnunet_vpn_SOURCES = \
64 $(top_builddir)/src/vpn/libgnunetvpn.la \
65 $(top_builddir)/src/util/libgnunetutil.la \
67 gnunet_vpn_DEPENDENCIES = \
70 libgnunetvpn_la_SOURCES = \
72 libgnunetvpn_la_LIBADD = \
73 $(top_builddir)/src/util/libgnunetutil.la $(XLIB)
74 libgnunetvpn_la_LDFLAGS = \
78 test_gnunet_vpn_SOURCES = \
80 test_gnunet_vpn_LDADD = -lmicrohttpd @LIBCURL@ \
81 $(top_builddir)/src/vpn/libgnunetvpn.la \
82 $(top_builddir)/src/arm/libgnunetarm.la \
83 $(top_builddir)/src/util/libgnunetutil.la