2004-10-29 23:26:09 +00:00
|
|
|
##===- tools/gccas/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
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2001-10-31 04:28:11 +00:00
|
|
|
LEVEL = ../..
|
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2007-02-02 15:50:58 +00:00
|
|
|
|
|
|
|
install-local:: $(PROJ_bindir)/gccas
|
|
|
|
|
2007-02-04 00:23:51 +00:00
|
|
|
$(PROJ_bindir)/gccas : gccas.sh Makefile
|
2007-02-10 15:14:00 +00:00
|
|
|
$(Echo) Installing gccas shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-02 15:50:58 +00:00
|
|
|
|
|
|
|
all-local:: $(ToolDir)/gccas
|
|
|
|
|
2007-02-04 00:23:51 +00:00
|
|
|
$(ToolDir)/gccas : gccas.sh Makefile
|
2007-02-10 15:14:00 +00:00
|
|
|
$(Echo) Making $(ToolDir)/gccas shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-02 15:50:58 +00:00
|
|
|
|
2007-02-03 16:09:12 +00:00
|
|
|
clean-local::
|
|
|
|
$(Verb)$(RM) -f $(ToolDir)/gccas
|