[llvm-commits] [llvm] r118207 - /llvm/trunk/Makefile.rules
Jim Grosbach
grosbach at apple.com
Wed Nov 3 16:46:01 PDT 2010
Author: grosbach
Date: Wed Nov 3 18:46:01 2010
New Revision: 118207
URL: http://llvm.org/viewvc/llvm-project?rev=118207&view=rev
Log:
Add rule to build MC'ized CodeEmitter.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=118207&r1=118206&r2=118207&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Wed Nov 3 18:46:01 2010
@@ -1721,6 +1721,11 @@
$(Echo) "Building $(<F) assembly matcher with tblgen"
$(Verb) $(TableGen) -gen-asm-matcher -o $(call SYSPATH, $@) $<
+$(TARGET:%=$(ObjDir)/%GenMCCodeEmitter.inc.tmp): \
+$(ObjDir)/%GenMCCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir
+ $(Echo) "Building $(<F) MC code emitter with tblgen"
+ $(Verb) $(TableGen) -gen-emitter -mc-emitter -o $(call SYSPATH, $@) $<
+
$(TARGET:%=$(ObjDir)/%GenCodeEmitter.inc.tmp): \
$(ObjDir)/%GenCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) code emitter with tblgen"
More information about the llvm-commits
mailing list