summaryrefslogtreecommitdiff
path: root/tools/gccas/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-02 15:50:58 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-02 15:50:58 +0000
commitbd70c0b06e5c96c5149f4b28eef7832b00516d32 (patch)
treead9cb9b71ca1e6f1a072192aa3623c4de3e13222 /tools/gccas/Makefile
parent74ed997d527d35d27690feb5c648489c638947c9 (diff)
downloadllvm-bd70c0b06e5c96c5149f4b28eef7832b00516d32.tar.gz
llvm-bd70c0b06e5c96c5149f4b28eef7832b00516d32.tar.bz2
llvm-bd70c0b06e5c96c5149f4b28eef7832b00516d32.tar.xz
For PR1152:
Step 2: Make plug compatible shell script to replace gccas binary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/Makefile')
-rw-r--r--tools/gccas/Makefile19
1 files changed, 13 insertions, 6 deletions
diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile
index 8664354195..d1dd6269be 100644
--- a/tools/gccas/Makefile
+++ b/tools/gccas/Makefile
@@ -2,14 +2,21 @@
#
# The LLVM Compiler Infrastructure
#
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
-TOOLNAME = gccas
-LINK_COMPONENTS = asmparser bcwriter scalaropts ipo ipa transforms
-REQUIRES_EH := 1
-
include $(LEVEL)/Makefile.common
+
+install-local:: $(PROJ_bindir)/gccas
+
+$(PROJ_bindir)/gccas : gccas.sh
+ sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+
+all-local:: $(ToolDir)/gccas
+
+$(ToolDir)/gccas : gccas.sh
+ sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+