diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-06-04 12:46:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-06-04 12:46:35 +0000 |
commit | a4de07fd32aa846b48da80980da97e292bdae691 (patch) | |
tree | 6e0f717a78899b586917dac4ef6978611a4f0153 | |
parent | eb9f75cf04f449f04713af6584ccae9e42b49eb2 (diff) | |
download | gnunet-a4de07fd32aa846b48da80980da97e292bdae691.tar.gz gnunet-a4de07fd32aa846b48da80980da97e292bdae691.zip |
-duplication
-rw-r--r-- | src/pt/Makefile.am | 221 |
1 files changed, 110 insertions, 111 deletions
diff --git a/src/pt/Makefile.am b/src/pt/Makefile.am index 396fa0d16..a9ae4fa5e 100644 --- a/src/pt/Makefile.am +++ b/src/pt/Makefile.am | |||
@@ -1,111 +1,110 @@ | |||
1 | INCLUDES = -I$(top_srcdir)/src/include | 1 | INCLUDES = -I$(top_srcdir)/src/include |
2 | 2 | ||
3 | if MINGW | 3 | if MINGW |
4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols | 4 | WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols |
5 | endif | 5 | endif |
6 | 6 | ||
7 | if USE_COVERAGE | 7 | if USE_COVERAGE |
8 | AM_CFLAGS = --coverage -O0 | 8 | AM_CFLAGS = --coverage -O0 |
9 | endif | 9 | endif |
10 | 10 | ||
11 | pkgcfgdir= $(pkgdatadir)/config.d/ | 11 | pkgcfgdir= $(pkgdatadir)/config.d/ |
12 | 12 | ||
13 | libexecdir= $(pkglibdir)/libexec/ | 13 | libexecdir= $(pkglibdir)/libexec/ |
14 | 14 | ||
15 | plugindir = $(libdir)/gnunet | 15 | plugindir = $(libdir)/gnunet |
16 | 16 | ||
17 | dist_pkgcfg_DATA = \ | 17 | dist_pkgcfg_DATA = \ |
18 | pt.conf | 18 | pt.conf |
19 | 19 | ||
20 | libexec_PROGRAMS = \ | 20 | libexec_PROGRAMS = \ |
21 | gnunet-daemon-pt | 21 | gnunet-daemon-pt |
22 | 22 | ||
23 | gnunet_daemon_pt_SOURCES = \ | 23 | gnunet_daemon_pt_SOURCES = \ |
24 | gnunet-daemon-pt.c | 24 | gnunet-daemon-pt.c |
25 | gnunet_daemon_pt_LDADD = \ | 25 | gnunet_daemon_pt_LDADD = \ |
26 | $(top_builddir)/src/vpn/libgnunetvpn.la \ | 26 | $(top_builddir)/src/vpn/libgnunetvpn.la \ |
27 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 27 | $(top_builddir)/src/mesh/libgnunetmesh.la \ |
28 | $(top_builddir)/src/dns/libgnunetdns.la \ | 28 | $(top_builddir)/src/dns/libgnunetdns.la \ |
29 | $(top_builddir)/src/dns/libgnunetdnsparser.la \ | 29 | $(top_builddir)/src/dns/libgnunetdnsparser.la \ |
30 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | 30 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ |
31 | $(top_builddir)/src/util/libgnunetutil.la \ | 31 | $(top_builddir)/src/util/libgnunetutil.la \ |
32 | $(top_builddir)/src/mesh/libgnunetmesh.la \ | 32 | $(GN_LIBINTL) |
33 | $(GN_LIBINTL) | 33 | |
34 | 34 | if HAVE_MHD | |
35 | if HAVE_MHD | 35 | if HAVE_LIBCURL |
36 | if HAVE_LIBCURL | 36 | if LINUX |
37 | if LINUX | 37 | VPN_TEST = \ |
38 | VPN_TEST = \ | 38 | test_gnunet_vpn-4_to_6 \ |
39 | test_gnunet_vpn-4_to_6 \ | 39 | test_gnunet_vpn-6_to_4 \ |
40 | test_gnunet_vpn-6_to_4 \ | 40 | test_gnunet_vpn-6_over \ |
41 | test_gnunet_vpn-6_over \ | 41 | test_gnunet_vpn-4_over \ |
42 | test_gnunet_vpn-4_over \ | 42 | test_gns_vpn |
43 | test_gns_vpn | 43 | endif |
44 | endif | 44 | if MINGW |
45 | if MINGW | 45 | VPN_TEST = \ |
46 | VPN_TEST = \ | 46 | test_gnunet_vpn-4_to_6 \ |
47 | test_gnunet_vpn-4_to_6 \ | 47 | test_gnunet_vpn-6_to_4 \ |
48 | test_gnunet_vpn-6_to_4 \ | 48 | test_gnunet_vpn-6_over \ |
49 | test_gnunet_vpn-6_over \ | 49 | test_gnunet_vpn-4_over |
50 | test_gnunet_vpn-4_over | 50 | endif |
51 | endif | 51 | endif |
52 | endif | 52 | endif |
53 | endif | 53 | |
54 | 54 | check_PROGRAMS = $(VPN_TEST) | |
55 | check_PROGRAMS = $(VPN_TEST) | 55 | |
56 | 56 | if ENABLE_TEST_RUN | |
57 | if ENABLE_TEST_RUN | 57 | TESTS = $(check_PROGRAMS) |
58 | TESTS = $(check_PROGRAMS) | 58 | endif |
59 | endif | 59 | |
60 | 60 | EXTRA_DIST = \ | |
61 | EXTRA_DIST = \ | 61 | test_gnunet_vpn.conf \ |
62 | test_gnunet_vpn.conf \ | 62 | test_gns_vpn.conf |
63 | test_gns_vpn.conf | 63 | |
64 | 64 | ||
65 | 65 | ||
66 | 66 | test_gns_vpn_SOURCES = \ | |
67 | test_gns_vpn_SOURCES = \ | 67 | test_gns_vpn.c |
68 | test_gns_vpn.c | 68 | test_gns_vpn_LDADD = -lmicrohttpd @LIBCURL@ \ |
69 | test_gns_vpn_LDADD = -lmicrohttpd @LIBCURL@ \ | 69 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ |
70 | $(top_builddir)/src/namestore/libgnunetnamestore.la \ | 70 | $(top_builddir)/src/testing/libgnunettesting.la \ |
71 | $(top_builddir)/src/testing/libgnunettesting.la \ | 71 | $(top_builddir)/src/util/libgnunetutil.la |
72 | $(top_builddir)/src/util/libgnunetutil.la | 72 | test_gns_vpn_CPPFLAGS = \ |
73 | test_gns_vpn_CPPFLAGS = \ | 73 | @LIBCURL_CPPFLAGS@ |
74 | @LIBCURL_CPPFLAGS@ | 74 | |
75 | 75 | test_gnunet_vpn_4_over_SOURCES = \ | |
76 | test_gnunet_vpn_4_over_SOURCES = \ | 76 | test_gnunet_vpn.c |
77 | test_gnunet_vpn.c | 77 | test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBCURL@ \ |
78 | test_gnunet_vpn_4_over_LDADD = -lmicrohttpd @LIBCURL@ \ | 78 | $(top_builddir)/src/vpn/libgnunetvpn.la \ |
79 | $(top_builddir)/src/vpn/libgnunetvpn.la \ | 79 | $(top_builddir)/src/testing/libgnunettesting.la \ |
80 | $(top_builddir)/src/testing/libgnunettesting.la \ | 80 | $(top_builddir)/src/util/libgnunetutil.la |
81 | $(top_builddir)/src/util/libgnunetutil.la | 81 | test_gnunet_vpn_4_over_CPPFLAGS = \ |
82 | test_gnunet_vpn_4_over_CPPFLAGS = \ | 82 | @LIBCURL_CPPFLAGS@ |
83 | @LIBCURL_CPPFLAGS@ | 83 | |
84 | 84 | test_gnunet_vpn_6_over_SOURCES = \ | |
85 | test_gnunet_vpn_6_over_SOURCES = \ | 85 | test_gnunet_vpn.c |
86 | test_gnunet_vpn.c | 86 | test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \ |
87 | test_gnunet_vpn_6_over_LDADD = -lmicrohttpd @LIBCURL@ \ | 87 | $(top_builddir)/src/vpn/libgnunetvpn.la \ |
88 | $(top_builddir)/src/vpn/libgnunetvpn.la \ | 88 | $(top_builddir)/src/testing/libgnunettesting.la \ |
89 | $(top_builddir)/src/testing/libgnunettesting.la \ | 89 | $(top_builddir)/src/util/libgnunetutil.la |
90 | $(top_builddir)/src/util/libgnunetutil.la | 90 | test_gnunet_vpn_6_over_CPPFLAGS = \ |
91 | test_gnunet_vpn_6_over_CPPFLAGS = \ | 91 | @LIBCURL_CPPFLAGS@ |
92 | @LIBCURL_CPPFLAGS@ | 92 | |
93 | 93 | test_gnunet_vpn_4_to_6_SOURCES = \ | |
94 | test_gnunet_vpn_4_to_6_SOURCES = \ | 94 | test_gnunet_vpn.c |
95 | test_gnunet_vpn.c | 95 | test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \ |
96 | test_gnunet_vpn_4_to_6_LDADD = -lmicrohttpd @LIBCURL@ \ | 96 | $(top_builddir)/src/vpn/libgnunetvpn.la \ |
97 | $(top_builddir)/src/vpn/libgnunetvpn.la \ | 97 | $(top_builddir)/src/testing/libgnunettesting.la \ |
98 | $(top_builddir)/src/testing/libgnunettesting.la \ | 98 | $(top_builddir)/src/util/libgnunetutil.la |
99 | $(top_builddir)/src/util/libgnunetutil.la | 99 | test_gnunet_vpn_4_to_6_CPPFLAGS = \ |
100 | test_gnunet_vpn_4_to_6_CPPFLAGS = \ | 100 | @LIBCURL_CPPFLAGS@ |
101 | @LIBCURL_CPPFLAGS@ | 101 | |
102 | 102 | test_gnunet_vpn_6_to_4_SOURCES = \ | |
103 | test_gnunet_vpn_6_to_4_SOURCES = \ | 103 | test_gnunet_vpn.c |
104 | test_gnunet_vpn.c | 104 | test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \ |
105 | test_gnunet_vpn_6_to_4_LDADD = -lmicrohttpd @LIBCURL@ \ | 105 | $(top_builddir)/src/vpn/libgnunetvpn.la \ |
106 | $(top_builddir)/src/vpn/libgnunetvpn.la \ | 106 | $(top_builddir)/src/testing/libgnunettesting.la \ |
107 | $(top_builddir)/src/testing/libgnunettesting.la \ | 107 | $(top_builddir)/src/util/libgnunetutil.la |
108 | $(top_builddir)/src/util/libgnunetutil.la | 108 | test_gnunet_vpn_6_to_4_CPPFLAGS = \ |
109 | test_gnunet_vpn_6_to_4_CPPFLAGS = \ | 109 | @LIBCURL_CPPFLAGS@ |
110 | @LIBCURL_CPPFLAGS@ | 110 | |
111 | |||