diff options
author | Cosmin Truta <ctruta@gmail.com> | 2014-03-22 13:13:11 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-22 13:13:11 -0500 |
commit | 9ab7b4ca58e6c9be2b7c6ee602a9c5ebe47ac838 (patch) | |
tree | 6fe0c08357de0d41f263d2410f8bb5945c603b07 /scripts/makefile.freebsd | |
parent | ae6eaa89e5bdf2cc2239103a02978d0b61d916c0 (diff) | |
download | libpng-9ab7b4ca58e6c9be2b7c6ee602a9c5ebe47ac838.tar.gz |
[libpng16] Allow an easy replacement of the default pre-built configuration
header with a custom header, via the make PNGLIBCONF_H_PREBUILT
macro.
Diffstat (limited to 'scripts/makefile.freebsd')
-rw-r--r-- | scripts/makefile.freebsd | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/makefile.freebsd b/scripts/makefile.freebsd index 3add34aed..c0084354f 100644 --- a/scripts/makefile.freebsd +++ b/scripts/makefile.freebsd @@ -39,6 +39,10 @@ DPADD+= ${LIBM} ${LIBZ} CPPFLAGS+= -I. -I${ZLIBINC} CFLAGS+= -W -Wall +# Pre-built configuration +# See scripts/pnglibconf.mak for more options +PNGLIBCONF_H_PREBUILT= scripts/pnglibconf.h.prebuilt + 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 @@ -55,8 +59,7 @@ CLEANFILES= pngtest pngtest.o pngout.png test: pngtest ./pngtest -# see scripts/pnglibconf.mak for more options -pnglibconf.h: scripts/pnglibconf.h.prebuilt +pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) cp $< $@ DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO |