diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-20 20:58:58 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-07-20 20:58:58 +0000 |
commit | ad8cb4b90239b8495699bfe9f3852084ecf1f6fd (patch) | |
tree | a82ca7df63c29270cfbccb634773342634ccf92c /include | |
parent | 6ad123dd8e768da743ca1aa944c5a1c06aa5d85a (diff) | |
download | ATCD-ad8cb4b90239b8495699bfe9f3852084ecf1f6fd.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.GNU | 19 |
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 |