Put in a disabled template for when gccld is replaced by the shell script.

llvm-svn: 34076
This commit is contained in:
Reid Spencer 2007-02-09 03:15:18 +00:00
parent 7eca5e3d19
commit 690a9f105f
1 changed files with 19 additions and 0 deletions

View File

@ -14,3 +14,22 @@ LINK_COMPONENTS = bcreader bcwriter ipo scalaropts ipa linker
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