Refactoring the x86 and x86-64 calling convention implementations,
[oota-llvm.git] / utils / TableGen / Makefile
index a9c235037e26c2958bf2f76124672d97a9154e3e..6e55c53df0ec200d62cfde50bd9349301e87b4f5 100644 (file)
@@ -1,23 +1,18 @@
+##===- 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
+NO_INSTALL = 1;
+USEDLIBS = LLVMSupport.a LLVMSystem.a
+REQUIRES_EH := 1
+REQUIRES_RTTI := 1
 
 include $(LEVEL)/Makefile.common
 
-clean::
-       -rm -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
-       -rm -f FileParser.output
-
-test::
-       $(TOOLEXENAME_G) < X86.td
-       # -parse
-
-       @echo "enum {"
-       @$(TOOLEXENAME_G) < X86.td -class=Register
-       @echo 
-       @echo "};"
-
-       @echo "enum {"
-       @$(TOOLEXENAME_G) < X86.td -class=Instruction
-       @echo 
-       @echo "};"