From ad8cb4b90239b8495699bfe9f3852084ecf1f6fd Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 20 Jul 1998 20:58:58 +0000 Subject: (INSTALL): use += to define INSTALL instead of =, so that applications' INSTALL won't be overwritten --- include/makeinclude/rules.lib.GNU | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'include') 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 -- cgit v1.2.1