[libpng10] Imported from libpng-1.0.29rc3.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-09-27 07:11:59 -05:00
parent 39acfab5bc
commit ad57dbb530
52 changed files with 223 additions and 136 deletions

View File

@@ -7,7 +7,7 @@
# Library name:
LIBNAME = libpng10
PNGMAJ = 0
PNGMIN = 1.0.29rc2
PNGMIN = 1.0.29rc3
PNGVER = $(PNGMAJ).$(PNGMIN)
# Shared library names:
@@ -92,8 +92,13 @@ libpng.a: $(OBJS)
$(RANLIB) $@
libpng.pc:
cat scripts/libpng.pc.in | sed -e s!@PREFIX@!$(prefix)! \
| sed -e "s!Cflags: !Cflags: -DPNG_NO_MMX_CODE !"> libpng.pc
cat scripts/libpng.pc.in | sed -e s!@prefix@!$(prefix)! \
-e s!@exec_prefix@!$(exec_prefix)! \
-e s!@libdir@!$(LIBPATH)! \
-e s!@includedir@!$(INCPATH)! \
-e s!@includedir@!$(INCPATH)! \
-e s!-lpng10!-lpng10\ -lz\ -lm! \
-e s!Cflags: !Cflags:\ -DPNG_NO_MMX_CODE!> libpng.pc
libpng-config:
( cat scripts/libpng-config-head.in; \