summaryrefslogtreecommitdiff
path: root/scripts/makefile.sco
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makefile.sco')
-rw-r--r--scripts/makefile.sco14
1 files changed, 12 insertions, 2 deletions
diff --git a/scripts/makefile.sco b/scripts/makefile.sco
index 954858507..61ace9f9f 100644
--- a/scripts/makefile.sco
+++ b/scripts/makefile.sco
@@ -24,7 +24,7 @@ LDFLAGS=-L. -L$(ZLIBLIB) -lpng10 -lz -lm
RANLIB=echo
PNGMAJ = 0
-PNGMIN = 1.0.16
+PNGMIN = 1.0.17
PNGVER = $(PNGMAJ).$(PNGMIN)
LIBNAME = libpng10
@@ -162,7 +162,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) $(CFLAGS) \
+ `$(BINPATH)/libpng10-config --cflags` pngtest.c \
+ -L$(DL) -L$(ZLIBLIB) \
+ -o pngtestd `$(BINPATH)/libpng10-config --ldflags`
+ ./pngtestd pngtest.png
test-installed:
$(CC) $(CFLAGS) \