Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

auto import from //depot/cupcake/@135843

  • Loading branch information...
commit 893912bfc2683463dc3e2c445336752d012563d3 1 parent 0d889b4
The Android Open Source Project authored

Showing 233 changed files with 92,248 additions and 0 deletions. Show diff stats Hide diff stats

  1. +61 0 ANNOUNCE
  2. +68 0 Android.mk
  3. +2,173 0 CHANGES
  4. +219 0 INSTALL
  5. +22 0 KNOWNBUG
  6. +109 0 LICENSE
  7. 0  MODULE_LICENSE_BSD_LIKE
  8. +152 0 Makefile.am
  9. +1,311 0 Makefile.in
  10. +109 0 NOTICE
  11. +264 0 README
  12. +24 0 TODO
  13. +55 0 Y2KINFO
  14. +7,414 0 aclocal.m4
  15. +25 0 autogen.sh
  16. +21,232 0 autom4te.cache/output.0
  17. +116 0 autom4te.cache/requests
  18. +536 0 autom4te.cache/traces.0
  19. +1,466 0 config.guess
  20. +79 0 config.h.in
  21. +1,579 0 config.sub
  22. +15,016 0 configure
  23. +148 0 configure.ac
  24. +340 0 contrib/gregbook/COPYING
  25. +50 0 contrib/gregbook/LICENSE
  26. +130 0 contrib/gregbook/Makefile.mingw32
  27. +104 0 contrib/gregbook/Makefile.sgi
  28. +132 0 contrib/gregbook/Makefile.unx
  29. +113 0 contrib/gregbook/Makefile.w32
  30. +186 0 contrib/gregbook/README
  31. +132 0 contrib/gregbook/makevms.com
  32. +304 0 contrib/gregbook/readpng.c
  33. +88 0 contrib/gregbook/readpng.h
  34. +645 0 contrib/gregbook/readpng2.c
  35. +121 0 contrib/gregbook/readpng2.h
  36. +179 0 contrib/gregbook/readppm.c
  37. +684 0 contrib/gregbook/rpng-win.c
  38. +904 0 contrib/gregbook/rpng-x.c
  39. +1,225 0 contrib/gregbook/rpng2-win.c
  40. +2,127 0 contrib/gregbook/rpng2-x.c
  41. BIN  contrib/gregbook/toucan.png
  42. +853 0 contrib/gregbook/wpng.c
  43. +392 0 contrib/gregbook/writepng.c
  44. +133 0 contrib/gregbook/writepng.h
  45. +6 0 contrib/pngminim/decoder/README
  46. +8 0 contrib/pngminim/decoder/gather.sh
  47. +44 0 contrib/pngminim/decoder/makefile.std
  48. +67 0 contrib/pngminim/decoder/pngusr.h
  49. +6 0 contrib/pngminim/encoder/README
  50. +27 0 contrib/pngminim/encoder/dummy_inflate.c
  51. +9 0 contrib/pngminim/encoder/gather.sh
  52. +43 0 contrib/pngminim/encoder/makefile.std
  53. +66 0 contrib/pngminim/encoder/pngusr.h
  54. +153 0 contrib/pngminus/README
  55. +65 0 contrib/pngminus/makefile.std
  56. +38 0 contrib/pngminus/makefile.tc3
  57. +92 0 contrib/pngminus/makevms.com
  58. +41 0 contrib/pngminus/png2pnm.bat
  59. +430 0 contrib/pngminus/png2pnm.c
  60. +42 0 contrib/pngminus/png2pnm.sh
  61. +4 0 contrib/pngminus/pngminus.bat
  62. +5 0 contrib/pngminus/pngminus.sh
  63. +41 0 contrib/pngminus/pnm2png.bat
  64. +533 0 contrib/pngminus/pnm2png.c
  65. +42 0 contrib/pngminus/pnm2png.sh
  66. +85 0 contrib/pngsuite/README
  67. BIN  contrib/pngsuite/basn0g01.png
  68. BIN  contrib/pngsuite/basn0g02.png
  69. BIN  contrib/pngsuite/basn0g04.png
  70. BIN  contrib/pngsuite/basn0g08.png
  71. BIN  contrib/pngsuite/basn0g16.png
  72. BIN  contrib/pngsuite/basn2c08.png
  73. BIN  contrib/pngsuite/basn2c16.png
  74. BIN  contrib/pngsuite/basn3p01.png
  75. BIN  contrib/pngsuite/basn3p02.png
  76. BIN  contrib/pngsuite/basn3p04.png
  77. BIN  contrib/pngsuite/basn3p08.png
  78. BIN  contrib/pngsuite/basn4a08.png
  79. BIN  contrib/pngsuite/basn4a16.png
  80. BIN  contrib/pngsuite/basn6a08.png
  81. BIN  contrib/pngsuite/basn6a16.png
  82. +439 0 contrib/visupng/PngFile.c
  83. +27 0 contrib/visupng/PngFile.h
  84. +58 0 contrib/visupng/README.txt
  85. +961 0 contrib/visupng/VisualPng.c
  86. +147 0 contrib/visupng/VisualPng.dsp
  87. +29 0 contrib/visupng/VisualPng.dsw
  88. BIN  contrib/visupng/VisualPng.ico
  89. BIN  contrib/visupng/VisualPng.png
  90. +152 0 contrib/visupng/VisualPng.rc
  91. +243 0 contrib/visupng/cexcept.h
  92. +23 0 contrib/visupng/resource.h
  93. +589 0 depcomp
  94. +814 0 example.c
  95. +519 0 install-sh
  96. +2,906 0 libpng-1.2.29.txt
  97. +3,680 0 libpng.3
  98. +274 0 libpngpf.3
  99. +6,871 0 ltmain.sh
  100. +367 0 missing
  101. +161 0 mkinstalldirs
  102. +74 0 png.5
  103. +798 0 png.c
  104. +3,569 0 png.h
  105. BIN  pngbar.jpg
  106. BIN  pngbar.png
  107. +1,481 0 pngconf.h
  108. +343 0 pngerror.c
  109. +103 0 pnggccrd.c
  110. +901 0 pngget.c
  111. +608 0 pngmem.c
  112. BIN  pngnow.png
  113. +1,598 0 pngpread.c
  114. +1,479 0 pngread.c
  115. +167 0 pngrio.c
Sorry, we could not display the entire diff because it was too big.
61 ANNOUNCE
... ... @@ -0,0 +1,61 @@
  1 +
  2 +Libpng 1.2.29 - May 8, 2008
  3 +
  4 +This is a public release of libpng, intended for use in production codes.
  5 +
  6 +Files available for download:
  7 +
  8 +Source files with LF line endings (for Unix/Linux) and with a
  9 +"configure" script
  10 +
  11 + libpng-1.2.29.tar.gz
  12 + libpng-1.2.29.tar.lzma
  13 + (Get the lzma codec from <http://tukaani.org/lzma>).
  14 + libpng-1.2.29.tar.bz2
  15 +
  16 +Source files with LF line endings (for Unix/Linux) without the
  17 +"configure" script
  18 +
  19 + libpng-1.2.29-no-config.tar.gz
  20 + libpng-1.2.29-no-config.tar.lzma
  21 + libpng-1.2.29-no-config.tar.bz2
  22 +
  23 +Source files with CRLF line endings (for Windows), without the
  24 +"configure" script
  25 +
  26 + lpng1229.zip
  27 + lpng1229.7z
  28 + lpng1229.tar.bz2
  29 +
  30 +Project files
  31 +
  32 + libpng-1.2.29-project-netware.zip
  33 + libpng-1.2.29-project-wince.zip
  34 +
  35 +Other information:
  36 +
  37 + libpng-1.2.29-README.txt
  38 + libpng-1.2.29-KNOWNBUGS.txt
  39 + libpng-1.2.29-LICENSE.txt
  40 + libpng-1.2.29-Y2K-compliance.txt
  41 + libpng-1.2.29-[previous version]-diff.txt
  42 +
  43 +Changes since the last public release (1.2.28):
  44 +
  45 +version 1.2.29 [May 8, 2008]
  46 +
  47 + Removed some stray *.diff and *.orig files
  48 + Reverted Makefile.in, aclocal.m4, and configure to the libpng-1.2.26
  49 + versions.
  50 + Added --force to autogen libtoolize options and --force-missing to
  51 + automake options.
  52 + Changed $(ECHO) to echo in Makefile.am and Makefile.in
  53 + Updated all configure files to autoconf-2.62
  54 + #ifdef out pnggcrd.c code if using MSC_VER
  55 +
  56 +Send comments/corrections/commendations to png-mng-implement at lists.sf.net
  57 +(subscription required; visit
  58 +https://lists.sourceforge.net/lists/listinfo/png-mng-implement
  59 +to subscribe) or to glennrp at users.sourceforge.net
  60 +
  61 +Glenn R-P
68 Android.mk
... ... @@ -0,0 +1,68 @@
  1 +LOCAL_PATH:= $(call my-dir)
  2 +
  3 +# We need to build this for both the device (as a shared library)
  4 +# and the host (as a static library for tools to use).
  5 +
  6 +common_SRC_FILES := \
  7 + png.c \
  8 + pngerror.c \
  9 + pnggccrd.c \
  10 + pngget.c \
  11 + pngmem.c \
  12 + pngpread.c \
  13 + pngread.c \
  14 + pngrio.c \
  15 + pngrtran.c \
  16 + pngrutil.c \
  17 + pngset.c \
  18 + pngtrans.c \
  19 + pngvcrd.c \
  20 + pngwio.c \
  21 + pngwrite.c \
  22 + pngwtran.c \
  23 + pngwutil.c
  24 +
  25 +common_CFLAGS := ## -fomit-frame-pointer
  26 +
  27 +common_C_INCLUDES += \
  28 +
  29 +common_COPY_HEADERS_TO := libpng
  30 +common_COPY_HEADERS := png.h pngconf.h pngusr.h
  31 +
  32 +# For the host
  33 +# =====================================================
  34 +
  35 +include $(CLEAR_VARS)
  36 +
  37 +LOCAL_SRC_FILES := $(common_SRC_FILES)
  38 +LOCAL_CFLAGS += $(common_CFLAGS)
  39 +LOCAL_C_INCLUDES += $(common_C_INCLUDES) external/zlib
  40 +
  41 +LOCAL_MODULE:= libpng
  42 +
  43 +LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
  44 +LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
  45 +
  46 +include $(BUILD_HOST_STATIC_LIBRARY)
  47 +
  48 +
  49 +# For the device
  50 +# =====================================================
  51 +
  52 +include $(CLEAR_VARS)
  53 +
  54 +LOCAL_SRC_FILES := $(common_SRC_FILES)
  55 +LOCAL_CFLAGS += $(common_CFLAGS)
  56 +LOCAL_C_INCLUDES += $(common_C_INCLUDES) \
  57 + external/zlib
  58 +LOCAL_SHARED_LIBRARIES := \
  59 + libz
  60 +
  61 +LOCAL_MODULE:= libpng
  62 +
  63 +LOCAL_COPY_HEADERS_TO := $(common_COPY_HEADERS_TO)
  64 +LOCAL_COPY_HEADERS := $(common_COPY_HEADERS)
  65 +
  66 +include $(BUILD_STATIC_LIBRARY)
  67 +
  68 +
2,173 CHANGES
2,173 additions, 0 deletions not shown
219 INSTALL
... ... @@ -0,0 +1,219 @@
  1 +
  2 +Installing libpng version 1.2.29 - May 8, 2008
  3 +
  4 +On Unix/Linux and similar systems, you can simply type
  5 +
  6 + ./configure [--prefix=/path]
  7 + make check
  8 + make install
  9 +
  10 +and ignore the rest of this document.
  11 +
  12 +If configure does not work on your system and you have a reasonably
  13 +up-to-date set of tools, running ./autogen.sh before running ./configure
  14 +may fix the problem. You can also run the individual commands in
  15 +autogen.sh with the --force option, if supported by your version of
  16 +the tools. If you run 'libtoolize --force', though, this will replace
  17 +the distributed, patched, version of ltmain.sh with an unpatched version
  18 +and your shared library builds may fail to produce libraries with the
  19 +correct version numbers.
  20 +
  21 +Instead, you can use one of the custom-built makefiles in the
  22 +"scripts" directory
  23 +
  24 + cp scripts/makefile.system makefile
  25 + make test
  26 + make install
  27 +
  28 +Or you can use one of the "projects" in the "projects" directory.
  29 +
  30 +If you want to use "cmake" (see www.cmake.org), copy CMakeLists.txt
  31 +from the "scripts" directory to this directory and type
  32 +
  33 + cmake . [-DPNG_MMX=YES] -DCMAKE_INSTALL_PREFIX=/path
  34 + make
  35 + make install
  36 +
  37 +Before installing libpng, you must first install zlib, if it
  38 +is not already on your system. zlib can usually be found
  39 +wherever you got libpng. zlib can be placed in another directory,
  40 +at the same level as libpng.
  41 +
  42 +If your system already has a preinstalled zlib you will still need
  43 +to have access to the zlib.h and zconf.h include files that
  44 +correspond to the version of zlib that's installed.
  45 +
  46 +You can rename the directories that you downloaded (they
  47 +might be called "libpng-1.2.29" or "lpng109" and "zlib-1.2.1"
  48 +or "zlib121") so that you have directories called "zlib" and "libpng".
  49 +
  50 +Your directory structure should look like this:
  51 +
  52 + .. (the parent directory)
  53 + libpng (this directory)
  54 + INSTALL (this file)
  55 + README
  56 + *.h
  57 + *.c
  58 + contrib
  59 + gregbook
  60 + pngminus
  61 + pngsuite
  62 + visupng
  63 + projects
  64 + beos
  65 + c5builder (Borland)
  66 + visualc6 (msvc)
  67 + netware.txt
  68 + wince.txt
  69 + scripts
  70 + makefile.*
  71 + pngtest.png
  72 + etc.
  73 + zlib
  74 + README
  75 + *.h
  76 + *.c
  77 + contrib
  78 + etc.
  79 +
  80 +If the line endings in the files look funny, you may wish to get the other
  81 +distribution of libpng. It is available in both tar.gz (UNIX style line
  82 +endings) and zip (DOS style line endings) formats.
  83 +
  84 +If you are building libpng with MSVC, you can enter the
  85 +libpng projects\visualc6 directory and follow the instructions in
  86 +projects\visualc6\README.txt.
  87 +
  88 +You can build libpng for WindowsCE by downloading and installing
  89 +the projects\wince directory as instructed in the projects\wince.txt file, and
  90 +then following the instructions in the README* files. Similarly, you can
  91 +build libpng for Netware or Beos as instructed in projects\netware.txt
  92 +or projects\beos.
  93 +
  94 +Else enter the zlib directory and follow the instructions in zlib/README,
  95 +then come back here and run "configure" or choose the appropriate
  96 +makefile.sys in the scripts directory.
  97 +
  98 +The files that are presently available in the scripts directory
  99 +include
  100 +
  101 + CMakeLists.txt => "cmake" script
  102 + makefile.std => Generic UNIX makefile (cc, creates static libpng.a)
  103 + makefile.elf => Linux/ELF makefile symbol versioning,
  104 + gcc, creates libpng12.so.0.1.2.29)
  105 + makefile.linux => Linux/ELF makefile
  106 + (gcc, creates libpng12.so.0.1.2.29)
  107 + makefile.gcc => Generic makefile (gcc, creates static libpng.a)
  108 + makefile.knr => Archaic UNIX Makefile that converts files with
  109 + ansi2knr (Requires ansi2knr.c from
  110 + ftp://ftp.cs.wisc.edu/ghost)
  111 + makefile.aix => AIX/gcc makefile
  112 + makefile.cygwin => Cygwin/gcc makefile
  113 + makefile.darwin => Darwin makefile, can use on MacosX
  114 + makefile.dec => DEC Alpha UNIX makefile
  115 + makefile.freebsd => FreeBSD makefile
  116 + makefile.hpgcc => HPUX makefile using gcc
  117 + makefile.hpux => HPUX (10.20 and 11.00) makefile
  118 + makefile.hp64 => HPUX (10.20 and 11.00) makefile, 64-bit
  119 + makefile.ibmc => IBM C/C++ version 3.x for Win32 and OS/2 (static)
  120 + makefile.intel => Intel C/C++ version 4.0 and later
  121 + libpng.icc => Project file for IBM VisualAge/C++ version 4.0 or later
  122 + makefile.netbsd => NetBSD/cc makefile, uses PNGGCCRD, makes libpng.so.
  123 + makefile.ne12bsd => NetBSD/cc makefile, uses PNGGCCRD,
  124 + makes libpng12.so
  125 + makefile.openbsd => OpenBSD makefile
  126 + makefile.sgi => Silicon Graphics IRIX makefile (cc, creates static lib)
  127 + makefile.sggcc => Silicon Graphics (gcc,
  128 + creates libpng12.so.0.1.2.29)
  129 + makefile.sunos => Sun makefile
  130 + makefile.solaris => Solaris 2.X makefile (gcc,
  131 + creates libpng12.so.0.1.2.29)
  132 + makefile.solaris-x86 => Solaris/intelMMX 2.X makefile (gcc,
  133 + creates libpng12.so.0.1.2.29)
  134 + makefile.so9 => Solaris 9 makefile (gcc,
  135 + creates libpng12.so.0.1.2.29)
  136 + makefile.32sunu => Sun Ultra 32-bit makefile
  137 + makefile.64sunu => Sun Ultra 64-bit makefile
  138 + makefile.sco => For SCO OSr5 ELF and Unixware 7 with Native cc
  139 + makefile.mips => MIPS makefile
  140 + makefile.acorn => Acorn makefile
  141 + makefile.amiga => Amiga makefile
  142 + smakefile.ppc => AMIGA smakefile for SAS C V6.58/7.00 PPC compiler
  143 + (Requires SCOPTIONS, copied from scripts/SCOPTIONS.ppc)
  144 + makefile.atari => Atari makefile
  145 + makefile.beos => BEOS makefile for X86
  146 + makefile.bor => Borland makefile (uses bcc)
  147 + makefile.bc32 => 32-bit Borland C++ (all modules compiled in C mode)
  148 + makefile.tc3 => Turbo C 3.0 makefile
  149 + makefile.dj2 => DJGPP 2 makefile
  150 + makefile.msc => Microsoft C makefile
  151 + makefile.vcwin32 => makefile for Microsoft Visual C++ 4.0 and later
  152 + makefile.os2 => OS/2 Makefile (gcc and emx, requires pngos2.def)
  153 + pngos2.def => OS/2 module definition file used by makefile.os2
  154 + makefile.watcom => Watcom 10a+ Makefile, 32-bit flat memory model
  155 + makevms.com => VMS build script
  156 + descrip.mms => VMS makefile for MMS or MMK
  157 + SCOPTIONS.ppc => Used with smakefile.ppc
  158 +
  159 +Copy the file (or files) that you need from the
  160 +scripts directory into this directory, for example
  161 +
  162 + MSDOS example: copy scripts\makefile.msc makefile
  163 + UNIX example: cp scripts/makefile.std makefile
  164 +
  165 +Read the makefile to see if you need to change any source or
  166 +target directories to match your preferences.
  167 +
  168 +Then read pngconf.h to see if you want to make any configuration
  169 +changes.
  170 +
  171 +Then just run "make" which will create the libpng library in
  172 +this directory and "make test" which will run a quick test that reads
  173 +the "pngtest.png" file and writes a "pngout.png" file that should be
  174 +identical to it. Look for "9782 zero samples" in the output of the
  175 +test. For more confidence, you can run another test by typing
  176 +"pngtest pngnow.png" and looking for "289 zero samples" in the output.
  177 +Also, you can run "pngtest -m contrib/pngsuite/*.png" and compare
  178 +your output with the result shown in contrib/pngsuite/README.
  179 +
  180 +Most of the makefiles will allow you to run "make install" to
  181 +put the library in its final resting place (if you want to
  182 +do that, run "make install" in the zlib directory first if necessary).
  183 +Some also allow you to run "make test-installed" after you have
  184 +run "make install".
  185 +
  186 +If you encounter a compiler error message complaining about the
  187 +lines
  188 + __png.h__ already includes setjmp.h;
  189 + __dont__ include it again.;
  190 +This means you have compiled another module that includes setjmp.h,
  191 +which is hazardous because the two modules might not include exactly
  192 +the same setjmp.h. If you are sure that you know what you are doing
  193 +and that they are exactly the same, then you can comment out or
  194 +delete the two lines. Better yet, use the cexcept interface
  195 +instead, as demonstrated in contrib/visupng of the libpng distribution.
  196 +
  197 +Further information can be found in the README and libpng.txt
  198 +files, in the individual makefiles, in png.h, and the manual pages
  199 +libpng.3 and png.5.
  200 +
  201 +
  202 +Using the ./configure script -- 16 December 2002.
  203 +=================================================
  204 +
  205 +
  206 +The ./configure script should work compatibly with what scripts/makefile.*
  207 +did, however there are some options you need to add to configure explicitly,
  208 +which previously was done semi-automatically (if you didn't edit
  209 +scripts/makefile.* yourself, that is)
  210 +
  211 +
  212 +CFLAGS="-Wall -O -funroll-loops \
  213 +-malign-loops=2 -malign-functions=2" ./configure --prefix=/usr/include \
  214 +--with-pkgconfigdir=/usr/lib/pkgconfig --includedir=/usr/include
  215 +
  216 +You can alternatively specify --includedir=/usr/include, /usr/local/include,
  217 +/usr/include/png12, or whatever.
  218 +
  219 +
22 KNOWNBUG
... ... @@ -0,0 +1,22 @@
  1 +
  2 +Known bugs in libpng version 1.2.29
  3 +
  4 +1. February 23, 2006: The custom makefiles don't build libpng with -lz.
  5 +
  6 + STATUS: This is a subject of debate. The change will probably be made
  7 + as a part of a major overhaul of the makefiles in libpng version 1.4.0.
  8 +
  9 +2. February 24, 2006: The Makefile generated by the "configure" script
  10 + fails to install symbolic links
  11 + libpng12.so => libpng12.so.0.1.2.9betaN
  12 + that are generated by the custom makefiles.
  13 +
  14 +3. September 4, 2007: There is a report that pngtest crashes on MacOS 10.
  15 +
  16 + STATUS: workarounds are
  17 + 1) Compile without optimization (crashes are observed with
  18 + -arch i386 and -O2 or -O3, using gcc-4.0.1).
  19 + 2) Compile pngtest.c with PNG_DEBUG defined (the bug goes away if
  20 + you try to look at it).
  21 + 3) Ignore the crash. The library itself seems to be OK.
  22 +
109 LICENSE
... ... @@ -0,0 +1,109 @@
  1 +
  2 +This copy of the libpng notices is provided for your convenience. In case of
  3 +any discrepancy between this copy and the notices in the file png.h that is
  4 +included in the libpng distribution, the latter shall prevail.
  5 +
  6 +COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
  7 +
  8 +If you modify libpng you may insert additional notices immediately following
  9 +this sentence.
  10 +
  11 +libpng versions 1.2.6, August 15, 2004, through 1.2.29, May 8, 2008, are
  12 +Copyright (c) 2004, 2006-2008 Glenn Randers-Pehrson, and are
  13 +distributed according to the same disclaimer and license as libpng-1.2.5
  14 +with the following individual added to the list of Contributing Authors
  15 +
  16 + Cosmin Truta
  17 +
  18 +libpng versions 1.0.7, July 1, 2000, through 1.2.5 - October 3, 2002, are
  19 +Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are
  20 +distributed according to the same disclaimer and license as libpng-1.0.6
  21 +with the following individuals added to the list of Contributing Authors
  22 +
  23 + Simon-Pierre Cadieux
  24 + Eric S. Raymond
  25 + Gilles Vollant
  26 +
  27 +and with the following additions to the disclaimer:
  28 +
  29 + There is no warranty against interference with your enjoyment of the
  30 + library or against infringement. There is no warranty that our
  31 + efforts or the library will fulfill any of your particular purposes
  32 + or needs. This library is provided with all faults, and the entire
  33 + risk of satisfactory quality, performance, accuracy, and effort is with
  34 + the user.
  35 +
  36 +libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
  37 +Copyright (c) 1998, 1999 Glenn Randers-Pehrson, and are
  38 +distributed according to the same disclaimer and license as libpng-0.96,
  39 +with the following individuals added to the list of Contributing Authors:
  40 +
  41 + Tom Lane
  42 + Glenn Randers-Pehrson
  43 + Willem van Schaik
  44 +
  45 +libpng versions 0.89, June 1996, through 0.96, May 1997, are
  46 +Copyright (c) 1996, 1997 Andreas Dilger
  47 +Distributed according to the same disclaimer and license as libpng-0.88,
  48 +with the following individuals added to the list of Contributing Authors:
  49 +
  50 + John Bowler
  51 + Kevin Bracey
  52 + Sam Bushell
  53 + Magnus Holmgren
  54 + Greg Roelofs
  55 + Tom Tanner
  56 +
  57 +libpng versions 0.5, May 1995, through 0.88, January 1996, are
  58 +Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.
  59 +
  60 +For the purposes of this copyright and license, "Contributing Authors"
  61 +is defined as the following set of individuals:
  62 +
  63 + Andreas Dilger
  64 + Dave Martindale
  65 + Guy Eric Schalnat
  66 + Paul Schmidt
  67 + Tim Wegner
  68 +
  69 +The PNG Reference Library is supplied "AS IS". The Contributing Authors
  70 +and Group 42, Inc. disclaim all warranties, expressed or implied,
  71 +including, without limitation, the warranties of merchantability and of
  72 +fitness for any purpose. The Contributing Authors and Group 42, Inc.
  73 +assume no liability for direct, indirect, incidental, special, exemplary,
  74 +or consequential damages, which may result from the use of the PNG
  75 +Reference Library, even if advised of the possibility of such damage.
  76 +
  77 +Permission is hereby granted to use, copy, modify, and distribute this
  78 +source code, or portions hereof, for any purpose, without fee, subject
  79 +to the following restrictions:
  80 +
  81 +1. The origin of this source code must not be misrepresented.
  82 +
  83 +2. Altered versions must be plainly marked as such and must not
  84 + be misrepresented as being the original source.
  85 +
  86 +3. This Copyright notice may not be removed or altered from any
  87 + source or altered source distribution.
  88 +
  89 +The Contributing Authors and Group 42, Inc. specifically permit, without
  90 +fee, and encourage the use of this source code as a component to
  91 +supporting the PNG file format in commercial products. If you use this
  92 +source code in a product, acknowledgment is not required but would be
  93 +appreciated.
  94 +
  95 +
  96 +A "png_get_copyright" function is available, for convenient use in "about"
  97 +boxes and the like:
  98 +
  99 + printf("%s",png_get_copyright(NULL));
  100 +
  101 +Also, the PNG logo (in PNG format, of course) is supplied in the
  102 +files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31).
  103 +
  104 +Libpng is OSI Certified Open Source Software. OSI Certified Open Source is a
  105 +certification mark of the Open Source Initiative.
  106 +
  107 +Glenn Randers-Pehrson
  108 +glennrp at users.sourceforge.net
  109 +May 8, 2008
0  MODULE_LICENSE_BSD_LIKE
No changes.
0  MODULE_LICENSE_BSD_LIKE
Sorry, we could not display the changes to this file because there were too many other changes to display.
152 Makefile.am
... ... @@ -0,0 +1,152 @@
  1 +# Makefile.am:
  2 +# Source file for Makefile.in (and hence Makefile)
  3 +#
  4 +# Makefile.am need only be changed on a major version number
  5 +# change (e.g. libpng12 --> libpng13). In that case seach
  6 +# this file for every instance of the old base name (libpng12)
  7 +# and change to the new one (libpng13), then change the
  8 +# -version-number settings below so that the new values have
  9 +# the correct major part (first field).
  10 +
  11 +PNGLIB_BASENAME= libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
  12 +
  13 +# libpng does not follow GNU file name conventions
  14 +AUTOMAKE_OPTIONS = foreign
  15 +
  16 +# test programs - run on make check, make distcheck
  17 +check_PROGRAMS= pngtest
  18 +pngtest_SOURCES = pngtest.c
  19 +pngtest_LDADD = libpng12.la
  20 +TESTS = test-pngtest.sh
  21 +TESTS_ENVIRONMENT= srcdir=$(srcdir)
  22 +
  23 +# man pages
  24 +dist_man_MANS= libpng.3 libpngpf.3 png.5
  25 +
  26 +# generate the -config scripts if required
  27 +binconfigs= libpng12-config
  28 +EXTRA_SCRIPTS= libpng-config libpng12-config
  29 +bin_SCRIPTS= @binconfigs@
  30 +
  31 +# rules to build libpng, only build the old library on request
  32 +lib_LTLIBRARIES=libpng12.la @compatlib@
  33 +EXTRA_LTLIBRARIES= libpng.la
  34 +libpng12_la_SOURCES = png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
  35 + pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
  36 + pngwtran.c pngmem.c pngerror.c pngpread.c \
  37 + png.h pngconf.h
  38 +libpng_la_SOURCES = $(libpng12_la_SOURCES)
  39 +
  40 +libpng_la_CPPFLAGS = @LIBPNG_DEFINES@
  41 +libpng12_la_CPPFLAGS = @LIBPNG_DEFINES@
  42 +
  43 +# MAJOR UPGRADE: the version-number settings below must be changed.
  44 +libpng12_la_LDFLAGS = -no-undefined -export-dynamic \
  45 + -version-number 0:@PNGLIB_RELEASE@:0
  46 +# -rpath is needed as automake doesn't know the directory
  47 +libpng_la_LDFLAGS = -rpath '$(libdir)' -no-undefined -export-dynamic \
  48 + -version-number 3:@PNGLIB_RELEASE@:0
  49 +
  50 +if HAVE_LD_VERSION_SCRIPT
  51 + # Versioned symbols and restricted exports
  52 + libpng12_la_LDFLAGS += -Wl,--version-script=libpng.vers
  53 + libpng12_la_DEPENDENCIES = libpng.vers
  54 +else
  55 + # Only restricted exports when possible
  56 + libpng12_la_LDFLAGS += -export-symbols libpng.sym
  57 + libpng12_la_DEPENDENCIES = libpng.sym
  58 +endif
  59 +libpng_la_DEPENDENCIES = $(libpng12_la_DEPENDENCIES)
  60 +
  61 +# Avoid depending upon Character Ranges.
  62 +AN = '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
  63 +
  64 +#distribute headers in /usr/include/libpng/*
  65 +pkgincludedir= $(includedir)/$(PNGLIB_BASENAME)
  66 +pkginclude_HEADERS= png.h pngconf.h
  67 +
  68 +# pkg-config stuff, note that libpng.pc is always required in order
  69 +# to get the correct library
  70 +pkgconfigdir = @pkgconfigdir@
  71 +pkgconfig_DATA = libpng12.pc
  72 +
  73 +#extra source distribution files.
  74 +EXTRA_DIST= \
  75 + ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO \
  76 + pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
  77 + ${srcdir}/projects/cbuilder5/* \
  78 + ${srcdir}/projects/beos/* \
  79 + ${srcdir}/projects/visualc6/* \
  80 + ${srcdir}/projects/visualc71/* \
  81 + ${srcdir}/projects/wince.txt \
  82 + ${srcdir}/projects/netware.txt \
  83 + ${srcdir}/scripts/* \
  84 + ${srcdir}/contrib/gregbook/* \
  85 + ${srcdir}/contrib/pngminus/* \
  86 + ${srcdir}/contrib/pngsuite/* \
  87 + ${srcdir}/contrib/visupng/* \
  88 + $(TESTS) \
  89 + example.c libpng-1.2.29.txt pngvcrd.c
  90 +
  91 +CLEANFILES= pngout.png libpng12.pc libpng12-config libpng.vers \
  92 +libpng.sym
  93 +
  94 +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
  95 +config.sub configure depcomp install-sh ltmain.sh missing
  96 +
  97 +$(PNGLIB_BASENAME).pc: libpng.pc
  98 + cp libpng.pc $@
  99 +
  100 +$(PNGLIB_BASENAME)-config: libpng-config
  101 + cp libpng-config $@
  102 +
  103 +libpng.sym: png.h pngconf.h
  104 + rm -f $@ $@.new
  105 + $(CPP) @LIBPNG_DEFINES@ $(CPPFLAGS) -DPNG_BUILDSYMS $(srcdir)/png.h | \
  106 + $(SED) -n -e \
  107 + 's|^.*PNG_FUNCTION_EXPORT[ ]*\([$(AN)]*\).*$$|$(SYMBOL_PREFIX)\1|p' \
  108 + -e 's|^.*PNG_DATA_EXPORT[ ]*\([$(AN)]*\).*$$|$(SYMBOL_PREFIX)\1|p' \
  109 + >$@.new
  110 + mv $@.new $@
  111 +
  112 +libpng.vers: libpng.sym
  113 + rm -f $@ $@.new
  114 + echo PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0 '{global:' > $@.new
  115 + $(SED) s/$$/\;/ libpng.sym >> $@.new
  116 + echo 'local: *; };' >> $@.new
  117 + mv $@.new $@
  118 +
  119 +test: check
  120 +
  121 +# install the .../include headers as links to the new ones
  122 +install-data-hook:
  123 + cd $(DESTDIR)$(includedir); rm -f png.h pngconf.h
  124 + cd $(DESTDIR)$(includedir); $(LN_S) $(PNGLIB_BASENAME)/png.h png.h
  125 + cd $(DESTDIR)$(includedir); $(LN_S) $(PNGLIB_BASENAME)/pngconf.h pngconf.h
  126 + cd $(DESTDIR)$(pkgconfigdir); rm -f libpng.pc
  127 + cd $(DESTDIR)$(pkgconfigdir); $(LN_S) $(PNGLIB_BASENAME).pc libpng.pc
  128 +
  129 +# do evil things to libpng to cause libpng12 to be used
  130 +install-exec-hook:
  131 + cd $(DESTDIR)$(bindir); rm -f libpng-config
  132 + cd $(DESTDIR)$(bindir); $(LN_S) $(PNGLIB_BASENAME)-config libpng-config
  133 + @set -x;\
  134 + cd $(DESTDIR)$(libdir);\
  135 + for ext in a la so sl dylib; do\
  136 + rm -f libpng.$$ext;\
  137 + if test -f $(PNGLIB_BASENAME).$$ext; then\
  138 + $(LN_S) $(PNGLIB_BASENAME).$$ext libpng.$$ext;\
  139 + fi;\
  140 + done
  141 +
  142 +uninstall-hook:
  143 + cd $(DESTDIR)$(includedir); rm -f png.h pngconf.h
  144 + rm -f $(DESTDIR)$(pkgconfigdir)/libpng.pc
  145 + rm -f $(DESTDIR)$(bindir)/libpng-config
  146 + @if test -n "@compatlib@"; then\
  147 + set -x;\
  148 + cd $(DESTDIR)$(libdir);\
  149 + for ext in a la so sl dylib; do\
  150 + rm -f libpng.$$ext;\
  151 + done;\
  152 + fi
1,311 Makefile.in
... ... @@ -0,0 +1,1311 @@
  1 +# Makefile.in generated by automake 1.10.1 from Makefile.am.
  2 +# @configure_input@
  3 +
  4 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
  5 +# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  6 +# This Makefile.in is free software; the Free Software Foundation
  7 +# gives unlimited permission to copy and/or distribute it,
  8 +# with or without modifications, as long as this notice is preserved.
  9 +
  10 +# This program is distributed in the hope that it will be useful,
  11 +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  12 +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  13 +# PARTICULAR PURPOSE.
  14 +
  15 +@SET_MAKE@
  16 +
  17 +# Makefile.am:
  18 +# Source file for Makefile.in (and hence Makefile)
  19 +#
  20 +# Makefile.am need only be changed on a major version number
  21 +# change (e.g. libpng12 --> libpng13). In that case seach
  22 +# this file for every instance of the old base name (libpng12)
  23 +# and change to the new one (libpng13), then change the
  24 +# -version-number settings below so that the new values have
  25 +# the correct major part (first field).
  26 +
  27 +
  28 +
  29 +
  30 +VPATH = @srcdir@
  31 +pkgdatadir = $(datadir)/@PACKAGE@
  32 +pkglibdir = $(libdir)/@PACKAGE@
  33 +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  34 +install_sh_DATA = $(install_sh) -c -m 644
  35 +install_sh_PROGRAM = $(install_sh) -c
  36 +install_sh_SCRIPT = $(install_sh) -c
  37 +INSTALL_HEADER = $(INSTALL_DATA)
  38 +transform = $(program_transform_name)
  39 +NORMAL_INSTALL = :
  40 +PRE_INSTALL = :
  41 +POST_INSTALL = :
  42 +NORMAL_UNINSTALL = :
  43 +PRE_UNINSTALL = :
  44 +POST_UNINSTALL = :
  45 +build_triplet = @build@
  46 +host_triplet = @host@
  47 +check_PROGRAMS = pngtest$(EXEEXT)
  48 +@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=libpng.vers
  49 +@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
  50 +subdir = .
  51 +DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \
  52 + $(pkginclude_HEADERS) $(srcdir)/Makefile.am \
  53 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
  54 + $(top_srcdir)/configure $(top_srcdir)/scripts/libpng-config.in \
  55 + $(top_srcdir)/scripts/libpng.pc-configure.in INSTALL TODO \
  56 + config.guess config.sub depcomp install-sh ltmain.sh missing \
  57 + mkinstalldirs
  58 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  59 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
  60 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  61 + $(ACLOCAL_M4)
  62 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  63 + configure.lineno config.status.lineno
  64 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  65 +CONFIG_HEADER = config.h
  66 +CONFIG_CLEAN_FILES = libpng.pc libpng-config
  67 +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
  68 +am__vpath_adj = case $$p in \
  69 + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
  70 + *) f=$$p;; \
  71 + esac;
  72 +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
  73 +am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
  74 + "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(man5dir)" \
  75 + "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(pkgincludedir)"
  76 +libLTLIBRARIES_INSTALL = $(INSTALL)
  77 +LTLIBRARIES = $(lib_LTLIBRARIES)
  78 +libpng_la_LIBADD =
  79 +am__objects_1 = libpng_la-png.lo libpng_la-pngset.lo \
  80 + libpng_la-pngget.lo libpng_la-pngrutil.lo \
  81 + libpng_la-pngtrans.lo libpng_la-pngwutil.lo \
  82 + libpng_la-pngread.lo libpng_la-pngrio.lo libpng_la-pngwio.lo \
  83 + libpng_la-pngwrite.lo libpng_la-pngrtran.lo \
  84 + libpng_la-pngwtran.lo libpng_la-pngmem.lo \
  85 + libpng_la-pngerror.lo libpng_la-pngpread.lo
  86 +am_libpng_la_OBJECTS = $(am__objects_1)
  87 +libpng_la_OBJECTS = $(am_libpng_la_OBJECTS)
  88 +libpng_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  89 + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  90 + $(libpng_la_LDFLAGS) $(LDFLAGS) -o $@
  91 +libpng12_la_LIBADD =
  92 +am_libpng12_la_OBJECTS = libpng12_la-png.lo libpng12_la-pngset.lo \
  93 + libpng12_la-pngget.lo libpng12_la-pngrutil.lo \
  94 + libpng12_la-pngtrans.lo libpng12_la-pngwutil.lo \
  95 + libpng12_la-pngread.lo libpng12_la-pngrio.lo \
  96 + libpng12_la-pngwio.lo libpng12_la-pngwrite.lo \
  97 + libpng12_la-pngrtran.lo libpng12_la-pngwtran.lo \
  98 + libpng12_la-pngmem.lo libpng12_la-pngerror.lo \
  99 + libpng12_la-pngpread.lo
  100 +libpng12_la_OBJECTS = $(am_libpng12_la_OBJECTS)
  101 +libpng12_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
  102 + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  103 + $(libpng12_la_LDFLAGS) $(LDFLAGS) -o $@
  104 +am_pngtest_OBJECTS = pngtest.$(OBJEXT)
  105 +pngtest_OBJECTS = $(am_pngtest_OBJECTS)
  106 +pngtest_DEPENDENCIES = libpng12.la
  107 +binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
  108 +SCRIPTS = $(bin_SCRIPTS)
  109 +DEFAULT_INCLUDES = -I.@am__isrc@
  110 +depcomp = $(SHELL) $(top_srcdir)/depcomp
  111 +am__depfiles_maybe = depfiles
  112 +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
  113 + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  114 +LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  115 + --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
  116 + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  117 +CCLD = $(CC)
  118 +LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
  119 + --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
  120 + $(LDFLAGS) -o $@
  121 +SOURCES = $(libpng_la_SOURCES) $(libpng12_la_SOURCES) \
  122 + $(pngtest_SOURCES)
  123 +DIST_SOURCES = $(libpng_la_SOURCES) $(libpng12_la_SOURCES) \
  124 + $(pngtest_SOURCES)
  125 +man3dir = $(mandir)/man3
  126 +man5dir = $(mandir)/man5
  127 +NROFF = nroff
  128 +MANS = $(dist_man_MANS)
  129 +pkgconfigDATA_INSTALL = $(INSTALL_DATA)
  130 +DATA = $(pkgconfig_DATA)
  131 +pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
  132 +HEADERS = $(pkginclude_HEADERS)
  133 +ETAGS = etags
  134 +CTAGS = ctags
  135 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  136 +distdir = $(PACKAGE)-$(VERSION)
  137 +top_distdir = $(distdir)
  138 +am__remove_distdir = \
  139 + { test ! -d $(distdir) \
  140 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
  141 + && rm -fr $(distdir); }; }
  142 +DIST_ARCHIVES = $(distdir).tar.gz
  143 +GZIP_ENV = --best
  144 +distuninstallcheck_listfiles = find . -type f -print
  145 +distcleancheck_listfiles = find . -type f -print
  146 +
  147 +#distribute headers in /usr/include/libpng/*
  148 +pkgincludedir = $(includedir)/$(PNGLIB_BASENAME)
  149 +ACLOCAL = @ACLOCAL@
  150 +AMTAR = @AMTAR@
  151 +AR = @AR@
  152 +AS = @AS@
  153 +AUTOCONF = @AUTOCONF@
  154 +AUTOHEADER = @AUTOHEADER@
  155 +AUTOMAKE = @AUTOMAKE@
  156 +AWK = @AWK@
  157 +CC = @CC@
  158 +CCDEPMODE = @CCDEPMODE@
  159 +CFLAGS = @CFLAGS@
  160 +CPP = @CPP@
  161 +CPPFLAGS = @CPPFLAGS@
  162 +CYGPATH_W = @CYGPATH_W@
  163 +DEFS = @DEFS@
  164 +DEPDIR = @DEPDIR@
  165 +DLLTOOL = @DLLTOOL@
  166 +DSYMUTIL = @DSYMUTIL@
  167 +DUMPBIN = @DUMPBIN@
  168 +ECHO_C = @ECHO_C@
  169 +ECHO_N = @ECHO_N@
  170 +ECHO_T = @ECHO_T@
  171 +EGREP = @EGREP@
  172 +EXEEXT = @EXEEXT@
  173 +FGREP = @FGREP@
  174 +GREP = @GREP@
  175 +INSTALL = @INSTALL@
  176 +INSTALL_DATA = @INSTALL_DATA@
  177 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  178 +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  179 +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  180 +LD = @LD@
  181 +LDFLAGS = @LDFLAGS@
  182 +LIBOBJS = @LIBOBJS@
  183 +LIBPNG_DEFINES = @LIBPNG_DEFINES@
  184 +LIBPNG_NO_MMX = @LIBPNG_NO_MMX@
  185 +LIBS = @LIBS@
  186 +LIBTOOL = @LIBTOOL@
  187 +LIPO = @LIPO@
  188 +LN_S = @LN_S@
  189 +LTLIBOBJS = @LTLIBOBJS@
  190 +MAINT = @MAINT@
  191 +MAKEINFO = @MAKEINFO@
  192 +MKDIR_P = @MKDIR_P@
  193 +NM = @NM@
  194 +NMEDIT = @NMEDIT@
  195 +OBJDUMP = @OBJDUMP@
  196 +OBJEXT = @OBJEXT@
  197 +PACKAGE = @PACKAGE@
  198 +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  199 +PACKAGE_NAME = @PACKAGE_NAME@
  200 +PACKAGE_STRING = @PACKAGE_STRING@
  201 +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  202 +PACKAGE_VERSION = @PACKAGE_VERSION@
  203 +PATH_SEPARATOR = @PATH_SEPARATOR@
  204 +PNGLIB_MAJOR = @PNGLIB_MAJOR@
  205 +PNGLIB_MINOR = @PNGLIB_MINOR@
  206 +PNGLIB_RELEASE = @PNGLIB_RELEASE@
  207 +PNGLIB_VERSION = @PNGLIB_VERSION@
  208 +POW_LIB = @POW_LIB@
  209 +RANLIB = @RANLIB@
  210 +SED = @SED@
  211 +SET_MAKE = @SET_MAKE@
  212 +SHELL = @SHELL@
  213 +STRIP = @STRIP@
  214 +SYMBOL_PREFIX = @SYMBOL_PREFIX@
  215 +VERSION = @VERSION@
  216 +abs_builddir = @abs_builddir@
  217 +abs_srcdir = @abs_srcdir@
  218 +abs_top_builddir = @abs_top_builddir@
  219 +abs_top_srcdir = @abs_top_srcdir@
  220 +ac_ct_CC = @ac_ct_CC@
  221 +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
  222 +am__include = @am__include@
  223 +am__leading_dot = @am__leading_dot@
  224 +am__quote = @am__quote@
  225 +am__tar = @am__tar@
  226 +am__untar = @am__untar@
  227 +
  228 +# generate the -config scripts if required
  229 +binconfigs = libpng12-config
  230 +bindir = @bindir@
  231 +build = @build@
  232 +build_alias = @build_alias@
  233 +build_cpu = @build_cpu@
  234 +build_os = @build_os@
  235 +build_vendor = @build_vendor@
  236 +builddir = @builddir@
  237 +compatlib = @compatlib@
  238 +datadir = @datadir@
  239 +datarootdir = @datarootdir@
  240 +docdir = @docdir@
  241 +dvidir = @dvidir@
  242 +exec_prefix = @exec_prefix@
  243 +host = @host@
  244 +host_alias = @host_alias@
  245 +host_cpu = @host_cpu@
  246 +host_os = @host_os@
  247 +host_vendor = @host_vendor@
  248 +htmldir = @htmldir@
  249 +includedir = @includedir@
  250 +infodir = @infodir@
  251 +install_sh = @install_sh@
  252 +libdir = @libdir@
  253 +libexecdir = @libexecdir@
  254 +localedir = @localedir@
  255 +localstatedir = @localstatedir@
  256 +lt_ECHO = @lt_ECHO@
  257 +mandir = @mandir@
  258 +mkdir_p = @mkdir_p@
  259 +oldincludedir = @oldincludedir@
  260 +pdfdir = @pdfdir@
  261 +
  262 +# pkg-config stuff, note that libpng.pc is always required in order
  263 +# to get the correct library
  264 +pkgconfigdir = @pkgconfigdir@
  265 +prefix = @prefix@
  266 +program_transform_name = @program_transform_name@
  267 +psdir = @psdir@
  268 +sbindir = @sbindir@
  269 +sharedstatedir = @sharedstatedir@
  270 +srcdir = @srcdir@
  271 +sysconfdir = @sysconfdir@
  272 +target_alias = @target_alias@
  273 +top_build_prefix = @top_build_prefix@
  274 +top_builddir = @top_builddir@
  275 +top_srcdir = @top_srcdir@
  276 +PNGLIB_BASENAME = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
  277 +
  278 +# libpng does not follow GNU file name conventions
  279 +AUTOMAKE_OPTIONS = foreign
  280 +pngtest_SOURCES = pngtest.c
  281 +pngtest_LDADD = libpng12.la
  282 +TESTS = test-pngtest.sh
  283 +TESTS_ENVIRONMENT = srcdir=$(srcdir)
  284 +
  285 +# man pages
  286 +dist_man_MANS = libpng.3 libpngpf.3 png.5
  287 +EXTRA_SCRIPTS = libpng-config libpng12-config
  288 +bin_SCRIPTS = @binconfigs@
  289 +
  290 +# rules to build libpng, only build the old library on request
  291 +lib_LTLIBRARIES = libpng12.la @compatlib@
  292 +EXTRA_LTLIBRARIES = libpng.la
  293 +libpng12_la_SOURCES = png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \
  294 + pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \
  295 + pngwtran.c pngmem.c pngerror.c pngpread.c \
  296 + png.h pngconf.h
  297 +
  298 +libpng_la_SOURCES = $(libpng12_la_SOURCES)
  299 +libpng_la_CPPFLAGS = @LIBPNG_DEFINES@
  300 +libpng12_la_CPPFLAGS = @LIBPNG_DEFINES@
  301 +
  302 +# MAJOR UPGRADE: the version-number settings below must be changed.
  303 +libpng12_la_LDFLAGS = -no-undefined -export-dynamic -version-number \
  304 + 0:@PNGLIB_RELEASE@:0 $(am__append_1) $(am__append_2)
  305 +# -rpath is needed as automake doesn't know the directory
  306 +libpng_la_LDFLAGS = -rpath '$(libdir)' -no-undefined -export-dynamic \
  307 + -version-number 3:@PNGLIB_RELEASE@:0
  308 +
  309 +@HAVE_LD_VERSION_SCRIPT_FALSE@libpng12_la_DEPENDENCIES = libpng.sym
  310 +@HAVE_LD_VERSION_SCRIPT_TRUE@libpng12_la_DEPENDENCIES = libpng.vers
  311 +libpng_la_DEPENDENCIES = $(libpng12_la_DEPENDENCIES)
  312 +
  313 +# Avoid depending upon Character Ranges.
  314 +AN = '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'
  315 +pkginclude_HEADERS = png.h pngconf.h
  316 +pkgconfig_DATA = libpng12.pc
  317 +
  318 +#extra source distribution files.
  319 +EXTRA_DIST = \
  320 + ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO \
  321 + pngtest.png pngbar.png pngnow.png pngbar.jpg autogen.sh \
  322 + ${srcdir}/projects/cbuilder5/* \
  323 + ${srcdir}/projects/beos/* \
  324 + ${srcdir}/projects/visualc6/* \
  325 + ${srcdir}/projects/visualc71/* \
  326 + ${srcdir}/projects/wince.txt \
  327 + ${srcdir}/projects/netware.txt \
  328 + ${srcdir}/scripts/* \
  329 + ${srcdir}/contrib/gregbook/* \
  330 + ${srcdir}/contrib/pngminus/* \
  331 + ${srcdir}/contrib/pngsuite/* \
  332 + ${srcdir}/contrib/visupng/* \
  333 + $(TESTS) \
  334 + example.c libpng-1.2.29beta03.txt pngvcrd.c
  335 +
  336 +CLEANFILES = pngout.png libpng12.pc libpng12-config libpng.vers \
  337 +libpng.sym
  338 +
  339 +MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
  340 +config.sub configure depcomp install-sh ltmain.sh missing
  341 +
  342 +all: config.h
  343 + $(MAKE) $(AM_MAKEFLAGS) all-am
  344 +
  345 +.SUFFIXES:
  346 +.SUFFIXES: .c .lo .o .obj
  347 +am--refresh:
  348 + @:
  349 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
  350 + @for dep in $?; do \
  351 + case '$(am__configure_deps)' in \
  352 + *$$dep*) \
  353 + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
  354 + cd $(srcdir) && $(AUTOMAKE) --foreign \
  355 + && exit 0; \
  356 + exit 1;; \
  357 + esac; \
  358 + done; \
  359 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  360 + cd $(top_srcdir) && \
  361 + $(AUTOMAKE) --foreign Makefile
  362 +.PRECIOUS: Makefile
  363 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  364 + @case '$?' in \
  365 + *config.status*) \
  366 + echo ' $(SHELL) ./config.status'; \
  367 + $(SHELL) ./config.status;; \
  368 + *) \
  369 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  370 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  371 + esac;
  372 +
  373 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  374 + $(SHELL) ./config.status --recheck
  375 +
  376 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  377 + cd $(srcdir) && $(AUTOCONF)
  378 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
  379 + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  380 +
  381 +config.h: stamp-h1
  382 + @if test ! -f $@; then \
  383 + rm -f stamp-h1; \
  384 + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
  385 + else :; fi
  386 +
  387 +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
  388 + @rm -f stamp-h1
  389 + cd $(top_builddir) && $(SHELL) ./config.status config.h
  390 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
  391 + cd $(top_srcdir) && $(AUTOHEADER)
  392 + rm -f stamp-h1
  393 + touch $@
  394 +
  395 +distclean-hdr:
  396 + -rm -f config.h stamp-h1
  397 +libpng.pc: $(top_builddir)/config.status $(top_srcdir)/scripts/libpng.pc-configure.in
  398 + cd $(top_builddir) && $(SHELL) ./config.status $@
  399 +libpng-config: $(top_builddir)/config.status $(top_srcdir)/scripts/libpng-config.in
  400 + cd $(top_builddir) && $(SHELL) ./config.status $@
  401 +install-libLTLIBRARIES: $(lib_LTLIBRARIES)
  402 + @$(NORMAL_INSTALL)
  403 + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
  404 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  405 + if test -f $$p; then \
  406 + f=$(am__strip_dir) \
  407 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
  408 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
  409 + else :; fi; \
  410 + done
  411 +
  412 +uninstall-libLTLIBRARIES:
  413 + @$(NORMAL_UNINSTALL)
  414 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  415 + p=$(am__strip_dir) \
  416 + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
  417 + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
  418 + done
  419 +
  420 +clean-libLTLIBRARIES:
  421 + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
  422 + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
  423 + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
  424 + test "$$dir" != "$$p" || dir=.; \
  425 + echo "rm -f \"$${dir}/so_locations\""; \
  426 + rm -f "$${dir}/so_locations"; \
  427 + done
  428 +libpng.la: $(libpng_la_OBJECTS) $(libpng_la_DEPENDENCIES)
  429 + $(libpng_la_LINK) $(libpng_la_OBJECTS) $(libpng_la_LIBADD) $(LIBS)
  430 +libpng12.la: $(libpng12_la_OBJECTS) $(libpng12_la_DEPENDENCIES)
  431 + $(libpng12_la_LINK) -rpath $(libdir) $(libpng12_la_OBJECTS) $(libpng12_la_LIBADD) $(LIBS)
  432 +
  433 +clean-checkPROGRAMS:
  434 + @list='$(check_PROGRAMS)'; for p in $$list; do \
  435 + f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
  436 + echo " rm -f $$p $$f"; \
  437 + rm -f $$p $$f ; \
  438 + done
  439 +pngtest$(EXEEXT): $(pngtest_OBJECTS) $(pngtest_DEPENDENCIES)
  440 + @rm -f pngtest$(EXEEXT)
  441 + $(LINK) $(pngtest_OBJECTS) $(pngtest_LDADD) $(LIBS)
  442 +install-binSCRIPTS: $(bin_SCRIPTS)
  443 + @$(NORMAL_INSTALL)
  444 + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
  445 + @list='$(bin_SCRIPTS)'; for p in $$list; do \
  446 + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
  447 + if test -f $$d$$p; then \
  448 + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  449 + echo " $(binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \
  450 + $(binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \
  451 + else :; fi; \
  452 + done
  453 +
  454 +uninstall-binSCRIPTS:
  455 + @$(NORMAL_UNINSTALL)
  456 + @list='$(bin_SCRIPTS)'; for p in $$list; do \
  457 + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
  458 + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
  459 + rm -f "$(DESTDIR)$(bindir)/$$f"; \
  460 + done
  461 +
  462 +mostlyclean-compile:
  463 + -rm -f *.$(OBJEXT)
  464 +
  465 +distclean-compile:
  466 + -rm -f *.tab.c
  467 +
  468 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-png.Plo@am__quote@
  469 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngerror.Plo@am__quote@
  470 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngget.Plo@am__quote@
  471 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngmem.Plo@am__quote@
  472 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngpread.Plo@am__quote@
  473 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngread.Plo@am__quote@
  474 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngrio.Plo@am__quote@
  475 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngrtran.Plo@am__quote@
  476 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngrutil.Plo@am__quote@
  477 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngset.Plo@am__quote@
  478 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngtrans.Plo@am__quote@
  479 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngwio.Plo@am__quote@
  480 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngwrite.Plo@am__quote@
  481 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngwtran.Plo@am__quote@
  482 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng12_la-pngwutil.Plo@am__quote@
  483 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-png.Plo@am__quote@
  484 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngerror.Plo@am__quote@
  485 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngget.Plo@am__quote@
  486 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngmem.Plo@am__quote@
  487 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngpread.Plo@am__quote@
  488 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngread.Plo@am__quote@
  489 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngrio.Plo@am__quote@
  490 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngrtran.Plo@am__quote@
  491 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngrutil.Plo@am__quote@
  492 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngset.Plo@am__quote@
  493 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngtrans.Plo@am__quote@
  494 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngwio.Plo@am__quote@
  495 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngwrite.Plo@am__quote@
  496 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngwtran.Plo@am__quote@
  497 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpng_la-pngwutil.Plo@am__quote@
  498 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtest.Po@am__quote@
  499 +
  500 +.c.o:
  501 +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
  502 +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
  503 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
  504 +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
  505 +@am__fastdepCC_FALSE@ $(COMPILE) -c $<
  506 +
  507 +.c.obj: