corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmke...@apache.org
Subject [32/55] [abbrv] incubator-corinthia git commit: removed zlib
Date Fri, 24 Apr 2015 16:17:59 GMT
removed zlib

Reverted commit 8019fd361ed41a4f2413e9fca9c89e5217776cb3


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/1a48f7c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/1a48f7c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/1a48f7c3

Branch: refs/heads/stable
Commit: 1a48f7c36bbd7c9c46dcece2d5e7f5351028fc88
Parents: d1484ae
Author: jani <jani@apache.org>
Authored: Mon Mar 23 17:05:48 2015 +0100
Committer: jani <jani@apache.org>
Committed: Mon Mar 23 17:05:48 2015 +0100

----------------------------------------------------------------------
 .../platform/3rdparty/zlib-1.2.8/CMakeLists.txt |  249 --
 .../platform/3rdparty/zlib-1.2.8/ChangeLog      | 1472 ------------
 DocFormats/platform/3rdparty/zlib-1.2.8/FAQ     |  368 ---
 DocFormats/platform/3rdparty/zlib-1.2.8/INDEX   |   68 -
 .../platform/3rdparty/zlib-1.2.8/Makefile       |    5 -
 .../platform/3rdparty/zlib-1.2.8/Makefile.in    |  288 ---
 DocFormats/platform/3rdparty/zlib-1.2.8/README  |  115 -
 .../platform/3rdparty/zlib-1.2.8/adler32.c      |  179 --
 .../3rdparty/zlib-1.2.8/amiga/Makefile.pup      |   69 -
 .../3rdparty/zlib-1.2.8/amiga/Makefile.sas      |   68 -
 .../platform/3rdparty/zlib-1.2.8/as400/bndsrc   |  215 --
 .../3rdparty/zlib-1.2.8/as400/compile.clp       |  110 -
 .../3rdparty/zlib-1.2.8/as400/readme.txt        |  115 -
 .../platform/3rdparty/zlib-1.2.8/as400/zlib.inc |  451 ----
 .../platform/3rdparty/zlib-1.2.8/compress.c     |   80 -
 .../platform/3rdparty/zlib-1.2.8/configure      |  831 -------
 .../3rdparty/zlib-1.2.8/contrib/README.contrib  |   78 -
 .../zlib-1.2.8/contrib/ada/buffer_demo.adb      |  106 -
 .../3rdparty/zlib-1.2.8/contrib/ada/mtest.adb   |  156 --
 .../3rdparty/zlib-1.2.8/contrib/ada/read.adb    |  156 --
 .../3rdparty/zlib-1.2.8/contrib/ada/readme.txt  |   65 -
 .../3rdparty/zlib-1.2.8/contrib/ada/test.adb    |  463 ----
 .../zlib-1.2.8/contrib/ada/zlib-streams.adb     |  225 --
 .../zlib-1.2.8/contrib/ada/zlib-streams.ads     |  114 -
 .../zlib-1.2.8/contrib/ada/zlib-thin.adb        |  141 --
 .../zlib-1.2.8/contrib/ada/zlib-thin.ads        |  450 ----
 .../3rdparty/zlib-1.2.8/contrib/ada/zlib.adb    |  701 ------
 .../3rdparty/zlib-1.2.8/contrib/ada/zlib.ads    |  328 ---
 .../3rdparty/zlib-1.2.8/contrib/ada/zlib.gpr    |   20 -
 .../zlib-1.2.8/contrib/amd64/amd64-match.S      |  452 ----
 .../zlib-1.2.8/contrib/asm686/README.686        |   51 -
 .../3rdparty/zlib-1.2.8/contrib/asm686/match.S  |  357 ---
 .../3rdparty/zlib-1.2.8/contrib/blast/Makefile  |    8 -
 .../3rdparty/zlib-1.2.8/contrib/blast/README    |    4 -
 .../3rdparty/zlib-1.2.8/contrib/blast/blast.c   |  446 ----
 .../3rdparty/zlib-1.2.8/contrib/blast/blast.h   |   75 -
 .../3rdparty/zlib-1.2.8/contrib/blast/test.pk   |  Bin 8 -> 0 bytes
 .../3rdparty/zlib-1.2.8/contrib/blast/test.txt  |    1 -
 .../3rdparty/zlib-1.2.8/contrib/delphi/ZLib.pas |  557 -----
 .../zlib-1.2.8/contrib/delphi/ZLibConst.pas     |   11 -
 .../zlib-1.2.8/contrib/delphi/readme.txt        |   76 -
 .../zlib-1.2.8/contrib/delphi/zlibd32.mak       |   99 -
 .../zlib-1.2.8/contrib/dotzlib/DotZLib.build    |   33 -
 .../zlib-1.2.8/contrib/dotzlib/DotZLib.chm      |  Bin 72726 -> 0 bytes
 .../contrib/dotzlib/DotZLib/AssemblyInfo.cs     |   58 -
 .../contrib/dotzlib/DotZLib/ChecksumImpl.cs     |  202 --
 .../contrib/dotzlib/DotZLib/CircularBuffer.cs   |   83 -
 .../contrib/dotzlib/DotZLib/CodecBase.cs        |  198 --
 .../contrib/dotzlib/DotZLib/Deflater.cs         |  106 -
 .../contrib/dotzlib/DotZLib/DotZLib.cs          |  288 ---
 .../contrib/dotzlib/DotZLib/DotZLib.csproj      |  141 --
 .../contrib/dotzlib/DotZLib/GZipStream.cs       |  301 ---
 .../contrib/dotzlib/DotZLib/Inflater.cs         |  105 -
 .../contrib/dotzlib/DotZLib/UnitTests.cs        |  274 ---
 .../zlib-1.2.8/contrib/dotzlib/LICENSE_1_0.txt  |   23 -
 .../zlib-1.2.8/contrib/dotzlib/readme.txt       |   58 -
 .../zlib-1.2.8/contrib/gcc_gvmat64/gvmat64.S    |  574 -----
 .../3rdparty/zlib-1.2.8/contrib/infback9/README |    1 -
 .../zlib-1.2.8/contrib/infback9/infback9.c      |  615 -----
 .../zlib-1.2.8/contrib/infback9/infback9.h      |   37 -
 .../zlib-1.2.8/contrib/infback9/inffix9.h       |  107 -
 .../zlib-1.2.8/contrib/infback9/inflate9.h      |   47 -
 .../zlib-1.2.8/contrib/infback9/inftree9.c      |  324 ---
 .../zlib-1.2.8/contrib/infback9/inftree9.h      |   61 -
 .../zlib-1.2.8/contrib/inflate86/inffas86.c     | 1157 ----------
 .../zlib-1.2.8/contrib/inflate86/inffast.S      | 1368 -----------
 .../zlib-1.2.8/contrib/iostream/test.cpp        |   24 -
 .../zlib-1.2.8/contrib/iostream/zfstream.cpp    |  329 ---
 .../zlib-1.2.8/contrib/iostream/zfstream.h      |  128 --
 .../zlib-1.2.8/contrib/iostream2/zstream.h      |  307 ---
 .../contrib/iostream2/zstream_test.cpp          |   25 -
 .../zlib-1.2.8/contrib/iostream3/README         |   35 -
 .../3rdparty/zlib-1.2.8/contrib/iostream3/TODO  |   17 -
 .../zlib-1.2.8/contrib/iostream3/test.cc        |   50 -
 .../zlib-1.2.8/contrib/iostream3/zfstream.cc    |  479 ----
 .../zlib-1.2.8/contrib/iostream3/zfstream.h     |  466 ----
 .../zlib-1.2.8/contrib/masmx64/bld_ml64.bat     |    2 -
 .../zlib-1.2.8/contrib/masmx64/gvmat64.asm      |  553 -----
 .../zlib-1.2.8/contrib/masmx64/inffas8664.c     |  186 --
 .../zlib-1.2.8/contrib/masmx64/inffasx64.asm    |  396 ----
 .../zlib-1.2.8/contrib/masmx64/readme.txt       |   31 -
 .../zlib-1.2.8/contrib/masmx86/bld_ml32.bat     |    2 -
 .../zlib-1.2.8/contrib/masmx86/inffas32.asm     | 1080 ---------
 .../zlib-1.2.8/contrib/masmx86/match686.asm     |  479 ----
 .../zlib-1.2.8/contrib/masmx86/readme.txt       |   27 -
 .../zlib-1.2.8/contrib/minizip/Makefile         |   25 -
 .../zlib-1.2.8/contrib/minizip/Makefile.am      |   45 -
 .../contrib/minizip/MiniZip64_Changes.txt       |    6 -
 .../contrib/minizip/MiniZip64_info.txt          |   74 -
 .../zlib-1.2.8/contrib/minizip/configure.ac     |   32 -
 .../3rdparty/zlib-1.2.8/contrib/minizip/crypt.h |  131 --
 .../3rdparty/zlib-1.2.8/contrib/minizip/ioapi.c |  247 --
 .../3rdparty/zlib-1.2.8/contrib/minizip/ioapi.h |  208 --
 .../zlib-1.2.8/contrib/minizip/iowin32.c        |  461 ----
 .../zlib-1.2.8/contrib/minizip/iowin32.h        |   28 -
 .../zlib-1.2.8/contrib/minizip/make_vms.com     |   25 -
 .../zlib-1.2.8/contrib/minizip/miniunz.c        |  660 ------
 .../zlib-1.2.8/contrib/minizip/miniunzip.1      |   63 -
 .../zlib-1.2.8/contrib/minizip/minizip.1        |   46 -
 .../zlib-1.2.8/contrib/minizip/minizip.c        |  520 -----
 .../zlib-1.2.8/contrib/minizip/minizip.pc.in    |   12 -
 .../zlib-1.2.8/contrib/minizip/mztools.c        |  291 ---
 .../zlib-1.2.8/contrib/minizip/mztools.h        |   37 -
 .../3rdparty/zlib-1.2.8/contrib/minizip/unzip.c | 2125 ------------------
 .../3rdparty/zlib-1.2.8/contrib/minizip/unzip.h |  437 ----
 .../3rdparty/zlib-1.2.8/contrib/minizip/zip.c   | 2007 -----------------
 .../3rdparty/zlib-1.2.8/contrib/minizip/zip.h   |  362 ---
 .../zlib-1.2.8/contrib/pascal/example.pas       |  599 -----
 .../zlib-1.2.8/contrib/pascal/readme.txt        |   76 -
 .../zlib-1.2.8/contrib/pascal/zlibd32.mak       |   99 -
 .../zlib-1.2.8/contrib/pascal/zlibpas.pas       |  276 ---
 .../3rdparty/zlib-1.2.8/contrib/puff/Makefile   |   42 -
 .../3rdparty/zlib-1.2.8/contrib/puff/README     |   63 -
 .../3rdparty/zlib-1.2.8/contrib/puff/puff.c     |  840 -------
 .../3rdparty/zlib-1.2.8/contrib/puff/puff.h     |   35 -
 .../3rdparty/zlib-1.2.8/contrib/puff/pufftest.c |  165 --
 .../3rdparty/zlib-1.2.8/contrib/puff/zeros.raw  |  Bin 2517 -> 0 bytes
 .../zlib-1.2.8/contrib/testzlib/testzlib.c      |  275 ---
 .../zlib-1.2.8/contrib/testzlib/testzlib.txt    |   10 -
 .../3rdparty/zlib-1.2.8/contrib/untgz/Makefile  |   14 -
 .../zlib-1.2.8/contrib/untgz/Makefile.msc       |   17 -
 .../3rdparty/zlib-1.2.8/contrib/untgz/untgz.c   |  674 ------
 .../zlib-1.2.8/contrib/vstudio/readme.txt       |   65 -
 .../zlib-1.2.8/contrib/vstudio/vc10/zlib.rc     |   32 -
 .../zlib-1.2.8/contrib/vstudio/vc10/zlibvc.def  |  143 --
 .../zlib-1.2.8/contrib/vstudio/vc11/zlib.rc     |   32 -
 .../zlib-1.2.8/contrib/vstudio/vc11/zlibvc.def  |  143 --
 .../contrib/vstudio/vc9/miniunz.vcproj          |  565 -----
 .../contrib/vstudio/vc9/minizip.vcproj          |  562 -----
 .../contrib/vstudio/vc9/testzlib.vcproj         |  852 -------
 .../contrib/vstudio/vc9/testzlibdll.vcproj      |  565 -----
 .../zlib-1.2.8/contrib/vstudio/vc9/zlib.rc      |   32 -
 .../contrib/vstudio/vc9/zlibstat.vcproj         |  835 -------
 .../zlib-1.2.8/contrib/vstudio/vc9/zlibvc.def   |  143 --
 .../contrib/vstudio/vc9/zlibvc.vcproj           | 1156 ----------
 DocFormats/platform/3rdparty/zlib-1.2.8/crc32.c |  425 ----
 DocFormats/platform/3rdparty/zlib-1.2.8/crc32.h |  441 ----
 .../platform/3rdparty/zlib-1.2.8/deflate.c      | 1967 ----------------
 .../platform/3rdparty/zlib-1.2.8/deflate.h      |  346 ---
 .../3rdparty/zlib-1.2.8/doc/algorithm.txt       |  209 --
 .../3rdparty/zlib-1.2.8/doc/rfc1950.txt         |  619 -----
 .../3rdparty/zlib-1.2.8/doc/rfc1951.txt         |  955 --------
 .../3rdparty/zlib-1.2.8/doc/rfc1952.txt         |  675 ------
 .../3rdparty/zlib-1.2.8/doc/txtvsbin.txt        |  107 -
 .../zlib-1.2.8/examples/README.examples         |   49 -
 .../3rdparty/zlib-1.2.8/examples/enough.c       |  572 -----
 .../3rdparty/zlib-1.2.8/examples/fitblk.c       |  233 --
 .../platform/3rdparty/zlib-1.2.8/examples/gun.c |  702 ------
 .../3rdparty/zlib-1.2.8/examples/gzappend.c     |  504 -----
 .../3rdparty/zlib-1.2.8/examples/gzjoin.c       |  449 ----
 .../3rdparty/zlib-1.2.8/examples/gzlog.c        | 1059 ---------
 .../3rdparty/zlib-1.2.8/examples/gzlog.h        |   91 -
 .../3rdparty/zlib-1.2.8/examples/zlib_how.html  |  545 -----
 .../3rdparty/zlib-1.2.8/examples/zpipe.c        |  205 --
 .../3rdparty/zlib-1.2.8/examples/zran.c         |  409 ----
 .../platform/3rdparty/zlib-1.2.8/gzclose.c      |   25 -
 .../platform/3rdparty/zlib-1.2.8/gzguts.h       |  209 --
 DocFormats/platform/3rdparty/zlib-1.2.8/gzlib.c |  634 ------
 .../platform/3rdparty/zlib-1.2.8/gzread.c       |  594 -----
 .../platform/3rdparty/zlib-1.2.8/gzwrite.c      |  577 -----
 .../platform/3rdparty/zlib-1.2.8/infback.c      |  640 ------
 .../platform/3rdparty/zlib-1.2.8/inffast.c      |  340 ---
 .../platform/3rdparty/zlib-1.2.8/inffast.h      |   11 -
 .../platform/3rdparty/zlib-1.2.8/inffixed.h     |   94 -
 .../platform/3rdparty/zlib-1.2.8/inflate.c      | 1512 -------------
 .../platform/3rdparty/zlib-1.2.8/inflate.h      |  122 -
 .../platform/3rdparty/zlib-1.2.8/inftrees.c     |  306 ---
 .../platform/3rdparty/zlib-1.2.8/inftrees.h     |   62 -
 .../platform/3rdparty/zlib-1.2.8/make_vms.com   |  867 -------
 .../3rdparty/zlib-1.2.8/msdos/Makefile.bor      |  115 -
 .../3rdparty/zlib-1.2.8/msdos/Makefile.dj2      |  104 -
 .../3rdparty/zlib-1.2.8/msdos/Makefile.emx      |   69 -
 .../3rdparty/zlib-1.2.8/msdos/Makefile.msc      |  112 -
 .../3rdparty/zlib-1.2.8/msdos/Makefile.tc       |  100 -
 .../3rdparty/zlib-1.2.8/nintendods/Makefile     |  126 --
 .../3rdparty/zlib-1.2.8/nintendods/README       |    5 -
 .../3rdparty/zlib-1.2.8/old/Makefile.emx        |   69 -
 .../3rdparty/zlib-1.2.8/old/Makefile.riscos     |  151 --
 .../platform/3rdparty/zlib-1.2.8/old/README     |    3 -
 .../3rdparty/zlib-1.2.8/old/descrip.mms         |   48 -
 .../3rdparty/zlib-1.2.8/old/os2/Makefile.os2    |  136 --
 .../3rdparty/zlib-1.2.8/old/os2/zlib.def        |   51 -
 .../3rdparty/zlib-1.2.8/old/visual-basic.txt    |  160 --
 .../3rdparty/zlib-1.2.8/qnx/package.qpg         |  141 --
 .../platform/3rdparty/zlib-1.2.8/test/example.c |  601 -----
 .../3rdparty/zlib-1.2.8/test/infcover.c         |  671 ------
 .../3rdparty/zlib-1.2.8/test/minigzip.c         |  651 ------
 .../platform/3rdparty/zlib-1.2.8/treebuild.xml  |  116 -
 DocFormats/platform/3rdparty/zlib-1.2.8/trees.c | 1226 ----------
 DocFormats/platform/3rdparty/zlib-1.2.8/trees.h |  128 --
 .../platform/3rdparty/zlib-1.2.8/uncompr.c      |   59 -
 .../3rdparty/zlib-1.2.8/watcom/watcom_f.mak     |   43 -
 .../3rdparty/zlib-1.2.8/watcom/watcom_l.mak     |   43 -
 .../3rdparty/zlib-1.2.8/win32/DLL_FAQ.txt       |  397 ----
 .../3rdparty/zlib-1.2.8/win32/Makefile.bor      |  110 -
 .../3rdparty/zlib-1.2.8/win32/Makefile.gcc      |  182 --
 .../3rdparty/zlib-1.2.8/win32/Makefile.msc      |  163 --
 .../3rdparty/zlib-1.2.8/win32/README-WIN32.txt  |  103 -
 .../3rdparty/zlib-1.2.8/win32/VisualC.txt       |    3 -
 .../platform/3rdparty/zlib-1.2.8/win32/zlib.def |   86 -
 .../platform/3rdparty/zlib-1.2.8/win32/zlib1.rc |   40 -
 DocFormats/platform/3rdparty/zlib-1.2.8/zconf.h |  511 -----
 .../3rdparty/zlib-1.2.8/zconf.h.cmakein         |  513 -----
 .../platform/3rdparty/zlib-1.2.8/zconf.h.in     |  511 -----
 DocFormats/platform/3rdparty/zlib-1.2.8/zlib.3  |  151 --
 .../platform/3rdparty/zlib-1.2.8/zlib.3.pdf     |  Bin 8734 -> 0 bytes
 DocFormats/platform/3rdparty/zlib-1.2.8/zlib.h  | 1768 ---------------
 .../platform/3rdparty/zlib-1.2.8/zlib.map       |   83 -
 .../3rdparty/zlib-1.2.8/zlib.pc.cmakein         |   13 -
 .../platform/3rdparty/zlib-1.2.8/zlib.pc.in     |   13 -
 .../platform/3rdparty/zlib-1.2.8/zlib2ansi      |  152 --
 DocFormats/platform/3rdparty/zlib-1.2.8/zutil.c |  324 ---
 DocFormats/platform/3rdparty/zlib-1.2.8/zutil.h |  253 ---
 NOTICE.txt                                      |    4 -
 214 files changed, 63615 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/1a48f7c3/DocFormats/platform/3rdparty/zlib-1.2.8/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/DocFormats/platform/3rdparty/zlib-1.2.8/CMakeLists.txt b/DocFormats/platform/3rdparty/zlib-1.2.8/CMakeLists.txt
deleted file mode 100644
index 0c0247c..0000000
--- a/DocFormats/platform/3rdparty/zlib-1.2.8/CMakeLists.txt
+++ /dev/null
@@ -1,249 +0,0 @@
-cmake_minimum_required(VERSION 2.4.4)
-set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
-
-project(zlib C)
-
-set(VERSION "1.2.8")
-
-option(ASM686 "Enable building i686 assembly implementation")
-option(AMD64 "Enable building amd64 assembly implementation")
-
-set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for
executables")
-set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for
libraries")
-set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory
for headers")
-set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory
for manual pages")
-set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation
directory for pkgconfig (.pc) files")
-
-include(CheckTypeSize)
-include(CheckFunctionExists)
-include(CheckIncludeFile)
-include(CheckCSourceCompiles)
-enable_testing()
-
-check_include_file(sys/types.h HAVE_SYS_TYPES_H)
-check_include_file(stdint.h    HAVE_STDINT_H)
-check_include_file(stddef.h    HAVE_STDDEF_H)
-
-#
-# Check to see if we have large file support
-#
-set(CMAKE_REQUIRED_DEFINITIONS -D_LARGEFILE64_SOURCE=1)
-# We add these other definitions here because CheckTypeSize.cmake
-# in CMake 2.4.x does not automatically do so and we want
-# compatibility with CMake 2.4.x.
-if(HAVE_SYS_TYPES_H)
-    list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_SYS_TYPES_H)
-endif()
-if(HAVE_STDINT_H)
-    list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_STDINT_H)
-endif()
-if(HAVE_STDDEF_H)
-    list(APPEND CMAKE_REQUIRED_DEFINITIONS -DHAVE_STDDEF_H)
-endif()
-check_type_size(off64_t OFF64_T)
-if(HAVE_OFF64_T)
-   add_definitions(-D_LARGEFILE64_SOURCE=1)
-endif()
-set(CMAKE_REQUIRED_DEFINITIONS) # clear variable
-
-#
-# Check for fseeko
-#
-check_function_exists(fseeko HAVE_FSEEKO)
-if(NOT HAVE_FSEEKO)
-    add_definitions(-DNO_FSEEKO)
-endif()
-
-#
-# Check for unistd.h
-#
-check_include_file(unistd.h Z_HAVE_UNISTD_H)
-
-if(MSVC)
-    set(CMAKE_DEBUG_POSTFIX "d")
-    add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
-    add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
-    include_directories(${CMAKE_CURRENT_SOURCE_DIR})
-endif()
-
-if(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
-    # If we're doing an out of source build and the user has a zconf.h
-    # in their source tree...
-    if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h)
-        message(STATUS "Renaming")
-        message(STATUS "    ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h")
-        message(STATUS "to 'zconf.h.included' because this file is included with zlib")
-        message(STATUS "but CMake generates it automatically in the build directory.")
-        file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.included)
-  endif()
-endif()
-
-set(ZLIB_PC ${CMAKE_CURRENT_BINARY_DIR}/zlib.pc)
-configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zlib.pc.cmakein
-		${ZLIB_PC} @ONLY)
-configure_file(	${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein
-		${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY)
-include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR})
-
-
-#============================================================================
-# zlib
-#============================================================================
-
-set(ZLIB_PUBLIC_HDRS
-    ${CMAKE_CURRENT_BINARY_DIR}/zconf.h
-    zlib.h
-)
-set(ZLIB_PRIVATE_HDRS
-    crc32.h
-    deflate.h
-    gzguts.h
-    inffast.h
-    inffixed.h
-    inflate.h
-    inftrees.h
-    trees.h
-    zutil.h
-)
-set(ZLIB_SRCS
-    adler32.c
-    compress.c
-    crc32.c
-    deflate.c
-    gzclose.c
-    gzlib.c
-    gzread.c
-    gzwrite.c
-    inflate.c
-    infback.c
-    inftrees.c
-    inffast.c
-    trees.c
-    uncompr.c
-    zutil.c
-)
-
-if(NOT MINGW)
-    set(ZLIB_DLL_SRCS
-        win32/zlib1.rc # If present will override custom build rule below.
-    )
-endif()
-
-if(CMAKE_COMPILER_IS_GNUCC)
-    if(ASM686)
-        set(ZLIB_ASMS contrib/asm686/match.S)
-    elseif (AMD64)
-        set(ZLIB_ASMS contrib/amd64/amd64-match.S)
-    endif ()
-
-	if(ZLIB_ASMS)
-		add_definitions(-DASMV)
-		set_source_files_properties(${ZLIB_ASMS} PROPERTIES LANGUAGE C COMPILE_FLAGS -DNO_UNDERLINE)
-	endif()
-endif()
-
-if(MSVC)
-    if(ASM686)
-		ENABLE_LANGUAGE(ASM_MASM)
-        set(ZLIB_ASMS
-			contrib/masmx86/inffas32.asm
-			contrib/masmx86/match686.asm
-		)
-    elseif (AMD64)
-		ENABLE_LANGUAGE(ASM_MASM)
-        set(ZLIB_ASMS
-			contrib/masmx64/gvmat64.asm
-			contrib/masmx64/inffasx64.asm
-		)
-    endif()
-
-	if(ZLIB_ASMS)
-		add_definitions(-DASMV -DASMINF)
-	endif()
-endif()
-
-# parse the full version number from zlib.h and include in ZLIB_FULL_VERSION
-file(READ ${CMAKE_CURRENT_SOURCE_DIR}/zlib.h _zlib_h_contents)
-string(REGEX REPLACE ".*#define[ \t]+ZLIB_VERSION[ \t]+\"([-0-9A-Za-z.]+)\".*"
-    "\\1" ZLIB_FULL_VERSION ${_zlib_h_contents})
-
-if(MINGW)
-    # This gets us DLL resource information when compiling on MinGW.
-    if(NOT CMAKE_RC_COMPILER)
-        set(CMAKE_RC_COMPILER windres.exe)
-    endif()
-
-    add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj
-                       COMMAND ${CMAKE_RC_COMPILER}
-                            -D GCC_WINDRES
-                            -I ${CMAKE_CURRENT_SOURCE_DIR}
-                            -I ${CMAKE_CURRENT_BINARY_DIR}
-                            -o ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj
-                            -i ${CMAKE_CURRENT_SOURCE_DIR}/win32/zlib1.rc)
-    set(ZLIB_DLL_SRCS ${CMAKE_CURRENT_BINARY_DIR}/zlib1rc.obj)
-endif(MINGW)
-
-add_library(zlib SHARED ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_DLL_SRCS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
-add_library(zlibstatic STATIC ${ZLIB_SRCS} ${ZLIB_ASMS} ${ZLIB_PUBLIC_HDRS} ${ZLIB_PRIVATE_HDRS})
-set_target_properties(zlib PROPERTIES DEFINE_SYMBOL ZLIB_DLL)
-set_target_properties(zlib PROPERTIES SOVERSION 1)
-
-if(NOT CYGWIN)
-    # This property causes shared libraries on Linux to have the full version
-    # encoded into their final filename.  We disable this on Cygwin because
-    # it causes cygz-${ZLIB_FULL_VERSION}.dll to be created when cygz.dll
-    # seems to be the default.
-    #
-    # This has no effect with MSVC, on that platform the version info for
-    # the DLL comes from the resource file win32/zlib1.rc
-    set_target_properties(zlib PROPERTIES VERSION ${ZLIB_FULL_VERSION})
-endif()
-
-if(UNIX)
-    # On unix-like platforms the library is almost always called libz
-   set_target_properties(zlib zlibstatic PROPERTIES OUTPUT_NAME z)
-   if(NOT APPLE)
-     set_target_properties(zlib PROPERTIES LINK_FLAGS "-Wl,--version-script,\"${CMAKE_CURRENT_SOURCE_DIR}/zlib.map\"")
-   endif()
-elseif(BUILD_SHARED_LIBS AND WIN32)
-    # Creates zlib1.dll when building shared library version
-    set_target_properties(zlib PROPERTIES SUFFIX "1.dll")
-endif()
-
-if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL )
-    install(TARGETS zlib zlibstatic
-        RUNTIME DESTINATION "${INSTALL_BIN_DIR}"
-        ARCHIVE DESTINATION "${INSTALL_LIB_DIR}"
-        LIBRARY DESTINATION "${INSTALL_LIB_DIR}" )
-endif()
-if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL )
-    install(FILES ${ZLIB_PUBLIC_HDRS} DESTINATION "${INSTALL_INC_DIR}")
-endif()
-if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
-    install(FILES zlib.3 DESTINATION "${INSTALL_MAN_DIR}/man3")
-endif()
-if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
-    install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}")
-endif()
-
-#============================================================================
-# Example binaries
-#============================================================================
-
-add_executable(example test/example.c)
-target_link_libraries(example zlib)
-add_test(example example)
-
-add_executable(minigzip test/minigzip.c)
-target_link_libraries(minigzip zlib)
-
-if(HAVE_OFF64_T)
-    add_executable(example64 test/example.c)
-    target_link_libraries(example64 zlib)
-    set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
-    add_test(example64 example64)
-
-    add_executable(minigzip64 test/minigzip.c)
-    target_link_libraries(minigzip64 zlib)
-    set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
-endif()


Mime
View raw message