diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-09 03:15:18 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-09 03:15:18 +0000 |
commit | 1ce58ee90091d5b8539ff7e500e74d117665e20b (patch) | |
tree | a47f2e230a39e6acde4e51de2036c33ef94ccb62 | |
parent | f49262e42ec7e71d1f485636c02360ffc87779f7 (diff) |
Put in a disabled template for when gccld is replaced by the shell script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34076 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/gccld/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/gccld/Makefile b/tools/gccld/Makefile index 38261d913a..21adca217c 100644 --- a/tools/gccld/Makefile +++ b/tools/gccld/Makefile @@ -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 |