From: Christian Grothoff Date: Tue, 24 Jan 2012 10:18:47 +0000 (+0000) Subject: -do not compile vpn/exit/pt/dns on non-Linux systems X-Git-Tag: initial-import-from-subversion-38251~15157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a4507745fddb1b7c5fc2ddfcdd453917cdbe595b;p=oweals%2Fgnunet.git -do not compile vpn/exit/pt/dns on non-Linux systems --- diff --git a/src/Makefile.am b/src/Makefile.am index 36e87f82b..56fdd0978 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,12 @@ if HAVE_EXPERIMENTAL EXP_DIR = chat dv endif +if LINUX +# All of these currently only work on GNU/Linux + LINUX_DIR = dns exit vpn pt +endif + + SUBDIRS = \ include $(INTLEMU_SUBDIRS) \ util \ @@ -31,9 +37,6 @@ SUBDIRS = \ topology \ fs \ mesh \ - dns \ - exit \ - vpn \ - pt \ + $(LINUX_DIR) \ integration-tests \ $(EXP_DIR) diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am index fc6c8f200..b7d9956d3 100644 --- a/src/transport/Makefile.am +++ b/src/transport/Makefile.am @@ -368,7 +368,7 @@ test_transport_api_tcp_LDADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/transport/libgnunettransporttesting.la - + test_transport_api_bidirectional_connect_SOURCES = \ test_transport_api_bidirectional_connect.c test_transport_api_bidirectional_connect_LDADD = \ @@ -394,7 +394,7 @@ test_transport_api_restart_2peers_LDADD = \ $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/transport/libgnunettransporttesting.la - + test_transport_api_limited_sockets_tcp_SOURCES = \ test_transport_api_limited_sockets.c test_transport_api_limited_sockets_tcp_LDADD = \ @@ -434,7 +434,7 @@ test_transport_api_timeout_http_LDADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/transport/libgnunettransporttesting.la - + test_transport_api_timeout_https_SOURCES = \ test_transport_api_timeout.c test_transport_api_timeout_https_LDADD = \ @@ -442,7 +442,7 @@ test_transport_api_timeout_https_LDADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/transport/libgnunettransporttesting.la - + test_transport_api_reliability_tcp_nat_SOURCES = \ test_transport_api_reliability.c test_transport_api_reliability_tcp_nat_LDADD = \ @@ -506,7 +506,7 @@ test_transport_api_http_LDADD = \ $(top_builddir)/src/hello/libgnunethello.la \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/transport/libgnunettransporttesting.la - + test_transport_api_http_nat_SOURCES = \ test_transport_api.c test_transport_api_http_nat_LDADD = \