blob: 21adca217c02b5ce2781df86db7ba17b4d8b8696 [file] [log] [blame]
Chris Lattnerb2d57572003-11-09 19:55:09 +00001##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
John Criswellabe5cdc2003-10-20 22:29:16 +00002#
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 Lattnerb2d57572003-11-09 19:55:09 +00009
Chris Lattner5ff2e052002-01-24 19:12:12 +000010LEVEL = ../..
11
12TOOLNAME = gccld
Chris Lattner28689ff2006-09-04 05:59:09 +000013LINK_COMPONENTS = bcreader bcwriter ipo scalaropts ipa linker
Chris Lattner05a89702006-07-07 00:46:19 +000014REQUIRES_EH := 1
Chris Lattner5ff2e052002-01-24 19:12:12 +000015
16include $(LEVEL)/Makefile.common
Reid Spencer690a9f12007-02-09 03:15:18 +000017
18ifdef DONT_USE_THIS
19install-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
26all-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
33clean-local::
34 $(Verb)$(RM) -f $(ToolDir)/gccld
35endif