[libpng15] Eliminated use of "$<" when copying $PNGLIBCONF_H_PREBUILT

in makefiles. This does not work on some versions of make; bug introduced
in libpng version 1.5.19beta03.
This commit is contained in:
Glenn Randers-Pehrson
2014-08-07 20:27:46 -05:00
parent cdc0ed8424
commit 7de192f1e7
31 changed files with 51 additions and 45 deletions

View File

@@ -28,7 +28,7 @@ CPPFLAGS+=-I${.CURDIR}
# Pre-built configuration
# See scripts/pnglibconf.mak for more options
PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
PNGLIBCONF_H_PREBUILT= scripts/pnglibconf.h.prebuilt
# We should be able to do something like this instead of the manual
# uncommenting, but it core dumps for me at the moment:
@@ -42,7 +42,7 @@ CLEANFILES+=pngtest.o pngtest pnglibconf.h
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
cp $< $@
cp $(PNGLIBCONF_H_PREBUILT) $@
pngtest.o: pngtest.c
${CC} -c ${CPPFLAGS} ${CFLAGS} ${.ALLSRC} -o ${.TARGET}