2003-11-09 20:55:09 +01:00
|
|
|
##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
|
2003-10-21 00:29:16 +02:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 21:07:17 +01:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 00:29:16 +02:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2003-11-09 20:55:09 +01:00
|
|
|
|
2002-01-24 20:12:12 +01:00
|
|
|
LEVEL = ../..
|
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2007-02-09 04:15:18 +01:00
|
|
|
|
|
|
|
install-local:: $(PROJ_bindir)/gccld
|
|
|
|
|
|
|
|
$(PROJ_bindir)/gccld : gccld.sh Makefile
|
2007-02-10 16:14:00 +01:00
|
|
|
$(Echo) Installing gccld shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-09 04:15:18 +01:00
|
|
|
|
|
|
|
all-local:: $(ToolDir)/gccld
|
|
|
|
|
|
|
|
$(ToolDir)/gccld : gccld.sh Makefile
|
2007-02-10 16:14:00 +01:00
|
|
|
$(Echo) Making $(ToolDir)/gccld shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-09 04:15:18 +01:00
|
|
|
|
|
|
|
clean-local::
|
|
|
|
$(Verb)$(RM) -f $(ToolDir)/gccld
|