make the asm matcher emitter reject instructions that have comments
[oota-llvm.git] / utils / TableGen / Makefile
index 2bb9766f55003f5c8a13154cb42b3a1bbc72f639..f27cd995783e71bfd38df3559f8ba05b86224c31 100644 (file)
@@ -1,24 +1,20 @@
 ##===- utils/TableGen/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 = tblgen
 USEDLIBS = LLVMSupport.a LLVMSystem.a
+REQUIRES_EH := 1
+REQUIRES_RTTI := 1
 
-include $(LEVEL)/Makefile.common
+# This tool has no plugins, optimize startup time.
+TOOL_NO_EXPORTS = 1
 
-#
-# Make the source file depend on the header file.  In this way, dependencies
-# (which depend on the source file) won't get generated until bison is done
-# generating the C source and header files for the parser.
-#
-FileLexer.cpp: FileParser.h
+include $(LEVEL)/Makefile.common
 
-clean::
-       $(Verb) $(RM) -f FileParser.cpp FileParser.h FileLexer.cpp CommandLine.cpp
-       $(Verb) $(RM) -f FileParser.output