OSDN Git Service

Build system tweaks to make it more convenient for the plugin authors.
authorMikhail Glushenkov <foldr@codedgers.com>
Thu, 2 Oct 2008 21:15:05 +0000 (21:15 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Thu, 2 Oct 2008 21:15:05 +0000 (21:15 +0000)
commite4a5ea3130129124a9d88e5e27d8bcf26f147fa0
treed6e05c63cbcdec28213f5462d45b770dfa5cfcda
parent88ab90b4757e481b627bb61b0eaca5ed2aa22b4d
Build system tweaks to make it more convenient for the plugin authors.

Plugins can be now compiled in with a slight Makefile change.
For example, to compile the new Clang driver, use:

cd $LLVMC2_DIR
make TOOLNAME=ccc2 BUILTIN_PLUGINS=Clang

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56967 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CompilerDriver/Common.td [moved from tools/llvmc2/Common.td with 100% similarity]
include/llvm/CompilerDriver/Tools.td [moved from tools/llvmc2/Tools.td with 100% similarity]
tools/llvmc2/AutoGenerated.cpp [deleted file]
tools/llvmc2/Makefile
tools/llvmc2/plugins/Base/AutoGenerated.cpp [new file with mode: 0644]
tools/llvmc2/plugins/Base/Base.td [moved from tools/llvmc2/Graph.td with 95% similarity]
tools/llvmc2/plugins/Base/Makefile [new file with mode: 0644]
tools/llvmc2/plugins/Clang/AutoGenerated.cpp [new file with mode: 0644]
tools/llvmc2/plugins/Clang/Clang.td [moved from tools/llvmc2/examples/Clang.td with 93% similarity]
tools/llvmc2/plugins/Clang/Makefile [new file with mode: 0644]
tools/llvmc2/plugins/Hello/Makefile