# Get the source for the pngminus application cp ../../pngminus/png2pnm.c pngm2pnm.c # Get the libpng sources cp ../../../*.h . cp ../../../*.c . # Get the libpng scripts for building pnglibconf.h cp ../../../scripts/options.awk . cp ../../../scripts/pnglibconf.dfa . sed -e "s:scripts/::g" ../../../scripts/pnglibconf.mak > pnglibconf.mak #14+% # Remove libpng sources we won't use rm example.c pngtest.c pngpread.c pngw*.c # Get the zlib sources # Change the following 2 lines if zlib is somewhere else cp ../../../../zlib/*.h . cp ../../../../zlib/*.c . # Remove zlib sources we won't use rm minigzip.c example.c compress.c deflate.c gz*