2009-05-18 17:01:26 -04:00
|
|
|
This demonstrates the use of PNG_USER_CONFIG and pngusr.h
|
|
|
|
|
2010-04-28 08:54:14 -04:00
|
|
|
The makefile builds a minimal read-only progressive decoder with
|
|
|
|
embedded libpng, zlib and your system's X library.
|
2009-05-18 17:01:26 -04:00
|
|
|
|
2010-04-28 08:54:14 -04:00
|
|
|
Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC
|
|
|
|
on the make command line.
|
2009-05-19 14:08:48 -04:00
|
|
|
|
|
|
|
Edit makefile if required, to find your X library and include files,
|
2009-05-18 17:01:26 -04:00
|
|
|
then
|
2011-05-07 11:52:49 -04:00
|
|
|
|
2010-04-28 08:54:14 -04:00
|
|
|
make ZLIBSRC=directory
|
2011-05-07 11:52:49 -04:00
|
|
|
|
2009-05-20 13:45:29 -04:00
|
|
|
If you prefer to use the shared libraries, go to contrib/gregbook
|
2011-05-07 11:52:49 -04:00
|
|
|
and build the rpng2-x application there.
|