fix the varargs version of StructType::get to not require an LLVMContext, making...
[oota-llvm.git] / utils / TableGen / Makefile
index 226fefa0e9f4853113767fc5f072e6021b6b0f4b..c01b6602faa37ca6ab15983958ab42ec9eb40e80 100644 (file)
@@ -1,27 +1,20 @@
+##===- utils/TableGen/Makefile -----------------------------*- Makefile -*-===##
+#
+#                     The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
 TOOLNAME = tblgen
-USEDLIBS = support.a
-
-include $(LEVEL)/Makefile.common
-
-clean::
-       -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
-       -rm -f FileParser.output
+USEDLIBS = LLVMSupport.a
+REQUIRES_EH := 1
+REQUIRES_RTTI := 1
 
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
 
-dump:: $(TOOLEXENAME_G)
-       $(TOOLEXENAME_G) < X86.td
-
-parse: $(TOOLEXENAME_G)
-       $(TOOLEXENAME_G) < X86.td -parse
-
-test:: $(TOOLEXENAME_G)
-       @echo "enum {"
-       @$(TOOLEXENAME_G) < X86.td -class=Register
-       @echo 
-       @echo "};"
+include $(LEVEL)/Makefile.common
 
-       @echo "enum {"
-       @$(TOOLEXENAME_G) < X86.td -class=Instruction
-       @echo 
-       @echo "};"