Push LLVMContext through GlobalVariables and IRBuilder.
[oota-llvm.git] / tools / llvmc / Makefile
index 0839bc0daa126629ca5868ba8255e8ee0d623edc..df91728ea360251779c0a2b34ae4790c727da6f7 100644 (file)
@@ -1,22 +1,17 @@
 ##===- tools/llvmc/Makefile --------------------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
-# 
+# This file is distributed under the University of Illinois Open
+# Source License. See LICENSE.TXT for details.
+#
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
-TOOLNAME = llvmc
-USEDLIBS = LLVMBCReader LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
-CONFIG_FILES = c cpp ll st 
-EXTRA_DIST = c cpp ll st
 
-include $(LEVEL)/Makefile.common
+export LLVMC_BASED_DRIVER_NAME = llvmc
+export LLVMC_BUILTIN_PLUGINS = Base Clang
+
+DIRS = plugins driver
 
-install::
-       @$(ECHO) Installing additional C++ configuration clones
-       $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cc
-       $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/c++
-       $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cxx
-       $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/C
+include $(LEVEL)/Makefile.common