[libpng16] Revised INSTALL document.

This commit is contained in:
Glenn Randers-Pehrson 2014-10-24 22:11:11 -05:00
parent 4aa3f403f1
commit 67152e75e6

25
INSTALL
View File

@ -30,9 +30,15 @@ On Unix/Linux and similar systems, you can simply type
and ignore the rest of this document. "/path" is the path to the directory 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. Note that "configure" is only included in the "*.tar" subdirectories.
distributions and not in the "*.zip" or "*.7z" distributions. If you
downloaded one of those distributions, see "Building with makefiles", 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. below.
II. Rebuilding the configure scripts II. Rebuilding the configure scripts
@ -114,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,
@ -126,7 +131,7 @@ Your directory structure should look like this:
arm-neon, conftest, examples, gregbook, libtests, pngminim, arm-neon, conftest, examples, gregbook, libtests, pngminim,
pngminus, pngsuite, tools, visupng pngminus, pngsuite, tools, visupng
projects projects
cbuilder5, visualc71, owatcom, vstudio, xcode cbuilder5, owatcom, visualc71, vstudio, xcode
scripts scripts
makefile.* makefile.*
*.def (module definition files) *.def (module definition files)
@ -134,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
@ -147,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 vstudio 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,