summaryrefslogtreecommitdiff
path: root/scripts/makefile.hp64
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-01-07 23:28:16 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2010-01-07 23:28:16 -0600
commitad1f8180a5b7c454f6a4b958fe232713b573b7ae (patch)
treeaa9485cb555903d64d50478b4ffd1bb7cc6a0032 /scripts/makefile.hp64
parente364f899af72bc6b7dc5c0b6d0f88c0470ff7837 (diff)
downloadlibpng-ad1f8180a5b7c454f6a4b958fe232713b573b7ae.tar.gz
[master] Updated makefiles to link to libpng14.so.14.1
Diffstat (limited to 'scripts/makefile.hp64')
-rw-r--r--scripts/makefile.hp6410
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/makefile.hp64 b/scripts/makefile.hp64
index b5debb7fc..cbefecaeb 100644
--- a/scripts/makefile.hp64
+++ b/scripts/makefile.hp64
@@ -25,6 +25,7 @@ PNGMAJ = 14
# Shared library names:
LIBSO=$(LIBNAME).sl
LIBSOMAJ=$(LIBNAME).sl.$(PNGMAJ)
+LIBSOREL=$(LIBSOMAJ).$(RELEASE)
OLDSO=libpng.sl
# Utilities:
@@ -132,14 +133,13 @@ install-static: install-headers libpng.a
install-shared: install-headers $(LIBSOMAJ) libpng.pc
-@if [ ! -d $(DL) ]; then $(MKDIR_P) $(DL); fi
-@$(RM_F) $(DL)/$(LIBSO)
- -@$(RM_F) $(DL)/$(LIBSOMAJ)
+ -@$(RM_F) $(DL)/$(LIBSOREL)
-@$(RM_F) $(DL)/$(OLDSO)
- cp $(LIBSOMAJ) $(DL)
- chmod 755 $(DL)/$(LIBSOMAJ)
+ cp $(LIBSOMAJ) $(DL)/$(LIBSOREL)
+ chmod 755 $(DL)/$(LIBSOREL)
(cd $(DL); \
- $(LN_SF) $(LIBSOMAJ) $(LIBSO); \
+ $(LN_SF) $(LIBSOREL) $(LIBSO); \
$(LN_SF) $(LIBSO) $(OLDSO))
-
-@if [ ! -d $(DL)/pkgconfig ]; then $(MKDIR_P) $(DL)/pkgconfig; fi
-@$(RM_F) $(DL)/pkgconfig/$(LIBNAME).pc
-@$(RM_F) $(DL)/pkgconfig/libpng.pc