summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-20 20:58:58 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-20 20:58:58 +0000
commit63b73ff4e95e5d556982dfe655ebfdbffef14574 (patch)
treea82ca7df63c29270cfbccb634773342634ccf92c /include
parent621eed2ddfcc28b979fa0860514f169e2fabd417 (diff)
downloadATCD-63b73ff4e95e5d556982dfe655ebfdbffef14574.tar.gz
(INSTALL): use += to define INSTALL instead of =, so that applications' INSTALL won't be overwritten
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/rules.lib.GNU19
1 files changed, 10 insertions, 9 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU
index f34fb25b877..73af29f84fe 100644
--- a/include/makeinclude/rules.lib.GNU
+++ b/include/makeinclude/rules.lib.GNU
@@ -1,9 +1,9 @@
#----------------------------------------------------------------------------
-# $Id$
+# $Id$
#
-# Build libraries (i.e., contain no binary executables)
-# GNU version
-# Requires GNU make
+# Build libraries (i.e., contain no binary executables)
+# GNU version
+# Requires GNU make
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
@@ -42,13 +42,14 @@ endif
# $(DEFS:%=$(INSINC)/%) \
ifdef shared_libs_only
- INSTALL = $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number))
+ INSTALL += \
+ $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number))
else
ifdef static_libs_only
- INSTALL = $(VLIB:%.a=$(INSLIB)/%.a)
+ INSTALL += $(VLIB:%.a=$(INSLIB)/%.a)
else
- INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \
- $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number))
+ INSTALL += $(VLIB:%.a=$(INSLIB)/%.a) \
+ $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT)$(ACE_LDSO_Version_Number))
endif # static_libs_only
endif # shared_libs_only
@@ -73,7 +74,7 @@ endif
# $(SOLINK.cc) -o $@ $(LDFLAGS) $(VSHDIR)*.o
# Uncomment the remaining lines if you want to build both *.a and *.so libraries...
-VLIB = $(LIB:%.a=%$(VAR).a)
+VLIB = $(LIB:%.a=%$(VAR).a)
$(VLIB): $(VLOBJS)
ifdef PRELIB