[libpng17] Port recent changes from libpng16 branch:

Silence 'unused parameter' build warnings (Cosmin).
  $(CP) is now used alongside $(RM_F).  Also, use 'copy' instead
    of 'cp' where applicable, and applied other minor makefile changes.
  Don't warn about invalid dimensions exceeding user limits.
This commit is contained in:
Cosmin Truta
2014-03-22 11:09:18 -05:00
committed by Glenn Randers-Pehrson
parent 3a81956ffe
commit 1a9e897289
41 changed files with 155 additions and 77 deletions

View File

@@ -24,6 +24,7 @@ AR_RC=ar rc
MKDIR_P=mkdir -p
LN_SF=ln -sf
RANLIB=ranlib
CP=cp
RM_F=/bin/rm -f
# Where the zlib library and include files are located
@@ -83,7 +84,7 @@ all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config
# try include scripts/pnglibconf.mak for more options
pnglibconf.h: scripts/pnglibconf.h.prebuilt
cp scripts/pnglibconf.h.prebuilt $@
$(CP) $< $@
libpng.a: $(OBJS)
$(AR_RC) $@ $(OBJS)