From e6458c3fb23c2aa557cdd568c2533329b2667209 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 7 Aug 2006 23:12:15 +0000 Subject: 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 --- llvm/lib/Transforms/Hello/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Hello') 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 -- cgit v1.2.3