[libpng17] Revised INSTALL document.

This commit is contained in:
Glenn Randers-Pehrson 2014-10-24 22:33:51 -05:00
parent 9ee6678e1f
commit fd409c8019

33
INSTALL
View File

@ -18,7 +18,7 @@ VIII. Configuring libpng for 16-bit platforms
XIII. Removing unwanted object code XIII. Removing unwanted object code
XIV. Changes to the build and configuration of libpng in libpng-1.5.x XIV. Changes to the build and configuration of libpng in libpng-1.5.x
XV. Configuring libpng for multiprocessing XV. Configuring libpng for multiprocessing
XVI. Other sources of information about libpng: XVI. Other sources of information about libpng
I. Simple installation I. Simple installation
@ -32,6 +32,15 @@ and ignore the rest of this document. "/path" is the path to the directory
where you want to install the libpng "lib", "include", and "bin" where you want to install the libpng "lib", "include", and "bin"
subdirectories. subdirectories.
If you downloaded a GIT clone, you will need to run ./autogen.sh before
running ./configure, to create "configure" and "Makefile.in" which are
not included in the GIT repository.
Note that "configure" is only included in the "*.tar" distributions and not
in the "*.zip" or "*.7z" distributions. If you downloaded one of those
distributions, see "Building with project files" or "Building with makefiles",
below.
II. Rebuilding the configure scripts II. Rebuilding the configure scripts
If configure does not work on your system, or if you have a need to If configure does not work on your system, or if you have a need to
@ -111,8 +120,7 @@ Your directory structure should look like this:
libpng (this directory) libpng (this directory)
INSTALL (this file) INSTALL (this file)
README README
*.h *.h, *.c => libpng source files
*.c
CMakeLists.txt => "cmake" script CMakeLists.txt => "cmake" script
configuration files: configuration files:
configure.ac, configure, Makefile.am, Makefile.in, configure.ac, configure, Makefile.am, Makefile.in,
@ -120,15 +128,10 @@ Your directory structure should look like this:
libpng-config.in, aclocal.m4, config.h.in, config.sub, libpng-config.in, aclocal.m4, config.h.in, config.sub,
depcomp, install-sh, mkinstalldirs, test-pngtest.sh depcomp, install-sh, mkinstalldirs, test-pngtest.sh
contrib contrib
gregbook arm-neon, conftest, examples, gregbook, libtests, pngminim,
libtests pngminus, pngsuite, tools, visupng
pngminim
pngminus
pngsuite
visupng
projects projects
visualc71 cbuilder5, owatcom, visualc71, vstudio, xcode
vstudio
scripts scripts
makefile.* makefile.*
*.def (module definition files) *.def (module definition files)
@ -136,11 +139,7 @@ Your directory structure should look like this:
pngtest.png pngtest.png
etc. etc.
zlib zlib
README README, *.h, *.c contrib, etc.
*.h
*.c
contrib
etc.
If the line endings in the files look funny, you may wish to get the other If the line endings in the files look funny, you may wish to get the other
distribution of libpng. It is available in both tar.gz (UNIX style line distribution of libpng. It is available in both tar.gz (UNIX style line
@ -149,7 +148,7 @@ endings) and zip (DOS style line endings) formats.
VI. Building with project files VI. Building with project files
If you are building libpng with MSVC, you can enter the If you are building libpng with MSVC, you can enter the
libpng projects\visualc6 or visualc71 directory and follow the instructions libpng projects\visualc71 or vstudio directory and follow the instructions
in README.txt. in README.txt.
Otherwise enter the zlib directory and follow the instructions in zlib/README, Otherwise enter the zlib directory and follow the instructions in zlib/README,