diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2004-08-25 22:00:45 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2009-04-06 16:07:54 -0500 |
commit | a4981d4dedba8d03fae845286d411237bd5adc04 (patch) | |
tree | 65edace7d4b51124a848770be7250576b1d0fbb5 /scripts/makefile.32sunu | |
parent | 37f116a9005ea5f082a7c4ce6ec6854b01d4b02d (diff) | |
download | libpng-a4981d4dedba8d03fae845286d411237bd5adc04.tar.gz |
Imported from libpng-1.2.7beta1.tarv1.2.7beta1
Diffstat (limited to 'scripts/makefile.32sunu')
-rw-r--r-- | scripts/makefile.32sunu | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/scripts/makefile.32sunu b/scripts/makefile.32sunu index bda63ad7f..c560372c6 100644 --- a/scripts/makefile.32sunu +++ b/scripts/makefile.32sunu @@ -33,7 +33,7 @@ RANLIB=echo LIBNAME=libpng12 PNGMAJ = 0 -PNGMIN = 1.2.6 +PNGMIN = 1.2.7beta1 PNGVER = $(PNGMAJ).$(PNGMIN) INCPATH=$(prefix)/include @@ -183,7 +183,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 |