summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/plugins/Base
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-03-02 09:01:14 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-03-02 09:01:14 +0000
commit931d4521c33df446cf4f5a8ae168a8001556693f (patch)
tree21923e5f5c09631cbaf3159c5b790a96e6c8871b /llvm/tools/llvmc/plugins/Base
parent57359cad176d71f47203d5d486e2563e70dc58e0 (diff)
downloadbcm5719-llvm-931d4521c33df446cf4f5a8ae168a8001556693f.tar.gz
bcm5719-llvm-931d4521c33df446cf4f5a8ae168a8001556693f.zip
Reorganize llvmc code.
Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. llvm-svn: 65821
Diffstat (limited to 'llvm/tools/llvmc/plugins/Base')
-rw-r--r--llvm/tools/llvmc/plugins/Base/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvmc/plugins/Base/Makefile b/llvm/tools/llvmc/plugins/Base/Makefile
index 5ca6048508a..eb6ed010c6f 100644
--- a/llvm/tools/llvmc/plugins/Base/Makefile
+++ b/llvm/tools/llvmc/plugins/Base/Makefile
@@ -7,7 +7,9 @@
#
##===----------------------------------------------------------------------===##
+LEVEL = ../..
+
LLVMC_PLUGIN = Base
BUILT_SOURCES = AutoGenerated.inc
-include ../Makefile
+include $(LEVEL)/Makefile.llvmc
OpenPOWER on IntegriCloud