diff options
Diffstat (limited to 'scripts/makefile.ne12bsd')
-rw-r--r-- | scripts/makefile.ne12bsd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/makefile.ne12bsd b/scripts/makefile.ne12bsd index 783e5d53d..b62204a39 100644 --- a/scripts/makefile.ne12bsd +++ b/scripts/makefile.ne12bsd @@ -17,7 +17,7 @@ INCSDIR=${LOCALBASE}/include/libpng16 LIB= png16 SHLIB_MAJOR= 0 -SHLIB_MINOR= 1.6.10 +SHLIB_MINOR= 1.6.11 SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ pngwtran.c pngmem.c pngerror.c pngpread.c @@ -26,6 +26,10 @@ MAN= libpng.3 libpngpf.3 png.5 CPPFLAGS+=-I${.CURDIR} +# Pre-built configuration +# See scripts/pnglibconf.mak for more options +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: # .if ${MACHINE_ARCH} == "i386" @@ -37,9 +41,8 @@ CLEANFILES+=pngtest.o pngtest pnglibconf.h .c.o: $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< -# see scripts/pnglibconf.mak for more options -pnglibconf.h: scripts/pnglibconf.h.prebuilt - cp scripts/pnglibconf.h.prebuilt $@ +pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) + cp $< $@ pngtest.o: pngtest.c ${CC} -c ${CPPFLAGS} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} |