[llvm-commits] CVS: llvm/Makefile.rules

Chris Lattner lattner at cs.uiuc.edu
Sun Sep 3 21:50:24 PDT 2006



Changes in directory llvm:

Makefile.rules updated: 1.401 -> 1.402
---
Log message:

Make LINK_COMPONENTS interact well with make clean


---
Diffs of the changes:  (+3 -1)

 Makefile.rules |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.401 llvm/Makefile.rules:1.402
--- llvm/Makefile.rules:1.401	Sun Sep  3 23:47:21 2006
+++ llvm/Makefile.rules	Sun Sep  3 23:50:10 2006
@@ -707,10 +707,12 @@
 LLVMLibsPaths   := $(addprefix $(LLVMLibDir)/,$(LLVMUsedLibs))
 endif
 
+ifneq ($(strip($(filter-out clean clean-local dist-clean,$(MAKECMDGOALS)))),)
 ifdef LINK_COMPONENTS
 ProjLibsOptions := $(shell $(LLVM_CONFIG) --libs     $(LINK_COMPONENTS))
 ProjLibsPaths   := $(shell $(LLVM_CONFIG) --libfiles $(LINK_COMPONENTS))
 endif
+endif
 
 ###############################################################################
 # Library Build Rules: Four ways to build a library
@@ -1415,7 +1417,7 @@
 ifndef DISABLE_AUTO_DEPENDENCIES
 
 # If its not one of the cleaning targets
-ifneq ($strip($(filter-out clean clean-local dist-clean,$(MAKECMDGOALS))),)
+ifneq ($(strip($(filter-out clean clean-local dist-clean,$(MAKECMDGOALS)))),)
 
 # Get the list of dependency files
 DependFiles := $(basename $(filter %.cpp %.c %.cc, $(Sources)))






More information about the llvm-commits mailing list