1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
9 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
16 plugindir = $(libdir)/gnunet
24 gnunet_daemon_pt_SOURCES = \
26 gnunet_daemon_pt_LDADD = \
27 $(top_builddir)/src/vpn/libgnunetvpn.la \
28 $(top_builddir)/src/cadet/libgnunetcadet.la \
29 $(top_builddir)/src/dht/libgnunetdht.la \
30 $(top_builddir)/src/dns/libgnunetdns.la \
31 $(top_builddir)/src/dns/libgnunetdnsparser.la \
32 $(top_builddir)/src/statistics/libgnunetstatistics.la \
33 $(top_builddir)/src/util/libgnunetutil.la \
41 CPP_GNURL=@LIBGNURL_CPPFLAGS@
44 test_gnunet_vpn-4_to_6 \
45 test_gnunet_vpn-6_to_4 \
46 test_gnunet_vpn-6_over \
47 test_gnunet_vpn-4_over \
52 test_gnunet_vpn-4_to_6 \
53 test_gnunet_vpn-6_to_4 \
54 test_gnunet_vpn-6_over \
55 test_gnunet_vpn-4_over
60 CPP_GNURL=@LIBCURL_CPPFLAGS@
63 test_gnunet_vpn-4_to_6 \
64 test_gnunet_vpn-6_to_4 \
65 test_gnunet_vpn-6_over \
66 test_gnunet_vpn-4_over \
71 test_gnunet_vpn-4_to_6 \
72 test_gnunet_vpn-6_to_4 \
73 test_gnunet_vpn-6_over \
74 test_gnunet_vpn-4_over
82 check_PROGRAMS = $(VPN_TEST)
85 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
86 TESTS = $(check_PROGRAMS)
90 test_gnunet_vpn.conf \
95 test_gns_vpn_SOURCES = \
97 test_gns_vpn_LDADD = -lmicrohttpd $(LIB_GNURL) \
98 $(top_builddir)/src/namestore/libgnunetnamestore.la \
99 $(top_builddir)/src/identity/libgnunetidentity.la \
100 $(top_builddir)/src/gnsrecord/libgnunetgnsrecord.la \
101 $(top_builddir)/src/testing/libgnunettesting.la \
102 $(top_builddir)/src/util/libgnunetutil.la
103 test_gns_vpn_CPPFLAGS = \
104 $(CPP_GNURL) $(AM_CPPFLAGS)
106 test_gnunet_vpn_4_over_SOURCES = \
108 test_gnunet_vpn_4_over_LDADD = -lmicrohttpd $(LIB_GNURL) \
109 $(top_builddir)/src/vpn/libgnunetvpn.la \
110 $(top_builddir)/src/testing/libgnunettesting.la \
111 $(top_builddir)/src/util/libgnunetutil.la
112 test_gnunet_vpn_4_over_CPPFLAGS = \
113 $(LIB_GNURL) $(AM_CPPFLAGS)
115 test_gnunet_vpn_6_over_SOURCES = \
117 test_gnunet_vpn_6_over_LDADD = -lmicrohttpd $(LIB_GNURL) \
118 $(top_builddir)/src/vpn/libgnunetvpn.la \
119 $(top_builddir)/src/testing/libgnunettesting.la \
120 $(top_builddir)/src/util/libgnunetutil.la
121 test_gnunet_vpn_6_over_CPPFLAGS = \
122 $(CPP_GNURL) $(AM_CPPFLAGS)
124 test_gnunet_vpn_4_to_6_SOURCES = \
126 test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd $(LIB_GNURL) \
127 $(top_builddir)/src/vpn/libgnunetvpn.la \
128 $(top_builddir)/src/testing/libgnunettesting.la \
129 $(top_builddir)/src/util/libgnunetutil.la
130 test_gnunet_vpn_4_to_6_CPPFLAGS = \
131 $(CPP_GNURL) $(AM_CPPFLAGS)
133 test_gnunet_vpn_6_to_4_SOURCES = \
135 test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd $(LIB_GNURL) \
136 $(top_builddir)/src/vpn/libgnunetvpn.la \
137 $(top_builddir)/src/testing/libgnunettesting.la \
138 $(top_builddir)/src/util/libgnunetutil.la
139 test_gnunet_vpn_6_to_4_CPPFLAGS = \
140 $(CPP_GNURL) $(AM_CPPFLAGS)