[llvm-commits] CVS: llvm/tools/gccld/Makefile
Reid Spencer
reid at x10sys.com
Thu Feb 8 19:15:34 PST 2007
Changes in directory llvm/tools/gccld:
Makefile updated: 1.17 -> 1.18
---
Log message:
Put in a disabled template for when gccld is replaced by the shell script.
---
Diffs of the changes: (+19 -0)
Makefile | 19 +++++++++++++++++++
1 files changed, 19 insertions(+)
Index: llvm/tools/gccld/Makefile
diff -u llvm/tools/gccld/Makefile:1.17 llvm/tools/gccld/Makefile:1.18
--- llvm/tools/gccld/Makefile:1.17 Mon Sep 4 00:59:09 2006
+++ llvm/tools/gccld/Makefile Thu Feb 8 21:15:18 2007
@@ -14,3 +14,22 @@
REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
+
+ifdef DONT_USE_THIS
+install-local:: $(PROJ_bindir)/gccld
+
+$(PROJ_bindir)/gccld : gccld.sh Makefile
+ $(Echo)Installing gccld shell script.
+ $(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+ $(Verb)chmod 0755 $@
+
+all-local:: $(ToolDir)/gccld
+
+$(ToolDir)/gccld : gccld.sh Makefile
+ $(Echo)Making $(ToolDir)/gccld shell script.
+ $(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+ $(Verb)chmod 0755 $@
+
+clean-local::
+ $(Verb)$(RM) -f $(ToolDir)/gccld
+endif
More information about the llvm-commits
mailing list