qrscanner 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Manifest +478 -0
- data/README +41 -0
- data/Rakefile +9 -0
- data/bin/qrscanner +9 -0
- data/ext/qrscanner/extconf.rb +70 -0
- data/ext/qrscanner/qrscanner.c +32 -0
- data/ext/qrscanner/zxing/README +43 -0
- data/ext/qrscanner/zxing/SConscript +55 -0
- data/ext/qrscanner/zxing/SConstruct +7 -0
- data/ext/qrscanner/zxing/astyle-options +12 -0
- data/ext/qrscanner/zxing/blackboxtest.sh +45 -0
- data/ext/qrscanner/zxing/core/src/zxing/BarcodeFormat.cpp +38 -0
- data/ext/qrscanner/zxing/core/src/zxing/BarcodeFormat.h +42 -0
- data/ext/qrscanner/zxing/core/src/zxing/Binarizer.cpp +36 -0
- data/ext/qrscanner/zxing/core/src/zxing/Binarizer.h +46 -0
- data/ext/qrscanner/zxing/core/src/zxing/BinaryBitmap.cpp +67 -0
- data/ext/qrscanner/zxing/core/src/zxing/BinaryBitmap.h +57 -0
- data/ext/qrscanner/zxing/core/src/zxing/DecodeHints.cpp +111 -0
- data/ext/qrscanner/zxing/core/src/zxing/DecodeHints.h +69 -0
- data/ext/qrscanner/zxing/core/src/zxing/Exception.cpp +25 -0
- data/ext/qrscanner/zxing/core/src/zxing/Exception.h +39 -0
- data/ext/qrscanner/zxing/core/src/zxing/LuminanceSource.cpp +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/LuminanceSource.h +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/MultiFormatReader.cpp +102 -0
- data/ext/qrscanner/zxing/core/src/zxing/MultiFormatReader.h +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/Reader.cpp +31 -0
- data/ext/qrscanner/zxing/core/src/zxing/Reader.h +40 -0
- data/ext/qrscanner/zxing/core/src/zxing/ReaderException.cpp +32 -0
- data/ext/qrscanner/zxing/core/src/zxing/ReaderException.h +34 -0
- data/ext/qrscanner/zxing/core/src/zxing/Result.cpp +59 -0
- data/ext/qrscanner/zxing/core/src/zxing/Result.h +53 -0
- data/ext/qrscanner/zxing/core/src/zxing/ResultPoint.cpp +27 -0
- data/ext/qrscanner/zxing/core/src/zxing/ResultPoint.h +39 -0
- data/ext/qrscanner/zxing/core/src/zxing/ResultPointCallback.cpp +26 -0
- data/ext/qrscanner/zxing/core/src/zxing/ResultPointCallback.h +39 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Array.cpp +22 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Array.h +207 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitArray.cpp +129 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitArray.h +55 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitMatrix.cpp +178 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitMatrix.h +65 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitSource.cpp +75 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/BitSource.h +67 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Counted.cpp +32 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Counted.h +205 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/DecoderResult.cpp +37 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/DecoderResult.h +43 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/DetectorResult.cpp +41 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/DetectorResult.h +46 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/EdgeDetector.cpp +191 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/EdgeDetector.h +38 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GlobalHistogramBinarizer.cpp +209 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GlobalHistogramBinarizer.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GreyscaleLuminanceSource.cpp +70 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GreyscaleLuminanceSource.h +62 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GreyscaleRotatedLuminanceSource.cpp +65 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GreyscaleRotatedLuminanceSource.h +60 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GridSampler.cpp +101 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/GridSampler.h +43 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/HybridBinarizer.cpp +168 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/HybridBinarizer.h +55 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/IllegalArgumentException.cpp +31 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/IllegalArgumentException.h +33 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/PerspectiveTransform.cpp +107 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/PerspectiveTransform.h +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Point.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Str.cpp +38 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/Str.h +40 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/GF256.cpp +136 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/GF256.h +68 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/GF256Poly.cpp +198 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/GF256Poly.h +53 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp +193 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.h +46 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/ReedSolomonException.cpp +30 -0
- data/ext/qrscanner/zxing/core/src/zxing/common/reedsolomon/ReedSolomonException.h +33 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/DataMatrixReader.cpp +82 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/DataMatrixReader.h +45 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/Version.cpp +199 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/Version.h +87 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/BitMatrixParser.cpp +364 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/BitMatrixParser.h +59 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/DataBlock.cpp +113 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/DataBlock.h +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/DecodedBitStreamParser.cpp +404 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/DecodedBitStreamParser.h +103 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/Decoder.cpp +96 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/decoder/Decoder.h +50 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/CornerPoint.cpp +54 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/CornerPoint.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/Detector.cpp +315 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/Detector.h +79 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/MonochromeRectangleDetector.cpp +172 -0
- data/ext/qrscanner/zxing/core/src/zxing/datamatrix/detector/MonochromeRectangleDetector.h +61 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/Code128Reader.cpp +490 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/Code128Reader.h +63 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/Code39Reader.cpp +352 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/Code39Reader.h +58 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/EAN13Reader.cpp +95 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/EAN13Reader.h +44 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/EAN8Reader.cpp +73 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/EAN8Reader.h +41 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/ITFReader.cpp +363 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/ITFReader.h +56 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/MultiFormatOneDReader.cpp +66 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/MultiFormatOneDReader.h +38 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/MultiFormatUPCEANReader.cpp +87 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/MultiFormatUPCEANReader.h +38 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/OneDReader.cpp +206 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/OneDReader.h +50 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/OneDResultPoint.cpp +36 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/OneDResultPoint.h +40 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCAReader.cpp +65 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCAReader.h +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCEANReader.cpp +311 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCEANReader.h +77 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCEReader.cpp +143 -0
- data/ext/qrscanner/zxing/core/src/zxing/oned/UPCEReader.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/ErrorCorrectionLevel.cpp +49 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/ErrorCorrectionLevel.h +46 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/FormatInformation.cpp +108 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/FormatInformation.h +54 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/QRCodeReader.cpp +82 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/QRCodeReader.h +43 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/Version.cpp +557 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/Version.h +85 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/BitMatrixParser.cpp +191 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/BitMatrixParser.h +56 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DataBlock.cpp +118 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DataBlock.h +50 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DataMask.cpp +159 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DataMask.h +50 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DecodedBitStreamParser.cpp +353 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/DecodedBitStreamParser.h +59 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/Decoder.cpp +103 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/Decoder.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/Mode.cpp +73 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/decoder/Mode.h +50 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/AlignmentPattern.cpp +46 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/AlignmentPattern.h +45 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/AlignmentPatternFinder.cpp +209 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/AlignmentPatternFinder.h +68 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/Detector.cpp +286 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/Detector.h +64 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPattern.cpp +58 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPattern.h +48 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPatternFinder.cpp +540 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPatternFinder.h +69 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPatternInfo.cpp +41 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/FinderPatternInfo.h +47 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/QREdgeDetector.cpp +169 -0
- data/ext/qrscanner/zxing/core/src/zxing/qrcode/detector/QREdgeDetector.h +48 -0
- data/ext/qrscanner/zxing/core/tests/src/TestRunner.cpp +30 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitArrayTest.cpp +96 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitArrayTest.h +50 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitMatrixTest.cpp +107 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitMatrixTest.h +55 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitSourceTest.cpp +49 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BitSourceTest.h +42 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BlackPointEstimatorTest.cpp +47 -0
- data/ext/qrscanner/zxing/core/tests/src/common/BlackPointEstimatorTest.h +45 -0
- data/ext/qrscanner/zxing/core/tests/src/common/CountedTest.cpp +54 -0
- data/ext/qrscanner/zxing/core/tests/src/common/CountedTest.h +46 -0
- data/ext/qrscanner/zxing/core/tests/src/common/PerspectiveTransformTest.cpp +69 -0
- data/ext/qrscanner/zxing/core/tests/src/common/PerspectiveTransformTest.h +47 -0
- data/ext/qrscanner/zxing/core/tests/src/common/reedsolomon/ReedSolomonTest.cpp +130 -0
- data/ext/qrscanner/zxing/core/tests/src/common/reedsolomon/ReedSolomonTest.h +62 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/ErrorCorrectionLevelTest.cpp +47 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/ErrorCorrectionLevelTest.h +45 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/FormatInformationTest.cpp +70 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/FormatInformationTest.h +47 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/VersionTest.cpp +88 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/VersionTest.h +49 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/decoder/DataMaskTest.cpp +134 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/decoder/DataMaskTest.h +91 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/decoder/ModeTest.cpp +52 -0
- data/ext/qrscanner/zxing/core/tests/src/qrcode/decoder/ModeTest.h +47 -0
- data/ext/qrscanner/zxing/format +2 -0
- data/ext/qrscanner/zxing/magick/src/MagickBitmapSource.cpp +99 -0
- data/ext/qrscanner/zxing/magick/src/MagickBitmapSource.h +49 -0
- data/ext/qrscanner/zxing/magick/src/example.cpp +83 -0
- data/ext/qrscanner/zxing/magick/src/main.cpp +241 -0
- data/ext/qrscanner/zxing/magick/src/qrscanner.cpp +188 -0
- data/ext/qrscanner/zxing/osx.xcodeproj/project.pbxproj +1045 -0
- data/ext/qrscanner/zxing/scons/scons-LICENSE +25 -0
- data/ext/qrscanner/zxing/scons/scons-README +204 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Action.py +1241 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Action.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Builder.py +877 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Builder.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/CacheDir.py +216 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/CacheDir.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Conftest.py +793 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Conftest.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Debug.py +220 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Debug.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.py +480 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Defaults.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Environment.py +2318 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Environment.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Errors.py +205 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Errors.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Executor.py +633 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Executor.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Job.py +435 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Job.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Memoize.py +244 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Memoize.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Alias.py +152 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Alias.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/FS.py +3142 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/FS.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.py +128 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/Python.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/__init__.py +1328 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Node/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/BoolOption.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/BoolOption.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/EnumOption.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/EnumOption.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/ListOption.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/ListOption.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/PackageOption.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/PackageOption.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/PathOption.py +76 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/PathOption.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/__init__.py +67 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Options/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/PathList.py +231 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/PathList.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/__init__.py +241 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/aix.py +69 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/cygwin.py +55 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/darwin.py +46 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/hpux.py +46 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/irix.py +44 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/os2.py +58 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/posix.py +263 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/posix.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/sunos.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Platform/win32.py +385 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/SConf.py +1030 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/SConf.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/SConsign.py +383 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/SConsign.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/C.py +132 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/C.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/D.py +73 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/D.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Dir.py +109 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Dir.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Fortran.py +316 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Fortran.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/IDL.py +48 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/LaTeX.py +362 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/LaTeX.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Prog.py +101 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/Prog.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/RC.py +55 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/__init__.py +413 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Scanner/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/Interactive.py +384 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/Interactive.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/Main.py +1334 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/Main.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/SConsOptions.py +939 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/SConsOptions.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/SConscript.py +640 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/SConscript.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/__init__.py +412 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Script/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Sig.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Subst.py +904 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Subst.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Taskmaster.py +1017 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Taskmaster.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/386asm.py +61 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/BitKeeper.py +67 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/BitKeeper.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/CVS.py +73 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/CVS.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/FortranCommon.py +246 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/FortranCommon.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/JavaCommon.py +323 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/JavaCommon.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/__init__.py +56 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/arch.py +61 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/common.py +240 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/netframework.py +82 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/sdk.py +391 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/vc.py +456 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/MSCommon/vs.py +499 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/Perforce.py +103 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/Perforce.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/PharLapCommon.py +137 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/PharLapCommon.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/RCS.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/RCS.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/SCCS.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/SCCS.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/Subversion.py +71 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/__init__.py +681 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/aixc++.py +82 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/aixcc.py +74 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/aixf77.py +80 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/aixlink.py +76 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/applelink.py +71 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ar.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ar.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/as.py +78 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/as.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/bcc32.py +81 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/c++.py +99 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/c++.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/cc.py +102 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/cc.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/cvf.py +58 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/default.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/default.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dmd.py +223 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dmd.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvi.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.py +124 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvipdf.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvips.py +94 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/dvips.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f77.py +62 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f77.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f90.py +62 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f90.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f95.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/f95.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/filesystem.py +98 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/filesystem.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/fortran.py +62 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/fortran.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/g++.py +90 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/g++.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/g77.py +73 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/g77.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gas.py +53 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gas.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gcc.py +80 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gcc.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gfortran.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gfortran.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gnulink.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gnulink.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gs.py +81 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/gs.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/hpc++.py +84 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/hpcc.py +53 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/hplink.py +77 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/icc.py +59 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/icl.py +52 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ifl.py +72 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ifl.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ifort.py +88 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ifort.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ilink.py +59 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ilink32.py +60 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/install.py +229 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/install.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/intelc.py +482 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/ipkg.py +67 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/jar.py +110 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/jar.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/javac.py +230 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/javac.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/javah.py +137 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/javah.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/latex.py +79 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/latex.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/lex.py +97 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/lex.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/link.py +121 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/link.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/linkloc.py +112 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/m4.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/m4.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/masm.py +77 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/midl.py +88 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mingw.py +158 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mslib.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mslink.py +266 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mssdk.py +50 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/msvc.py +268 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/msvs.py +1388 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mwcc.py +207 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/mwld.py +107 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/nasm.py +72 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/__init__.py +312 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/ipk.py +185 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/msi.py +527 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/rpm.py +365 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/src_tarbz2.py +43 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/src_targz.py +43 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/src_zip.py +43 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/tarbz2.py +44 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/targz.py +44 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/packaging/zip.py +44 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdf.py +78 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdf.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdflatex.py +83 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdflatex.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdftex.py +108 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/pdftex.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/qt.py +336 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rmic.py +120 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rmic.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rpcgen.py +70 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rpcgen.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rpm.py +132 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/rpm.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sgiar.py +68 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sgic++.py +58 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sgicc.py +53 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sgilink.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunar.py +67 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunc++.py +142 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/suncc.py +58 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunf77.py +63 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunf90.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunf95.py +64 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/sunlink.py +77 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/swig.py +182 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/swig.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/tar.py +73 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/tar.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/tex.py +807 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/tex.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/textfile.py +175 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/tlib.py +53 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/wix.py +99 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/wix.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/yacc.py +130 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/yacc.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/zip.py +99 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Tool/zip.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Util.py +1496 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Util.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/BoolVariable.py +89 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/BoolVariable.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/EnumVariable.py +103 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/EnumVariable.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/ListVariable.py +135 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/ListVariable.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/PackageVariable.py +106 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/PackageVariable.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/PathVariable.py +147 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/PathVariable.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/__init__.py +312 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Variables/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Warnings.py +246 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/Warnings.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/__init__.py +49 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/__init__.py +237 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/__init__.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_builtins.py +150 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_builtins.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_collections.py +45 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_dbm.py +45 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_hashlib.py +76 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_io.py +45 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_sets.py +563 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/compat/_scons_subprocess.py +1281 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/cpp.py +589 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/cpp.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/dblite.py +251 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/dblite.pyc +0 -0
- data/ext/qrscanner/zxing/scons/scons-local-2.0.0.final.0/SCons/exitfuncs.py +77 -0
- data/ext/qrscanner/zxing/scons/scons-time.py +1544 -0
- data/ext/qrscanner/zxing/scons/scons.py +196 -0
- data/ext/qrscanner/zxing/scons/sconsign.py +513 -0
- data/qrscanner.gemspec +33 -0
- metadata +1023 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
"""SCons.Platform.irix
|
2
|
+
|
3
|
+
Platform-specific initialization for SGI IRIX systems.
|
4
|
+
|
5
|
+
There normally shouldn't be any need to import this module directly. It
|
6
|
+
will usually be imported through the generic SCons.Platform.Platform()
|
7
|
+
selection method.
|
8
|
+
"""
|
9
|
+
|
10
|
+
#
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
#
|
13
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
+
# a copy of this software and associated documentation files (the
|
15
|
+
# "Software"), to deal in the Software without restriction, including
|
16
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
+
# the following conditions:
|
20
|
+
#
|
21
|
+
# The above copyright notice and this permission notice shall be included
|
22
|
+
# in all copies or substantial portions of the Software.
|
23
|
+
#
|
24
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
25
|
+
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
26
|
+
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
+
#
|
32
|
+
|
33
|
+
__revision__ = "src/engine/SCons/Platform/irix.py 5023 2010/06/14 22:05:46 scons"
|
34
|
+
|
35
|
+
import posix
|
36
|
+
|
37
|
+
def generate(env):
|
38
|
+
posix.generate(env)
|
39
|
+
|
40
|
+
# Local Variables:
|
41
|
+
# tab-width:4
|
42
|
+
# indent-tabs-mode:nil
|
43
|
+
# End:
|
44
|
+
# vim: set expandtab tabstop=4 shiftwidth=4:
|
@@ -0,0 +1,58 @@
|
|
1
|
+
"""SCons.Platform.os2
|
2
|
+
|
3
|
+
Platform-specific initialization for OS/2 systems.
|
4
|
+
|
5
|
+
There normally shouldn't be any need to import this module directly. It
|
6
|
+
will usually be imported through the generic SCons.Platform.Platform()
|
7
|
+
selection method.
|
8
|
+
"""
|
9
|
+
|
10
|
+
#
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
#
|
13
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
+
# a copy of this software and associated documentation files (the
|
15
|
+
# "Software"), to deal in the Software without restriction, including
|
16
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
+
# the following conditions:
|
20
|
+
#
|
21
|
+
# The above copyright notice and this permission notice shall be included
|
22
|
+
# in all copies or substantial portions of the Software.
|
23
|
+
#
|
24
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
25
|
+
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
26
|
+
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
+
#
|
32
|
+
|
33
|
+
__revision__ = "src/engine/SCons/Platform/os2.py 5023 2010/06/14 22:05:46 scons"
|
34
|
+
import win32
|
35
|
+
|
36
|
+
def generate(env):
|
37
|
+
if 'ENV' not in env:
|
38
|
+
env['ENV'] = {}
|
39
|
+
env['OBJPREFIX'] = ''
|
40
|
+
env['OBJSUFFIX'] = '.obj'
|
41
|
+
env['SHOBJPREFIX'] = '$OBJPREFIX'
|
42
|
+
env['SHOBJSUFFIX'] = '$OBJSUFFIX'
|
43
|
+
env['PROGPREFIX'] = ''
|
44
|
+
env['PROGSUFFIX'] = '.exe'
|
45
|
+
env['LIBPREFIX'] = ''
|
46
|
+
env['LIBSUFFIX'] = '.lib'
|
47
|
+
env['SHLIBPREFIX'] = ''
|
48
|
+
env['SHLIBSUFFIX'] = '.dll'
|
49
|
+
env['LIBPREFIXES'] = '$LIBPREFIX'
|
50
|
+
env['LIBSUFFIXES'] = [ '$LIBSUFFIX', '$SHLIBSUFFIX' ]
|
51
|
+
env['HOST_OS'] = 'os2'
|
52
|
+
env['HOST_ARCH'] = win32.get_architecture().arch
|
53
|
+
|
54
|
+
# Local Variables:
|
55
|
+
# tab-width:4
|
56
|
+
# indent-tabs-mode:nil
|
57
|
+
# End:
|
58
|
+
# vim: set expandtab tabstop=4 shiftwidth=4:
|
@@ -0,0 +1,263 @@
|
|
1
|
+
"""SCons.Platform.posix
|
2
|
+
|
3
|
+
Platform-specific initialization for POSIX (Linux, UNIX, etc.) systems.
|
4
|
+
|
5
|
+
There normally shouldn't be any need to import this module directly. It
|
6
|
+
will usually be imported through the generic SCons.Platform.Platform()
|
7
|
+
selection method.
|
8
|
+
"""
|
9
|
+
|
10
|
+
#
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
#
|
13
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
+
# a copy of this software and associated documentation files (the
|
15
|
+
# "Software"), to deal in the Software without restriction, including
|
16
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
+
# the following conditions:
|
20
|
+
#
|
21
|
+
# The above copyright notice and this permission notice shall be included
|
22
|
+
# in all copies or substantial portions of the Software.
|
23
|
+
#
|
24
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
25
|
+
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
26
|
+
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
+
#
|
32
|
+
|
33
|
+
__revision__ = "src/engine/SCons/Platform/posix.py 5023 2010/06/14 22:05:46 scons"
|
34
|
+
|
35
|
+
import errno
|
36
|
+
import os
|
37
|
+
import os.path
|
38
|
+
import subprocess
|
39
|
+
import sys
|
40
|
+
import select
|
41
|
+
|
42
|
+
import SCons.Util
|
43
|
+
from SCons.Platform import TempFileMunge
|
44
|
+
|
45
|
+
exitvalmap = {
|
46
|
+
2 : 127,
|
47
|
+
13 : 126,
|
48
|
+
}
|
49
|
+
|
50
|
+
def escape(arg):
|
51
|
+
"escape shell special characters"
|
52
|
+
slash = '\\'
|
53
|
+
special = '"$()'
|
54
|
+
|
55
|
+
arg = arg.replace(slash, slash+slash)
|
56
|
+
for c in special:
|
57
|
+
arg = arg.replace(c, slash+c)
|
58
|
+
|
59
|
+
return '"' + arg + '"'
|
60
|
+
|
61
|
+
def exec_system(l, env):
|
62
|
+
stat = os.system(' '.join(l))
|
63
|
+
if stat & 0xff:
|
64
|
+
return stat | 0x80
|
65
|
+
return stat >> 8
|
66
|
+
|
67
|
+
def exec_spawnvpe(l, env):
|
68
|
+
stat = os.spawnvpe(os.P_WAIT, l[0], l, env)
|
69
|
+
# os.spawnvpe() returns the actual exit code, not the encoding
|
70
|
+
# returned by os.waitpid() or os.system().
|
71
|
+
return stat
|
72
|
+
|
73
|
+
def exec_fork(l, env):
|
74
|
+
pid = os.fork()
|
75
|
+
if not pid:
|
76
|
+
# Child process.
|
77
|
+
exitval = 127
|
78
|
+
try:
|
79
|
+
os.execvpe(l[0], l, env)
|
80
|
+
except OSError, e:
|
81
|
+
exitval = exitvalmap.get(e[0], e[0])
|
82
|
+
sys.stderr.write("scons: %s: %s\n" % (l[0], e[1]))
|
83
|
+
os._exit(exitval)
|
84
|
+
else:
|
85
|
+
# Parent process.
|
86
|
+
pid, stat = os.waitpid(pid, 0)
|
87
|
+
if stat & 0xff:
|
88
|
+
return stat | 0x80
|
89
|
+
return stat >> 8
|
90
|
+
|
91
|
+
def _get_env_command(sh, escape, cmd, args, env):
|
92
|
+
s = ' '.join(args)
|
93
|
+
if env:
|
94
|
+
l = ['env', '-'] + \
|
95
|
+
[escape(t[0])+'='+escape(t[1]) for t in env.items()] + \
|
96
|
+
[sh, '-c', escape(s)]
|
97
|
+
s = ' '.join(l)
|
98
|
+
return s
|
99
|
+
|
100
|
+
def env_spawn(sh, escape, cmd, args, env):
|
101
|
+
return exec_system([_get_env_command( sh, escape, cmd, args, env)], env)
|
102
|
+
|
103
|
+
def spawnvpe_spawn(sh, escape, cmd, args, env):
|
104
|
+
return exec_spawnvpe([sh, '-c', ' '.join(args)], env)
|
105
|
+
|
106
|
+
def fork_spawn(sh, escape, cmd, args, env):
|
107
|
+
return exec_fork([sh, '-c', ' '.join(args)], env)
|
108
|
+
|
109
|
+
def process_cmd_output(cmd_stdout, cmd_stderr, stdout, stderr):
|
110
|
+
stdout_eof = stderr_eof = 0
|
111
|
+
while not (stdout_eof and stderr_eof):
|
112
|
+
try:
|
113
|
+
(i,o,e) = select.select([cmd_stdout, cmd_stderr], [], [])
|
114
|
+
if cmd_stdout in i:
|
115
|
+
str = cmd_stdout.read()
|
116
|
+
if len(str) == 0:
|
117
|
+
stdout_eof = 1
|
118
|
+
elif stdout is not None:
|
119
|
+
stdout.write(str)
|
120
|
+
if cmd_stderr in i:
|
121
|
+
str = cmd_stderr.read()
|
122
|
+
if len(str) == 0:
|
123
|
+
#sys.__stderr__.write( "stderr_eof=1\n" )
|
124
|
+
stderr_eof = 1
|
125
|
+
else:
|
126
|
+
#sys.__stderr__.write( "str(stderr) = %s\n" % str )
|
127
|
+
stderr.write(str)
|
128
|
+
except select.error, (_errno, _strerror):
|
129
|
+
if _errno != errno.EINTR:
|
130
|
+
raise
|
131
|
+
|
132
|
+
def exec_popen3(l, env, stdout, stderr):
|
133
|
+
proc = subprocess.Popen(' '.join(l),
|
134
|
+
stdout=stdout,
|
135
|
+
stderr=stderr,
|
136
|
+
shell=True)
|
137
|
+
stat = proc.wait()
|
138
|
+
if stat & 0xff:
|
139
|
+
return stat | 0x80
|
140
|
+
return stat >> 8
|
141
|
+
|
142
|
+
def exec_piped_fork(l, env, stdout, stderr):
|
143
|
+
# spawn using fork / exec and providing a pipe for the command's
|
144
|
+
# stdout / stderr stream
|
145
|
+
if stdout != stderr:
|
146
|
+
(rFdOut, wFdOut) = os.pipe()
|
147
|
+
(rFdErr, wFdErr) = os.pipe()
|
148
|
+
else:
|
149
|
+
(rFdOut, wFdOut) = os.pipe()
|
150
|
+
rFdErr = rFdOut
|
151
|
+
wFdErr = wFdOut
|
152
|
+
# do the fork
|
153
|
+
pid = os.fork()
|
154
|
+
if not pid:
|
155
|
+
# Child process
|
156
|
+
os.close( rFdOut )
|
157
|
+
if rFdOut != rFdErr:
|
158
|
+
os.close( rFdErr )
|
159
|
+
os.dup2( wFdOut, 1 ) # is there some symbolic way to do that ?
|
160
|
+
os.dup2( wFdErr, 2 )
|
161
|
+
os.close( wFdOut )
|
162
|
+
if stdout != stderr:
|
163
|
+
os.close( wFdErr )
|
164
|
+
exitval = 127
|
165
|
+
try:
|
166
|
+
os.execvpe(l[0], l, env)
|
167
|
+
except OSError, e:
|
168
|
+
exitval = exitvalmap.get(e[0], e[0])
|
169
|
+
stderr.write("scons: %s: %s\n" % (l[0], e[1]))
|
170
|
+
os._exit(exitval)
|
171
|
+
else:
|
172
|
+
# Parent process
|
173
|
+
pid, stat = os.waitpid(pid, 0)
|
174
|
+
os.close( wFdOut )
|
175
|
+
if stdout != stderr:
|
176
|
+
os.close( wFdErr )
|
177
|
+
childOut = os.fdopen( rFdOut )
|
178
|
+
if stdout != stderr:
|
179
|
+
childErr = os.fdopen( rFdErr )
|
180
|
+
else:
|
181
|
+
childErr = childOut
|
182
|
+
process_cmd_output(childOut, childErr, stdout, stderr)
|
183
|
+
os.close( rFdOut )
|
184
|
+
if stdout != stderr:
|
185
|
+
os.close( rFdErr )
|
186
|
+
if stat & 0xff:
|
187
|
+
return stat | 0x80
|
188
|
+
return stat >> 8
|
189
|
+
|
190
|
+
def piped_env_spawn(sh, escape, cmd, args, env, stdout, stderr):
|
191
|
+
# spawn using Popen3 combined with the env command
|
192
|
+
# the command name and the command's stdout is written to stdout
|
193
|
+
# the command's stderr is written to stderr
|
194
|
+
return exec_popen3([_get_env_command(sh, escape, cmd, args, env)],
|
195
|
+
env, stdout, stderr)
|
196
|
+
|
197
|
+
def piped_fork_spawn(sh, escape, cmd, args, env, stdout, stderr):
|
198
|
+
# spawn using fork / exec and providing a pipe for the command's
|
199
|
+
# stdout / stderr stream
|
200
|
+
return exec_piped_fork([sh, '-c', ' '.join(args)],
|
201
|
+
env, stdout, stderr)
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
def generate(env):
|
206
|
+
# If os.spawnvpe() exists, we use it to spawn commands. Otherwise
|
207
|
+
# if the env utility exists, we use os.system() to spawn commands,
|
208
|
+
# finally we fall back on os.fork()/os.exec().
|
209
|
+
#
|
210
|
+
# os.spawnvpe() is prefered because it is the most efficient. But
|
211
|
+
# for Python versions without it, os.system() is prefered because it
|
212
|
+
# is claimed that it works better with threads (i.e. -j) and is more
|
213
|
+
# efficient than forking Python.
|
214
|
+
#
|
215
|
+
# NB: Other people on the scons-users mailing list have claimed that
|
216
|
+
# os.fork()/os.exec() works better than os.system(). There may just
|
217
|
+
# not be a default that works best for all users.
|
218
|
+
|
219
|
+
if 'spawnvpe' in os.__dict__:
|
220
|
+
spawn = spawnvpe_spawn
|
221
|
+
elif env.Detect('env'):
|
222
|
+
spawn = env_spawn
|
223
|
+
else:
|
224
|
+
spawn = fork_spawn
|
225
|
+
|
226
|
+
if env.Detect('env'):
|
227
|
+
pspawn = piped_env_spawn
|
228
|
+
else:
|
229
|
+
pspawn = piped_fork_spawn
|
230
|
+
|
231
|
+
if 'ENV' not in env:
|
232
|
+
env['ENV'] = {}
|
233
|
+
env['ENV']['PATH'] = '/usr/local/bin:/opt/bin:/bin:/usr/bin'
|
234
|
+
env['OBJPREFIX'] = ''
|
235
|
+
env['OBJSUFFIX'] = '.o'
|
236
|
+
env['SHOBJPREFIX'] = '$OBJPREFIX'
|
237
|
+
env['SHOBJSUFFIX'] = '$OBJSUFFIX'
|
238
|
+
env['PROGPREFIX'] = ''
|
239
|
+
env['PROGSUFFIX'] = ''
|
240
|
+
env['LIBPREFIX'] = 'lib'
|
241
|
+
env['LIBSUFFIX'] = '.a'
|
242
|
+
env['SHLIBPREFIX'] = '$LIBPREFIX'
|
243
|
+
env['SHLIBSUFFIX'] = '.so'
|
244
|
+
env['LIBPREFIXES'] = [ '$LIBPREFIX' ]
|
245
|
+
env['LIBSUFFIXES'] = [ '$LIBSUFFIX', '$SHLIBSUFFIX' ]
|
246
|
+
env['PSPAWN'] = pspawn
|
247
|
+
env['SPAWN'] = spawn
|
248
|
+
env['SHELL'] = 'sh'
|
249
|
+
env['ESCAPE'] = escape
|
250
|
+
env['TEMPFILE'] = TempFileMunge
|
251
|
+
env['TEMPFILEPREFIX'] = '@'
|
252
|
+
#Based on LINUX: ARG_MAX=ARG_MAX=131072 - 3000 for environment expansion
|
253
|
+
#Note: specific platforms might rise or lower this value
|
254
|
+
env['MAXLINELENGTH'] = 128072
|
255
|
+
|
256
|
+
# This platform supports RPATH specifications.
|
257
|
+
env['__RPATH'] = '$_RPATH'
|
258
|
+
|
259
|
+
# Local Variables:
|
260
|
+
# tab-width:4
|
261
|
+
# indent-tabs-mode:nil
|
262
|
+
# End:
|
263
|
+
# vim: set expandtab tabstop=4 shiftwidth=4:
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"""engine.SCons.Platform.sunos
|
2
|
+
|
3
|
+
Platform-specific initialization for Sun systems.
|
4
|
+
|
5
|
+
There normally shouldn't be any need to import this module directly. It
|
6
|
+
will usually be imported through the generic SCons.Platform.Platform()
|
7
|
+
selection method.
|
8
|
+
"""
|
9
|
+
|
10
|
+
#
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
#
|
13
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
+
# a copy of this software and associated documentation files (the
|
15
|
+
# "Software"), to deal in the Software without restriction, including
|
16
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
+
# the following conditions:
|
20
|
+
#
|
21
|
+
# The above copyright notice and this permission notice shall be included
|
22
|
+
# in all copies or substantial portions of the Software.
|
23
|
+
#
|
24
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
25
|
+
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
26
|
+
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
+
#
|
32
|
+
|
33
|
+
__revision__ = "src/engine/SCons/Platform/sunos.py 5023 2010/06/14 22:05:46 scons"
|
34
|
+
|
35
|
+
import posix
|
36
|
+
|
37
|
+
def generate(env):
|
38
|
+
posix.generate(env)
|
39
|
+
# Based on sunSparc 8:32bit
|
40
|
+
# ARG_MAX=1048320 - 3000 for environment expansion
|
41
|
+
env['MAXLINELENGTH'] = 1045320
|
42
|
+
env['PKGINFO'] = 'pkginfo'
|
43
|
+
env['PKGCHK'] = '/usr/sbin/pkgchk'
|
44
|
+
env['ENV']['PATH'] = env['ENV']['PATH'] + ':/opt/SUNWspro/bin:/usr/ccs/bin'
|
45
|
+
|
46
|
+
# Local Variables:
|
47
|
+
# tab-width:4
|
48
|
+
# indent-tabs-mode:nil
|
49
|
+
# End:
|
50
|
+
# vim: set expandtab tabstop=4 shiftwidth=4:
|
@@ -0,0 +1,385 @@
|
|
1
|
+
"""SCons.Platform.win32
|
2
|
+
|
3
|
+
Platform-specific initialization for Win32 systems.
|
4
|
+
|
5
|
+
There normally shouldn't be any need to import this module directly. It
|
6
|
+
will usually be imported through the generic SCons.Platform.Platform()
|
7
|
+
selection method.
|
8
|
+
"""
|
9
|
+
|
10
|
+
#
|
11
|
+
# Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 The SCons Foundation
|
12
|
+
#
|
13
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
14
|
+
# a copy of this software and associated documentation files (the
|
15
|
+
# "Software"), to deal in the Software without restriction, including
|
16
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
17
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
18
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
19
|
+
# the following conditions:
|
20
|
+
#
|
21
|
+
# The above copyright notice and this permission notice shall be included
|
22
|
+
# in all copies or substantial portions of the Software.
|
23
|
+
#
|
24
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
|
25
|
+
# KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
26
|
+
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
27
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
28
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
29
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
30
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
|
+
#
|
32
|
+
|
33
|
+
__revision__ = "src/engine/SCons/Platform/win32.py 5023 2010/06/14 22:05:46 scons"
|
34
|
+
|
35
|
+
import os
|
36
|
+
import os.path
|
37
|
+
import sys
|
38
|
+
import tempfile
|
39
|
+
|
40
|
+
from SCons.Platform.posix import exitvalmap
|
41
|
+
from SCons.Platform import TempFileMunge
|
42
|
+
import SCons.Util
|
43
|
+
|
44
|
+
try:
|
45
|
+
import msvcrt
|
46
|
+
import win32api
|
47
|
+
import win32con
|
48
|
+
|
49
|
+
msvcrt.get_osfhandle
|
50
|
+
win32api.SetHandleInformation
|
51
|
+
win32con.HANDLE_FLAG_INHERIT
|
52
|
+
except ImportError:
|
53
|
+
parallel_msg = \
|
54
|
+
"you do not seem to have the pywin32 extensions installed;\n" + \
|
55
|
+
"\tparallel (-j) builds may not work reliably with open Python files."
|
56
|
+
except AttributeError:
|
57
|
+
parallel_msg = \
|
58
|
+
"your pywin32 extensions do not support file handle operations;\n" + \
|
59
|
+
"\tparallel (-j) builds may not work reliably with open Python files."
|
60
|
+
else:
|
61
|
+
parallel_msg = None
|
62
|
+
|
63
|
+
import builtins
|
64
|
+
|
65
|
+
_builtin_file = builtins.file
|
66
|
+
_builtin_open = builtins.open
|
67
|
+
|
68
|
+
def _scons_file(*args, **kw):
|
69
|
+
fp = _builtin_file(*args, **kw)
|
70
|
+
win32api.SetHandleInformation(msvcrt.get_osfhandle(fp.fileno()),
|
71
|
+
win32con.HANDLE_FLAG_INHERIT,
|
72
|
+
0)
|
73
|
+
return fp
|
74
|
+
|
75
|
+
def _scons_open(*args, **kw):
|
76
|
+
fp = _builtin_open(*args, **kw)
|
77
|
+
win32api.SetHandleInformation(msvcrt.get_osfhandle(fp.fileno()),
|
78
|
+
win32con.HANDLE_FLAG_INHERIT,
|
79
|
+
0)
|
80
|
+
return fp
|
81
|
+
|
82
|
+
builtins.file = _scons_file
|
83
|
+
builtins.open = _scons_open
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
# The upshot of all this is that, if you are using Python 1.5.2,
|
88
|
+
# you had better have cmd or command.com in your PATH when you run
|
89
|
+
# scons.
|
90
|
+
|
91
|
+
def piped_spawn(sh, escape, cmd, args, env, stdout, stderr):
|
92
|
+
# There is no direct way to do that in python. What we do
|
93
|
+
# here should work for most cases:
|
94
|
+
# In case stdout (stderr) is not redirected to a file,
|
95
|
+
# we redirect it into a temporary file tmpFileStdout
|
96
|
+
# (tmpFileStderr) and copy the contents of this file
|
97
|
+
# to stdout (stderr) given in the argument
|
98
|
+
if not sh:
|
99
|
+
sys.stderr.write("scons: Could not find command interpreter, is it in your PATH?\n")
|
100
|
+
return 127
|
101
|
+
else:
|
102
|
+
# one temporary file for stdout and stderr
|
103
|
+
tmpFileStdout = os.path.normpath(tempfile.mktemp())
|
104
|
+
tmpFileStderr = os.path.normpath(tempfile.mktemp())
|
105
|
+
|
106
|
+
# check if output is redirected
|
107
|
+
stdoutRedirected = 0
|
108
|
+
stderrRedirected = 0
|
109
|
+
for arg in args:
|
110
|
+
# are there more possibilities to redirect stdout ?
|
111
|
+
if (arg.find( ">", 0, 1 ) != -1 or
|
112
|
+
arg.find( "1>", 0, 2 ) != -1):
|
113
|
+
stdoutRedirected = 1
|
114
|
+
# are there more possibilities to redirect stderr ?
|
115
|
+
if arg.find( "2>", 0, 2 ) != -1:
|
116
|
+
stderrRedirected = 1
|
117
|
+
|
118
|
+
# redirect output of non-redirected streams to our tempfiles
|
119
|
+
if stdoutRedirected == 0:
|
120
|
+
args.append(">" + str(tmpFileStdout))
|
121
|
+
if stderrRedirected == 0:
|
122
|
+
args.append("2>" + str(tmpFileStderr))
|
123
|
+
|
124
|
+
# actually do the spawn
|
125
|
+
try:
|
126
|
+
args = [sh, '/C', escape(' '.join(args)) ]
|
127
|
+
ret = os.spawnve(os.P_WAIT, sh, args, env)
|
128
|
+
except OSError, e:
|
129
|
+
# catch any error
|
130
|
+
try:
|
131
|
+
ret = exitvalmap[e[0]]
|
132
|
+
except KeyError:
|
133
|
+
sys.stderr.write("scons: unknown OSError exception code %d - %s: %s\n" % (e[0], cmd, e[1]))
|
134
|
+
if stderr is not None:
|
135
|
+
stderr.write("scons: %s: %s\n" % (cmd, e[1]))
|
136
|
+
# copy child output from tempfiles to our streams
|
137
|
+
# and do clean up stuff
|
138
|
+
if stdout is not None and stdoutRedirected == 0:
|
139
|
+
try:
|
140
|
+
stdout.write(open( tmpFileStdout, "r" ).read())
|
141
|
+
os.remove( tmpFileStdout )
|
142
|
+
except (IOError, OSError):
|
143
|
+
pass
|
144
|
+
|
145
|
+
if stderr is not None and stderrRedirected == 0:
|
146
|
+
try:
|
147
|
+
stderr.write(open( tmpFileStderr, "r" ).read())
|
148
|
+
os.remove( tmpFileStderr )
|
149
|
+
except (IOError, OSError):
|
150
|
+
pass
|
151
|
+
return ret
|
152
|
+
|
153
|
+
def exec_spawn(l, env):
|
154
|
+
try:
|
155
|
+
result = os.spawnve(os.P_WAIT, l[0], l, env)
|
156
|
+
except OSError, e:
|
157
|
+
try:
|
158
|
+
result = exitvalmap[e[0]]
|
159
|
+
sys.stderr.write("scons: %s: %s\n" % (l[0], e[1]))
|
160
|
+
except KeyError:
|
161
|
+
result = 127
|
162
|
+
if len(l) > 2:
|
163
|
+
if len(l[2]) < 1000:
|
164
|
+
command = ' '.join(l[0:3])
|
165
|
+
else:
|
166
|
+
command = l[0]
|
167
|
+
else:
|
168
|
+
command = l[0]
|
169
|
+
sys.stderr.write("scons: unknown OSError exception code %d - '%s': %s\n" % (e[0], command, e[1]))
|
170
|
+
return result
|
171
|
+
|
172
|
+
def spawn(sh, escape, cmd, args, env):
|
173
|
+
if not sh:
|
174
|
+
sys.stderr.write("scons: Could not find command interpreter, is it in your PATH?\n")
|
175
|
+
return 127
|
176
|
+
return exec_spawn([sh, '/C', escape(' '.join(args))], env)
|
177
|
+
|
178
|
+
# Windows does not allow special characters in file names anyway, so no
|
179
|
+
# need for a complex escape function, we will just quote the arg, except
|
180
|
+
# that "cmd /c" requires that if an argument ends with a backslash it
|
181
|
+
# needs to be escaped so as not to interfere with closing double quote
|
182
|
+
# that we add.
|
183
|
+
def escape(x):
|
184
|
+
if x[-1] == '\\':
|
185
|
+
x = x + '\\'
|
186
|
+
return '"' + x + '"'
|
187
|
+
|
188
|
+
# Get the windows system directory name
|
189
|
+
_system_root = None
|
190
|
+
|
191
|
+
def get_system_root():
|
192
|
+
global _system_root
|
193
|
+
if _system_root is not None:
|
194
|
+
return _system_root
|
195
|
+
|
196
|
+
# A resonable default if we can't read the registry
|
197
|
+
val = os.environ.get('SystemRoot', "C:\\WINDOWS")
|
198
|
+
|
199
|
+
if SCons.Util.can_read_reg:
|
200
|
+
try:
|
201
|
+
# Look for Windows NT system root
|
202
|
+
k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
|
203
|
+
'Software\\Microsoft\\Windows NT\\CurrentVersion')
|
204
|
+
val, tok = SCons.Util.RegQueryValueEx(k, 'SystemRoot')
|
205
|
+
except SCons.Util.RegError:
|
206
|
+
try:
|
207
|
+
# Okay, try the Windows 9x system root
|
208
|
+
k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
|
209
|
+
'Software\\Microsoft\\Windows\\CurrentVersion')
|
210
|
+
val, tok = SCons.Util.RegQueryValueEx(k, 'SystemRoot')
|
211
|
+
except KeyboardInterrupt:
|
212
|
+
raise
|
213
|
+
except:
|
214
|
+
pass
|
215
|
+
_system_root = val
|
216
|
+
return val
|
217
|
+
|
218
|
+
# Get the location of the program files directory
|
219
|
+
def get_program_files_dir():
|
220
|
+
# Now see if we can look in the registry...
|
221
|
+
val = ''
|
222
|
+
if SCons.Util.can_read_reg:
|
223
|
+
try:
|
224
|
+
# Look for Windows Program Files directory
|
225
|
+
k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
|
226
|
+
'Software\\Microsoft\\Windows\\CurrentVersion')
|
227
|
+
val, tok = SCons.Util.RegQueryValueEx(k, 'ProgramFilesDir')
|
228
|
+
except SCons.Util.RegError:
|
229
|
+
val = ''
|
230
|
+
pass
|
231
|
+
|
232
|
+
if val == '':
|
233
|
+
# A reasonable default if we can't read the registry
|
234
|
+
# (Actually, it's pretty reasonable even if we can :-)
|
235
|
+
val = os.path.join(os.path.dirname(get_system_root()),"Program Files")
|
236
|
+
|
237
|
+
return val
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
# Determine which windows CPU were running on.
|
242
|
+
class ArchDefinition(object):
|
243
|
+
"""
|
244
|
+
A class for defining architecture-specific settings and logic.
|
245
|
+
"""
|
246
|
+
def __init__(self, arch, synonyms=[]):
|
247
|
+
self.arch = arch
|
248
|
+
self.synonyms = synonyms
|
249
|
+
|
250
|
+
SupportedArchitectureList = [
|
251
|
+
ArchDefinition(
|
252
|
+
'x86',
|
253
|
+
['i386', 'i486', 'i586', 'i686'],
|
254
|
+
),
|
255
|
+
|
256
|
+
ArchDefinition(
|
257
|
+
'x86_64',
|
258
|
+
['AMD64', 'amd64', 'em64t', 'EM64T', 'x86_64'],
|
259
|
+
),
|
260
|
+
|
261
|
+
ArchDefinition(
|
262
|
+
'ia64',
|
263
|
+
['IA64'],
|
264
|
+
),
|
265
|
+
]
|
266
|
+
|
267
|
+
SupportedArchitectureMap = {}
|
268
|
+
for a in SupportedArchitectureList:
|
269
|
+
SupportedArchitectureMap[a.arch] = a
|
270
|
+
for s in a.synonyms:
|
271
|
+
SupportedArchitectureMap[s] = a
|
272
|
+
|
273
|
+
def get_architecture(arch=None):
|
274
|
+
"""Returns the definition for the specified architecture string.
|
275
|
+
|
276
|
+
If no string is specified, the system default is returned (as defined
|
277
|
+
by the PROCESSOR_ARCHITEW6432 or PROCESSOR_ARCHITECTURE environment
|
278
|
+
variables).
|
279
|
+
"""
|
280
|
+
if arch is None:
|
281
|
+
arch = os.environ.get('PROCESSOR_ARCHITEW6432')
|
282
|
+
if not arch:
|
283
|
+
arch = os.environ.get('PROCESSOR_ARCHITECTURE')
|
284
|
+
return SupportedArchitectureMap.get(arch, ArchDefinition('', ['']))
|
285
|
+
|
286
|
+
def generate(env):
|
287
|
+
# Attempt to find cmd.exe (for WinNT/2k/XP) or
|
288
|
+
# command.com for Win9x
|
289
|
+
cmd_interp = ''
|
290
|
+
# First see if we can look in the registry...
|
291
|
+
if SCons.Util.can_read_reg:
|
292
|
+
try:
|
293
|
+
# Look for Windows NT system root
|
294
|
+
k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
|
295
|
+
'Software\\Microsoft\\Windows NT\\CurrentVersion')
|
296
|
+
val, tok = SCons.Util.RegQueryValueEx(k, 'SystemRoot')
|
297
|
+
cmd_interp = os.path.join(val, 'System32\\cmd.exe')
|
298
|
+
except SCons.Util.RegError:
|
299
|
+
try:
|
300
|
+
# Okay, try the Windows 9x system root
|
301
|
+
k=SCons.Util.RegOpenKeyEx(SCons.Util.hkey_mod.HKEY_LOCAL_MACHINE,
|
302
|
+
'Software\\Microsoft\\Windows\\CurrentVersion')
|
303
|
+
val, tok = SCons.Util.RegQueryValueEx(k, 'SystemRoot')
|
304
|
+
cmd_interp = os.path.join(val, 'command.com')
|
305
|
+
except KeyboardInterrupt:
|
306
|
+
raise
|
307
|
+
except:
|
308
|
+
pass
|
309
|
+
|
310
|
+
# For the special case of not having access to the registry, we
|
311
|
+
# use a temporary path and pathext to attempt to find the command
|
312
|
+
# interpreter. If we fail, we try to find the interpreter through
|
313
|
+
# the env's PATH. The problem with that is that it might not
|
314
|
+
# contain an ENV and a PATH.
|
315
|
+
if not cmd_interp:
|
316
|
+
systemroot = get_system_root()
|
317
|
+
tmp_path = systemroot + os.pathsep + \
|
318
|
+
os.path.join(systemroot,'System32')
|
319
|
+
tmp_pathext = '.com;.exe;.bat;.cmd'
|
320
|
+
if 'PATHEXT' in os.environ:
|
321
|
+
tmp_pathext = os.environ['PATHEXT']
|
322
|
+
cmd_interp = SCons.Util.WhereIs('cmd', tmp_path, tmp_pathext)
|
323
|
+
if not cmd_interp:
|
324
|
+
cmd_interp = SCons.Util.WhereIs('command', tmp_path, tmp_pathext)
|
325
|
+
|
326
|
+
if not cmd_interp:
|
327
|
+
cmd_interp = env.Detect('cmd')
|
328
|
+
if not cmd_interp:
|
329
|
+
cmd_interp = env.Detect('command')
|
330
|
+
|
331
|
+
|
332
|
+
if 'ENV' not in env:
|
333
|
+
env['ENV'] = {}
|
334
|
+
|
335
|
+
# Import things from the external environment to the construction
|
336
|
+
# environment's ENV. This is a potential slippery slope, because we
|
337
|
+
# *don't* want to make builds dependent on the user's environment by
|
338
|
+
# default. We're doing this for SystemRoot, though, because it's
|
339
|
+
# needed for anything that uses sockets, and seldom changes, and
|
340
|
+
# for SystemDrive because it's related.
|
341
|
+
#
|
342
|
+
# Weigh the impact carefully before adding other variables to this list.
|
343
|
+
import_env = [ 'SystemDrive', 'SystemRoot', 'TEMP', 'TMP' ]
|
344
|
+
for var in import_env:
|
345
|
+
v = os.environ.get(var)
|
346
|
+
if v:
|
347
|
+
env['ENV'][var] = v
|
348
|
+
|
349
|
+
if 'COMSPEC' not in env['ENV']:
|
350
|
+
v = os.environ.get("COMSPEC")
|
351
|
+
if v:
|
352
|
+
env['ENV']['COMSPEC'] = v
|
353
|
+
|
354
|
+
env.AppendENVPath('PATH', get_system_root() + '\System32')
|
355
|
+
|
356
|
+
env['ENV']['PATHEXT'] = '.COM;.EXE;.BAT;.CMD'
|
357
|
+
env['OBJPREFIX'] = ''
|
358
|
+
env['OBJSUFFIX'] = '.obj'
|
359
|
+
env['SHOBJPREFIX'] = '$OBJPREFIX'
|
360
|
+
env['SHOBJSUFFIX'] = '$OBJSUFFIX'
|
361
|
+
env['PROGPREFIX'] = ''
|
362
|
+
env['PROGSUFFIX'] = '.exe'
|
363
|
+
env['LIBPREFIX'] = ''
|
364
|
+
env['LIBSUFFIX'] = '.lib'
|
365
|
+
env['SHLIBPREFIX'] = ''
|
366
|
+
env['SHLIBSUFFIX'] = '.dll'
|
367
|
+
env['LIBPREFIXES'] = [ '$LIBPREFIX' ]
|
368
|
+
env['LIBSUFFIXES'] = [ '$LIBSUFFIX' ]
|
369
|
+
env['PSPAWN'] = piped_spawn
|
370
|
+
env['SPAWN'] = spawn
|
371
|
+
env['SHELL'] = cmd_interp
|
372
|
+
env['TEMPFILE'] = TempFileMunge
|
373
|
+
env['TEMPFILEPREFIX'] = '@'
|
374
|
+
env['MAXLINELENGTH'] = 2048
|
375
|
+
env['ESCAPE'] = escape
|
376
|
+
|
377
|
+
env['HOST_OS'] = 'win32'
|
378
|
+
env['HOST_ARCH'] = get_architecture().arch
|
379
|
+
|
380
|
+
|
381
|
+
# Local Variables:
|
382
|
+
# tab-width:4
|
383
|
+
# indent-tabs-mode:nil
|
384
|
+
# End:
|
385
|
+
# vim: set expandtab tabstop=4 shiftwidth=4:
|