Changeset 159

Show
Ignore:
Timestamp:
Mon Oct 10 12:45:30 2005
Author:
giovannibajo
Message:

Compile zlib from source code

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/source/zlib/README

    r19 r159  
    1   This directory contains a prebuilt static version of zlib 1.2.3 for Windows,  
    2   download from http://www.winimage.com/zLibDll/. For Linux builds, we assume  
    3   that zlib is already configured and installed in the system.  
      1 This directory contains an extract of zlib 1.2.3. It is the minimum set of  
      2 files necessary to decompress data from a zip file with the inflate compression  
      3 scheme.  
  • trunk/source/Sconscript

    r22 r159  
    28 28     # It was compiled with the WINAPI convention.  
    29 29     env.Append(CPPDEFINES = [ "ZLIB_WINAPI" ])  
    30       env.Append(LIBS = ["zlibstat.lib"])  
    31       env.Append(LIBPATH = ["zlib"])  
    32 30  
    33 31     if env["PYINST_MODE"] == "cons":  
     
    36 34         resfile = env.RES("windows/runw.rc")  
    37 35  
      36 zlib = env.Library("zlib",  
      37                     ["zlib/inflate.c",  
      38                      "zlib/crc32.c",  
      39                      "zlib/adler32.c",  
      40                      "zlib/zutil.c",  
      41                      "zlib/inffast.c",  
      42                      "zlib/inftrees.c"])  
    38 43 run = env.Program("run",  
    39                    ["common/launch.c", "windows/winmain.c", resfile])  
      44                  ["common/launch.c", "windows/winmain.c", zlib])  
    39 44 dll = env.SharedLibrary("inprocsrvr",  
    40                           ["common/launch.c", "windows/dllmain.c", "windows/dllmain.def"])  
      45                         ["common/launch.c", "windows/dllmain.c", zlib])  
    40 45  
    41 46 Return("run", "dll")