X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d11a79a94c042921837cbd75e075ea18f87207d..7325e21c4fda06b0f4a2ea5fd72169bae06a0d19:/src/png/scripts/makefile.64sunu diff --git a/src/png/scripts/makefile.64sunu b/src/png/scripts/makefile.64sunu index 91ab359900..8ee4d56576 100644 --- a/src/png/scripts/makefile.64sunu +++ b/src/png/scripts/makefile.64sunu @@ -33,7 +33,7 @@ RANLIB=echo LIBNAME=libpng12 PNGMAJ = 0 -PNGMIN = 1.2.6 +PNGMIN = 1.2.7 PNGVER = $(PNGMAJ).$(PNGMIN) INCPATH=$(prefix)/include @@ -184,7 +184,17 @@ install-config: libpng-config install: install-static install-shared install-man install-config # If you installed in $(DESTDIR), test-installed won't work until you -# move the library to its final location. +# move the library to its final location. Use test-dd to test it +# before then. + +test-dd: + echo + echo Testing installed dynamic shared library in $(DL). + $(CC) $(SUN_CC_FLAGS) -I$(DI) -I$(ZLIBINC) \ + `$(BINPATH)/libpng12-config --cflags` pngtest.c \ + -o pngtestd -L$(DL) -R$(DL) `$(BINPATH)/libpng12-config --ldflags` \ + $(SUN_LD_FLAGS) -L$(ZLIBLIB) -R$(ZLIBLIB) + ./pngtestd pngtest.png test-installed: echo