summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.lib.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 14:22:06 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-09-04 14:22:06 +0000
commit0a01d03fcae3a9e4c74fbe45a5aa18d466d44fb6 (patch)
treeb7bc664ea0643cc6af3ffd36ddcc2323198e61b5 /include/makeinclude/rules.lib.GNU
parent5703cfecd8a4f05b3f1c7e5f4b6af0fdd26c78c8 (diff)
downloadATCD-0a01d03fcae3a9e4c74fbe45a5aa18d466d44fb6.tar.gz
added INSTALL support for shared_libs_only and static_libs_only
Diffstat (limited to 'include/makeinclude/rules.lib.GNU')
-rw-r--r--include/makeinclude/rules.lib.GNU12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU
index 3e86132d6f3..d1fa9b69ace 100644
--- a/include/makeinclude/rules.lib.GNU
+++ b/include/makeinclude/rules.lib.GNU
@@ -37,8 +37,16 @@ endif
# Comment out for now...
# $(DEFS:%=$(INSINC)/%) \
-INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \
- $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT))
+ifdef shared_libs_only
+ INSTALL = $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT))
+else
+ifdef static_libs_only
+ INSTALL = $(VLIB:%.a=$(INSLIB)/%.a)
+else
+ INSTALL = $(VLIB:%.a=$(INSLIB)/%.a) \
+ $(VSHLIB:%.$(SOEXT)=$(INSLIB)/%.$(SOEXT))
+endif # static_libs_only
+endif # shared_libs_only
ifdef PRELIB
# Unfortunately, gcc has to do a link of all of the objects (during which