diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-21 11:54:28 +0000 |
commit | e6918187568dbd01842d8d1d2c808ce16a894239 (patch) | |
tree | 64f88b554b444a49f656b6c656111a145cbbaa28 /src/boost/tools/build/test/prebuilt/ext/jamfile2.jam | |
parent | Initial commit. (diff) | |
download | ceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip |
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/tools/build/test/prebuilt/ext/jamfile2.jam')
-rw-r--r-- | src/boost/tools/build/test/prebuilt/ext/jamfile2.jam | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/prebuilt/ext/jamfile2.jam b/src/boost/tools/build/test/prebuilt/ext/jamfile2.jam new file mode 100644 index 000000000..6481808c6 --- /dev/null +++ b/src/boost/tools/build/test/prebuilt/ext/jamfile2.jam @@ -0,0 +1,41 @@ + +import os ; + +local dll-suffix = so ; +local prefix = "lib" ; +if [ os.name ] in NT +{ + if [ MATCH ^(gcc) : $toolset ] + { + dll-suffix = dll.a ; + prefix = lib ; + } + else + { + dll-suffix = lib ; + prefix = "" ; + } +} +else if [ os.name ] in CYGWIN +{ + dll-suffix = dll ; +} +else if [ os.name ] in MACOSX +{ + dll-suffix = dylib ; +} + +project ext ; + +lib a : + : <file>debug/$(prefix)a.$(dll-suffix) <variant>debug + : + : <include>debug + ; + +lib a : + : <file>release/$(prefix)a.$(dll-suffix) <variant>release + : + : <include>release + ; + |