summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-23 19:21:31 +0000
committerChris Lattner <sabre@nondot.org>2002-07-23 19:21:31 +0000
commitedf1f23e539e25e96d96995ca863b1bf1577df06 (patch)
tree343055804a1c3e4ea0661945156cef6dd5d2abde /Makefile.common
parente58a01fc5d1cfe0da5d00b55aabf0454e66eca75 (diff)
downloadllvm-edf1f23e539e25e96d96995ca863b1bf1577df06.tar.gz
llvm-edf1f23e539e25e96d96995ca863b1bf1577df06.tar.bz2
llvm-edf1f23e539e25e96d96995ca863b1bf1577df06.tar.xz
Allow directories to specify that they want to be built as a shared object by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 46d18c6189..aef05750ac 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -29,6 +29,11 @@
#ENABLE_PURIFY = 1
#ENABLE_OPTIMIZED = 1
+ifdef SHARED_LIBRARY
+# if SHARED_LIBRARY is specified, the default is to build the dynamic lib
+dynamic ::
+endif
+
# Default Rule: Make sure it's also a :: rule
all ::