[vmkit-commits] [vmkit] r120209 - /vmkit/trunk/Makefile.common.in

Nicolas Geoffray nicolas.geoffray at lip6.fr
Sat Nov 27 02:59:22 PST 2010


Author: geoffray
Date: Sat Nov 27 04:59:22 2010
New Revision: 120209

URL: http://llvm.org/viewvc/llvm-project?rev=120209&view=rev
Log:
Clean up how we tell llvm that there are dependencies on .bc files by defining BYTECODE_LIBRARY before including llvm's Makefile.common.


Modified:
    vmkit/trunk/Makefile.common.in

Modified: vmkit/trunk/Makefile.common.in
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/Makefile.common.in?rev=120209&r1=120208&r2=120209&view=diff
==============================================================================
--- vmkit/trunk/Makefile.common.in (original)
+++ vmkit/trunk/Makefile.common.in Sat Nov 27 04:59:22 2010
@@ -18,6 +18,12 @@
 # Set the root directory of this project's install prefix
 PROJ_INSTALL_ROOT := @prefix@
 
+# Define BYTECODE_LIBRARY before including LLVM's Makefile.common to get
+# dependencies right.
+ifeq ($(WITH_LLVM_GCC), 1)
+  BYTECODE_LIBRARY = 1
+endif
+
 # Include LLVM's Master Makefile.
 include $(LLVM_OBJ_ROOT)/Makefile.common
 
@@ -38,9 +44,3 @@
 endif
 
 include $(PROJ_SRC_ROOT)/Makefile.rules
-
-ifndef DISABLE_AUTO_DEPENDENCIES
-ifndef IS_CLEANING_TARGET
--include $(DependSourceFiles:%=$(PROJ_OBJ_DIR)/$(BuildMode)/%.bc.d)
-endif
-endif





More information about the vmkit-commits mailing list