summaryrefslogtreecommitdiff
path: root/ACE/protocols/examples/INet/inet.mpc
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/protocols/examples/INet/inet.mpc')
-rw-r--r--ACE/protocols/examples/INet/inet.mpc42
1 files changed, 42 insertions, 0 deletions
diff --git a/ACE/protocols/examples/INet/inet.mpc b/ACE/protocols/examples/INet/inet.mpc
new file mode 100644
index 00000000000..16f42462566
--- /dev/null
+++ b/ACE/protocols/examples/INet/inet.mpc
@@ -0,0 +1,42 @@
+// -*- MPC -*-
+// $Id$
+
+// This project will be generated with and without ssl=1 feature
+// but will only build when the ssl macro != 1 (i.e. ssl off)
+project(HTTP_Simple_exec) : aceexe, inet {
+ exename = http_simple_wget
+ Source_Files {
+ HTTP_Simple_exec.cpp
+ }
+ verbatim(gnuace, circuit) {
+ "ifeq ($(ssl),1)"
+ "override BIN:="
+ "ifdef ARCH"
+ "override ARCH_BIN:="
+ "endif #ARCH"
+ "all: avoid_warning"
+ "endif"
+ }
+
+ verbatim(gnuace, local) {
+ "ifeq ($(ssl),1)"
+ "avoids_enabled_macros += ssl"
+ "endif"
+ }
+}
+
+// This project will only be generated with the ssl=1 feature
+// and will only build when the ssl macro = 1 (i.e. ssl on)
+project(HTTPS_Simple_exec) : aceexe, inet, inetssl {
+ exename = https_simple_wget
+ Source_Files {
+ HTTP_Simple_exec.cpp
+ }
+}
+
+project(FTP_Simple_exec) : aceexe, inet {
+ exename = ftp_simple_wget
+ Source_Files {
+ FTP_Simple_exec.cpp
+ }
+}