diff options
Diffstat (limited to 'scripts/makefile.solaris')
-rw-r--r-- | scripts/makefile.solaris | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/makefile.solaris b/scripts/makefile.solaris index 813219966..879e6a46b 100644 --- a/scripts/makefile.solaris +++ b/scripts/makefile.solaris @@ -24,6 +24,7 @@ CC=gcc MKDIR_P=mkdir -p LN_SF=ln -f -s RANLIB=echo +CP=cp RM_F=/bin/rm -f # Where make install puts libpng.a, libpng16.so*, and png.h @@ -67,6 +68,10 @@ DI=$(DESTDIR)$(INCPATH) DL=$(DESTDIR)$(LIBPATH) DM=$(DESTDIR)$(MANPATH) +# Pre-built configuration +# See scripts/pnglibconf.mak for more options +PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt + OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ pngwtran.o pngmem.o pngerror.o pngpread.o @@ -83,9 +88,8 @@ OBJSDLL = $(OBJS:.o=.pic.o) all: libpng.a $(LIBSO) pngtest libpng.pc libpng-config -# see scripts/pnglibconf.mak for more options -pnglibconf.h: scripts/pnglibconf.h.prebuilt - cp scripts/pnglibconf.h.prebuilt $@ +pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) + $(CP) $< $@ libpng.a: $(OBJS) $(AR_RC) $@ $(OBJS) |