[llvm-commits] CVS: llvm/lib/Transforms/Hello/Makefile

Reid Spencer reid at x10sys.com
Mon Aug 7 16:12:36 PDT 2006



Changes in directory llvm/lib/Transforms/Hello:

Makefile updated: 1.5 -> 1.6
---
Log message:

For PR780: http://llvm.org/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.


---
Diffs of the changes:  (+1 -1)

 Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Hello/Makefile
diff -u llvm/lib/Transforms/Hello/Makefile:1.5 llvm/lib/Transforms/Hello/Makefile:1.6
--- llvm/lib/Transforms/Hello/Makefile:1.5	Mon Jan 10 22:33:32 2005
+++ llvm/lib/Transforms/Hello/Makefile	Mon Aug  7 18:12:15 2006
@@ -9,8 +9,8 @@
 
 LEVEL = ../../..
 LIBRARYNAME = LLVMHello
-SHARED_LIBRARY = 1
 LOADABLE_MODULE = 1
+USEDLIBS = LLVMSupport.a LLVMSystem.a
 
 include $(LEVEL)/Makefile.common
 






More information about the llvm-commits mailing list