|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57441 - sandbox/tools/build_extensions/ext
From: grafikrobot_at_[hidden]
Date: 2009-11-06 18:41:35
Author: grafik
Date: 2009-11-06 18:41:34 EST (Fri, 06 Nov 2009)
New Revision: 57441
URL: http://svn.boost.org/trac/boost/changeset/57441
Log:
Support for building IMath library <http://spinning-yarns.org/michael/sw/imath/>
Added:
sandbox/tools/build_extensions/ext/imath.jam
- copied, changed from r57438, /sandbox/tools/build_extensions/ext/zlib.jam
Text files modified:
sandbox/tools/build_extensions/ext/imath.jam | 53 ++++++++++++++-------------------------
1 files changed, 19 insertions(+), 34 deletions(-)
Copied: sandbox/tools/build_extensions/ext/imath.jam (from r57438, /sandbox/tools/build_extensions/ext/zlib.jam)
==============================================================================
--- /sandbox/tools/build_extensions/ext/zlib.jam (original)
+++ sandbox/tools/build_extensions/ext/imath.jam 2009-11-06 18:41:34 EST (Fri, 06 Nov 2009)
@@ -1,12 +1,12 @@
-#~ Copyright Redshift Software, Inc. 2006.
+#~ Copyright Redshift Software, Inc. 2009.
#~ Distributed under the Boost Software License, Version 1.0.
#~ (See accompanying file LICENSE_1_0.txt or copy at
#~ http://www.boost.org/LICENSE_1_0.txt)
-### Support for building Zlib library <http://www.zlib.net/>.
+### Support for building IMath library <http://spinning-yarns.org/michael/sw/imath/>.
### Targets:
-### /ext/zlib//z
-### /ext/zlib//minizip
+### /ext/imath//integer
+### /ext/imath//rational
import extension ;
@@ -15,52 +15,37 @@
import feature ;
import common ;
-extension.declare zlib ;
+extension.declare imath ;
rule init ( version ? : location : options * )
{
version ?= default ;
- local requirements = [ extension.define zlib $(version) : $(location) : $(options) ] ;
+ local requirements = [ extension.define imath $(version) : $(location) : $(options) ] ;
- lib z
- : $(location)/adler32.c
- $(location)/compress.c
- $(location)/crc32.c
- $(location)/deflate.c
- $(location)/gzio.c
- $(location)/inffast.c
- $(location)/inflate.c
- $(location)/inftrees.c
- $(location)/trees.c
- $(location)/uncompr.c
- $(location)/zutil.c
+ lib integer
+ : $(location)/imath.c
+ $(location)/iprime.c
: $(requirements)
- <zlib-version>$(version)
- <zlib-location>$(location)
+ <imath-version>$(version)
+ <imath-location>$(location)
<include>$(location)
- <location-prefix>zlib
+ <location-prefix>imath
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
- <link>shared:<define>ZLIB_DLL
:
: <include>$(location)
;
- lib minizip
- : $(location)/contrib/minizip/ioapi.c
- $(location)/contrib/minizip/iowin32.c
- $(location)/contrib/minizip/unzip.c
- $(location)/contrib/minizip/zip.c
- /ext/zlib//z
+ lib rational
+ : $(location)/imrat.c
: $(requirements)
- <zlib-version>$(version)
- <zlib-location>$(location)
- <include>$(location)/contrib/minizip
- <location-prefix>minizip
+ <imath-version>$(version)
+ <imath-location>$(location)
+ <include>$(location)
+ <location-prefix>imath
<toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
<toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
- <link>shared:<define>ZLIB_DLL
:
- : <include>$(location)/contrib
+ : <include>$(location)
;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk