summaryrefslogtreecommitdiff
path: root/scripts/makefile.32sunu
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-11-24 14:40:36 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-11-24 14:49:01 -0600
commit7455cbf47e046e3d5ab0a6bd78b0b746c6cfd77b (patch)
tree63014547c8594700b572292b4dca65ed13998370 /scripts/makefile.32sunu
parent87fadd5eee23f72345ecf6ad40fdba5cc6470e4a (diff)
downloadlibpng-7455cbf47e046e3d5ab0a6bd78b0b746c6cfd77b.tar.gz
[libpng16] Update internal version numbering and SO-numbers
Diffstat (limited to 'scripts/makefile.32sunu')
-rw-r--r--scripts/makefile.32sunu10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/makefile.32sunu b/scripts/makefile.32sunu
index b5e5a33a0..f2195c147 100644
--- a/scripts/makefile.32sunu
+++ b/scripts/makefile.32sunu
@@ -9,8 +9,8 @@
# and license in png.h
# Library name:
-LIBNAME=libpng15
-PNGMAJ = 15
+LIBNAME=libpng16
+PNGMAJ = 16
# Shared library names:
LIBSO=$(LIBNAME).so
@@ -29,7 +29,7 @@ RM_F=/bin/rm -f
SUN_CC_FLAGS=-fast -xtarget=ultra
SUN_LD_FLAGS=-fast -xtarget=ultra
-# where make install puts libpng.a, libpng15.so and libpng15/png.h
+# where make install puts libpng.a, libpng16.so and libpng16/png.h
prefix=/a
exec_prefix=$(prefix)
@@ -95,7 +95,7 @@ libpng.pc:
-e s!@exec_prefix@!$(exec_prefix)! \
-e s!@libdir@!$(LIBPATH)! \
-e s!@includedir@!$(INCPATH)! \
- -e s!-lpng15!-lpng15\ -lz\ -lm! > libpng.pc
+ -e s!-lpng16!-lpng16\ -lz\ -lm! > libpng.pc
libpng-config:
( cat scripts/libpng-config-head.in; \
@@ -106,7 +106,7 @@ libpng-config:
echo R_opts=\"-R$(LIBPATH)\"; \
echo ccopts=\"-xtarget=ultra\"; \
echo ldopts=\"-xtarget=ultra\"; \
- echo libs=\"-lpng15 -lz -lm\"; \
+ echo libs=\"-lpng16 -lz -lm\"; \
cat scripts/libpng-config-body.in ) > libpng-config
chmod +x libpng-config