[project @ 2002-01-23 17:51:46 by lewie]
authorlewie <unknown>
Wed, 23 Jan 2002 17:51:46 +0000 (17:51 +0000)
committerlewie <unknown>
Wed, 23 Jan 2002 17:51:46 +0000 (17:51 +0000)
Add special case for installing shared libs (which need the execute bit set).

mk/paths.mk
mk/target.mk

index bbcdd78..1ed2ed9 100644 (file)
@@ -47,12 +47,13 @@ endif
 SRC_INSTALL_OPTS += $(INSTALL_OWNER) $(INSTALL_GROUP)
 
 #
-# Invocations of `install' for the three different classes
+# Invocations of `install' for the four different classes
 # of targets:
 #
 
 INSTALL_PROGRAM = $(INSTALL) -m 755
 INSTALL_SCRIPT  = $(INSTALL) -m 755
+INSTALL_SHLIB   = $(INSTALL) -m 755
 INSTALL_DATA    = $(INSTALL) -m 644
 INSTALL_DIR     = $(FPTOOLS_TOP)/glafp-utils/mkdirhier/mkdirhier
 
index b773430..59f00ef 100644 (file)
@@ -839,6 +839,8 @@ install:: $(INSTALL_LIBS)
                    $(RANLIB) $(libdir)/`basename $$i` ;; \
                  *.dll) \
                    $(INSTALL_DATA) -s $(INSTALL_OPTS) $$i $(libdir) ;; \
+                 *.so) \
+                   $(INSTALL_SHLIB) $(INSTALL_OPTS) $$i $(libdir) ;; \
                  *) \
                    $(INSTALL_DATA) $(INSTALL_OPTS) $$i $(libdir); \
                esac; \