summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver/Makefile
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/lib/CompilerDriver/Makefile
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/lib/CompilerDriver/Makefile')
-rw-r--r--llvm/lib/CompilerDriver/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/llvm/lib/CompilerDriver/Makefile b/llvm/lib/CompilerDriver/Makefile
new file mode 100644
index 00000000000..e5bf3e10a79
--- /dev/null
+++ b/llvm/lib/CompilerDriver/Makefile
@@ -0,0 +1,19 @@
+##===- lib/CompilerDriver/Makefile -------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open
+# Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../..
+
+# We don't want this library to appear in `llvm-config --libs` output, so its
+# name doesn't start with "LLVM".
+
+LIBRARYNAME = CompilerDriver
+LINK_COMPONENTS = support system
+REQUIRES_EH := 1
+
+include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud