]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/scripts/makefile.solaris
undef GTK_DISABLE_DEPRECATED for any gtk+ version, as it turns out we use GtkList...
[wxWidgets.git] / src / png / scripts / makefile.solaris
index db2fc1cda617a6d708b0b93a439f549e3048e86a..8455c33f6d90b3bc1fbd0abfc541ff5787838c78 100644 (file)
@@ -30,7 +30,7 @@ LDFLAGS=-L. -R. -L$(ZLIBLIB) -R$(ZLIBLIB) -lpng12 -lz -lm
 RANLIB=echo
 
 PNGMAJ = 0
-PNGMIN = 1.2.6
+PNGMIN = 1.2.7
 PNGVER = $(PNGMAJ).$(PNGMIN)
 LIBNAME = libpng12
 
@@ -179,7 +179,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) -I$(DI) -I$(ZLIBINC) \
+          `$(BINPATH)/libpng12-config --cflags` pngtest.c \
+          -o pngtestd `$(BINPATH)/libpng12-config --ldflags` \
+          -L$(DL) -L$(ZLIBLIB) -R$(ZLIBLIB) -R$(DL)
+       ./pngtestd pngtest.png
 
 test-installed:
        echo