Minor cleanup related to my latest scheduler changes.
[oota-llvm.git] / tools / llvmc / Makefile
index 20ef0defef70bd115b09578a01c72f250d5738e0..7c03e2a74f7c6b2f97161a0cf1e1103c5ac79899 100644 (file)
@@ -1,15 +1,18 @@
 ##===- 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 LLVMSystem.a
-CONFIG_FILES = c cpp ll st 
-EXTRA_DIST = c cpp ll st
+
+DIRS = src
+
+ifeq ($(BUILD_EXAMPLES),1)
+  OPTIONAL_DIRS += examples
+endif
 
 include $(LEVEL)/Makefile.common