[llvm-commits] CVS: llvm/runtime/Makefile

Brian Gaeke gaeke at cs.uiuc.edu
Sun Nov 16 00:53:03 PST 2003


Changes in directory llvm/runtime:

Makefile updated: 1.8 -> 1.9

---
Log message:

As per PR96, don't build subdirs if LLVMGCCDIR is not set to something
reasonable, instead, print out a "LOUD warning".


---
Diffs of the changes:  (+10 -0)

Index: llvm/runtime/Makefile
diff -u llvm/runtime/Makefile:1.8 llvm/runtime/Makefile:1.9
--- llvm/runtime/Makefile:1.8	Mon Oct 20 17:28:45 2003
+++ llvm/runtime/Makefile	Sun Nov 16 00:51:53 2003
@@ -9,7 +9,17 @@
 # llvm/runtime Makefile:  Build all subdirectories automatically
 
 LEVEL = ..
+include $(LEVEL)/Makefile.config
+ifneq ($(wildcard $(LLVMGCCDIR)),)
 PARALLEL_DIRS  := $(sort $(filter-out Output/, $(filter-out CVS/, $(wildcard */))))
+else
+PARALLEL_DIRS  := 
+all ::
+	@echo '********' Warning: Your LLVMGCCDIR is set incorrectly.  Double-check 
+	@echo '********' Warning: llvm/Makefile.config to make sure it matches
+	@echo '********' Warning: the directory where the C front-end is installed,
+	@echo '********' Warning: and re-run configure if it does not.
+endif
 
 include $(LEVEL)/Makefile.common
 





More information about the llvm-commits mailing list