Plugin new subtarget backend into the build.
[oota-llvm.git] / Makefile.rules
index 8c550e911da22632889126f5f26804c05bdfa5ee..4b759e6b490ee7157029e1e45ef7a72647001f45 100644 (file)
@@ -1162,6 +1162,10 @@ $(ObjDir)/%GenDAGISel.inc.tmp : %.td $(ObjDir)/.dir
        $(Echo) "Building $(<F) instruction selector implementation with tblgen"
        $(Verb) $(TableGen) -gen-dag-isel -o $@ $<
 
+$(TARGET:%=$(ObjDir)/%GenSubtarget.inc.tmp): \
+$(ObjDir)/%GenSubtarget.inc.tmp : %.td $(ObjDir)/.dir
+       $(Echo) "Building $(<F) subtarget information with tblgen"
+       $(Verb) $(TableGen) -gen-subtarget -o $@ $<
 
 clean-local::
        -$(Verb) $(RM) -f $(INCFiles)