drop edinfo.inc into the objdir for src!=objdir builds.
authorChris Lattner <sabre@nondot.org>
Tue, 20 Jul 2010 18:53:27 +0000 (18:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Jul 2010 18:53:27 +0000 (18:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108886 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCDisassembler/Makefile

index e235f2df69899de40dd92b5b5ceb7b446df9c9a9..ad6cf4db094151bb36576b4c4558c61865a061e7 100644 (file)
@@ -13,9 +13,9 @@ BUILT_SOURCES = EDInfo.inc
 
 include $(LEVEL)/Makefile.common
 
-EDInfo.inc:    $(TBLGEN)
+$(ObjDir)/EDInfo.inc:  $(TBLGEN) $(ObjDir)/.dir
        $(Echo) "Building semantic information header"
-       $(Verb) $(TableGen) -o $(call SYSPATH, $@) -gen-enhanced-disassembly-header /dev/null
+       $(Verb) $(TableGen) -o $@ -gen-enhanced-disassembly-header /dev/null
 
 clean::
        -$(Verb) $(RM) -f EDInfo.inc