summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-04-30 20:04:53 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-04-30 20:04:53 +0000
commit24d9d974acac65a3ab02e234dd542e1bfeba8166 (patch)
treebd794702b4e3a9eceb83f13e86a8dee60d8dc74b /Makefile.rules
parentdb3f95770e74c10acae4d59627dd8e965c9328cb (diff)
downloadllvm-24d9d974acac65a3ab02e234dd542e1bfeba8166.tar.gz
llvm-24d9d974acac65a3ab02e234dd542e1bfeba8166.tar.bz2
llvm-24d9d974acac65a3ab02e234dd542e1bfeba8166.tar.xz
Add new NO_INSTALL_ARCHIVES make variable, to suppress install of .a files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ba4fd3a30e..4ab9ecbbd2 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1234,6 +1234,11 @@ install-local::
$(Echo) Install circumvented with NO_INSTALL
uninstall-local::
$(Echo) Uninstall circumvented with NO_INSTALL
+else ifdef NO_INSTALL_ARCHIVES
+install-local::
+ $(Echo) Install circumvented with NO_INSTALL
+uninstall-local::
+ $(Echo) Uninstall circumvented with NO_INSTALL
else
DestArchiveLib := $(DESTDIR)$(PROJ_libdir)/lib$(LIBRARYNAME).a