[llvm-commits] CVS: llvm/Makefile.rules
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 23 19:21:56 PDT 2005
Changes in directory llvm:
Makefile.rules updated: 1.331 -> 1.332
---
Log message:
Now that all libraries are built in either .o or .a form, make BUILD_ARCHIVE
default to turning off building of relinked objects.
---
Diffs of the changes: (+10 -2)
Makefile.rules | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.331 llvm/Makefile.rules:1.332
--- llvm/Makefile.rules:1.331 Sun Oct 23 20:15:14 2005
+++ llvm/Makefile.rules Sun Oct 23 21:21:45 2005
@@ -824,10 +824,18 @@
#---------------------------------------------------------
# ReLinked Library Targets:
-# If the user didn't explicitly forbid building a
-# relinked then we provide targets for building them.
+# If the user explicitly requests a relinked library with
+# BUILD_RELINKED, provide it. Otherwise, if they specify
+# neither of BUILD_ARCHIVE or DONT_BUILD_RELINKED, give
+# them one.
#---------------------------------------------------------
+ifndef BUILD_ARCHIVE
ifndef DONT_BUILD_RELINKED
+BUILD_RELINKED = 1
+endif
+endif
+
+ifdef BUILD_RELINKED
all-local:: $(LibName.O)
More information about the llvm-commits
mailing list