X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fgccld%2FMakefile;h=b2d3f734356d4ae826b457211373f94614b48a90;hb=73b43b9b549a75fb0015c825df68abd95705a67c;hp=2c02ad9e7f55850cc03b2a8b5d5ec1d46a99e614;hpb=e7fca510f337be7fd32e037c6ea140350d7718a2;p=oota-llvm.git diff --git a/tools/gccld/Makefile b/tools/gccld/Makefile index 2c02ad9e7f5..b2d3f734356 100644 --- a/tools/gccld/Makefile +++ b/tools/gccld/Makefile @@ -1,6 +1,29 @@ -LEVEL = ../.. +##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## -TOOLNAME = gccld -USEDLIBS = transforms bcreader bcwriter asmwriter analysis vmcore asmwriter support +LEVEL = ../.. include $(LEVEL)/Makefile.common + +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