[llvm-commits] CVS: llvm/projects/sample/lib/sample/Makefile
Reid Spencer
reid at x10sys.com
Mon Aug 7 16:12:36 PDT 2006
Changes in directory llvm/projects/sample/lib/sample:
Makefile updated: 1.7 -> 1.8
---
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: (+2 -4)
Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Index: llvm/projects/sample/lib/sample/Makefile
diff -u llvm/projects/sample/lib/sample/Makefile:1.7 llvm/projects/sample/lib/sample/Makefile:1.8
--- llvm/projects/sample/lib/sample/Makefile:1.7 Wed May 31 20:55:21 2006
+++ llvm/projects/sample/lib/sample/Makefile Mon Aug 7 18:12:15 2006
@@ -9,10 +9,8 @@
# Give the name of a library. This will build a dynamic version.
#
LIBRARYNAME=sample
-SHARED_LIBRARY=1
-LOADABLE_MODULE=1
-#DONT_BUILD_RELINKED=1
-#ARCHIVE_LIBRARY=1
+DONT_BUILD_RELINKED=1
+BUILD_ARCHIVE=1
#
# Include Makefile.common so we know what to do.
More information about the llvm-commits
mailing list