1 ##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
13 LINK_COMPONENTS = bcreader bcwriter ipo scalaropts ipa linker
16 include $(LEVEL)/Makefile.common
19 install-local:: $(PROJ_bindir)/gccld
21 $(PROJ_bindir)/gccld : gccld.sh Makefile
22 $(Echo)Installing gccld shell script.
23 $(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
26 all-local:: $(ToolDir)/gccld
28 $(ToolDir)/gccld : gccld.sh Makefile
29 $(Echo)Making $(ToolDir)/gccld shell script.
30 $(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
34 $(Verb)$(RM) -f $(ToolDir)/gccld