diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-04 14:22:06 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-04 14:22:06 +0000 |
commit | 0a01d03fcae3a9e4c74fbe45a5aa18d466d44fb6 (patch) | |
tree | b7bc664ea0643cc6af3ffd36ddcc2323198e61b5 /include | |
parent | 5703cfecd8a4f05b3f1c7e5f4b6af0fdd26c78c8 (diff) | |
download | ATCD-0a01d03fcae3a9e4c74fbe45a5aa18d466d44fb6.tar.gz |
added INSTALL support for shared_libs_only and static_libs_only
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/rules.lib.GNU | 12 |
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 |