summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-08-07 23:12:15 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-08-07 23:12:15 +0000
commite6458c3fb23c2aa557cdd568c2533329b2667209 (patch)
tree397a8390263d5bb594aaa9b99cedcd16f9e40328 /llvm/lib/Transforms/Hello
parent1ee75ce65d37a52295cdc07f8378d3ccbd45c49a (diff)
downloadbcm5719-llvm-e6458c3fb23c2aa557cdd568c2533329b2667209.tar.gz
bcm5719-llvm-e6458c3fb23c2aa557cdd568c2533329b2667209.zip
For PR780:
1. Change the usage of LOADABLE_MODULE so that it implies all the things necessary to make a loadable module. This reduces the user's burdern to get a loadable module correctly built. 2. Document the usage of LOADABLE_MODULE in the MakefileGuide 3. Adjust the makefile for lib/Transforms/Hello to use the new specification for building loadable modules 4. Adjust the sample project to not attempt to build a shared library for its little library. This was just wasteful and not instructive at all. llvm-svn: 29551
Diffstat (limited to 'llvm/lib/Transforms/Hello')
-rw-r--r--llvm/lib/Transforms/Hello/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Hello/Makefile b/llvm/lib/Transforms/Hello/Makefile
index ccd9caff16a..606fcfedf53 100644
--- a/llvm/lib/Transforms/Hello/Makefile
+++ b/llvm/lib/Transforms/Hello/Makefile
@@ -9,8 +9,8 @@
LEVEL = ../../..
LIBRARYNAME = LLVMHello
-SHARED_LIBRARY = 1
LOADABLE_MODULE = 1
+USEDLIBS = LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common
OpenPOWER on IntegriCloud