| 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 | # |
| Chris Lattner | 8fa21ac | 2007-12-29 20:07:17 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
| John Criswell | abe5cdc | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 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 | |
| Chris Lattner | 5ff2e05 | 2002-01-24 19:12:12 +0000 | [diff] [blame] | 12 | include $(LEVEL)/Makefile.common |
| Reid Spencer | 690a9f1 | 2007-02-09 03:15:18 +0000 | [diff] [blame] | 13 | |
| Reid Spencer | 690a9f1 | 2007-02-09 03:15:18 +0000 | [diff] [blame] | 14 | install-local:: $(PROJ_bindir)/gccld |
| 15 | |
| 16 | $(PROJ_bindir)/gccld : gccld.sh Makefile |
| Reid Spencer | bc73875 | 2007-02-10 15:14:00 +0000 | [diff] [blame] | 17 | $(Echo) Installing gccld shell script. |
| 18 | $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@ |
| 19 | $(Verb) chmod 0755 $@ |
| Reid Spencer | 690a9f1 | 2007-02-09 03:15:18 +0000 | [diff] [blame] | 20 | |
| 21 | all-local:: $(ToolDir)/gccld |
| 22 | |
| 23 | $(ToolDir)/gccld : gccld.sh Makefile |
| Reid Spencer | bc73875 | 2007-02-10 15:14:00 +0000 | [diff] [blame] | 24 | $(Echo) Making $(ToolDir)/gccld shell script. |
| 25 | $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@ |
| 26 | $(Verb) chmod 0755 $@ |
| Reid Spencer | 690a9f1 | 2007-02-09 03:15:18 +0000 | [diff] [blame] | 27 | |
| 28 | clean-local:: |
| 29 | $(Verb)$(RM) -f $(ToolDir)/gccld |