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