| Chris Lattner | b2d5757 | 2003-11-09 19:55:09 +0000 | [diff] [blame] | 1 | ##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===## |
| John Criswell | abe5cdc | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
| 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. |
| 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| Chris Lattner | b2d5757 | 2003-11-09 19:55:09 +0000 | [diff] [blame] | 9 | |
| Chris Lattner | 5ff2e05 | 2002-01-24 19:12:12 +0000 | [diff] [blame] | 10 | LEVEL = ../.. |
| 11 | |
| 12 | TOOLNAME = gccld |
| Chris Lattner | 28689ff | 2006-09-04 05:59:09 +0000 | [diff] [blame] | 13 | LINK_COMPONENTS = bcreader bcwriter ipo scalaropts ipa linker |
| Chris Lattner | 05a8970 | 2006-07-07 00:46:19 +0000 | [diff] [blame] | 14 | REQUIRES_EH := 1 |
| Chris Lattner | 5ff2e05 | 2002-01-24 19:12:12 +0000 | [diff] [blame] | 15 | |
| 16 | include $(LEVEL)/Makefile.common |
| Reid Spencer | 690a9f1 | 2007-02-09 03:15:18 +0000 | [diff] [blame^] | 17 | |
| 18 | ifdef DONT_USE_THIS |
| 19 | install-local:: $(PROJ_bindir)/gccld |
| 20 | |
| 21 | $(PROJ_bindir)/gccld : gccld.sh Makefile |
| 22 | $(Echo)Installing gccld shell script. |
| 23 | $(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@ |
| 24 | $(Verb)chmod 0755 $@ |
| 25 | |
| 26 | all-local:: $(ToolDir)/gccld |
| 27 | |
| 28 | $(ToolDir)/gccld : gccld.sh Makefile |
| 29 | $(Echo)Making $(ToolDir)/gccld shell script. |
| 30 | $(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@ |
| 31 | $(Verb)chmod 0755 $@ |
| 32 | |
| 33 | clean-local:: |
| 34 | $(Verb)$(RM) -f $(ToolDir)/gccld |
| 35 | endif |