summaryrefslogtreecommitdiff
path: root/libssl/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-26 17:04:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-28 16:07:10 +0300
commit0ca0851a01251b960ba19d958978004168f58593 (patch)
treed50cc7f7d17e1f1a79dd2c1026606ed23540222d /libssl/build
parent05e886fee177833f75d01ebf72f120021f71f130 (diff)
Add implementation
Diffstat (limited to 'libssl/build')
-rw-r--r--libssl/build/.gitignore3
-rw-r--r--libssl/build/bootstrap.build19
-rw-r--r--libssl/build/export.build10
-rw-r--r--libssl/build/root.build12
4 files changed, 44 insertions, 0 deletions
diff --git a/libssl/build/.gitignore b/libssl/build/.gitignore
new file mode 100644
index 0000000..4a730a3
--- /dev/null
+++ b/libssl/build/.gitignore
@@ -0,0 +1,3 @@
+config.build
+root/
+bootstrap/
diff --git a/libssl/build/bootstrap.build b/libssl/build/bootstrap.build
new file mode 100644
index 0000000..4f383bf
--- /dev/null
+++ b/libssl/build/bootstrap.build
@@ -0,0 +1,19 @@
+# file : build/root.build
+# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
+# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
+
+project = libssl
+
+using version
+using config
+using test
+using install
+using dist
+
+# Sync with the libcrypto library ABI version (see libcrypto's bootstrap.build
+# for details).
+#
+if ($version.major == 1 && $version.minor == 1 && $version.patch == 1)
+ abi_version = '1.1'
+else
+ fail 'increment the ABI version?'
diff --git a/libssl/build/export.build b/libssl/build/export.build
new file mode 100644
index 0000000..f1e1ae5
--- /dev/null
+++ b/libssl/build/export.build
@@ -0,0 +1,10 @@
+# file : build/root.build
+# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
+# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
+
+$out_root/
+{
+ include libssl/
+}
+
+export $out_root/libssl/$import.target
diff --git a/libssl/build/root.build b/libssl/build/root.build
new file mode 100644
index 0000000..2a4a530
--- /dev/null
+++ b/libssl/build/root.build
@@ -0,0 +1,12 @@
+# file : build/root.build
+# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd
+# license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
+
+using c
+
+h{*}: extension = h
+c{*}: extension = c
+
+# The test target for cross-testing (running tests under Wine, etc).
+#
+test.target = $c.target