Teach InlineFunction how to differentiate between multiple-value
[oota-llvm.git] / tools / gccas / Makefile
index 1f62ade4ed2e1f7856ffd4051e133a926054e593..ff84d967798eb84a65e74aa4af08cb7bbb66df82 100644 (file)
@@ -2,16 +2,27 @@
 # 
 #                     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 is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
 LEVEL = ../..
 
-TOOLNAME = gccas
-USEDLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMTransforms.a LLVMipo.a LLVMipa.a \
-           LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils.a \
-           LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a
-REQUIRES_EH := 1
-
 include $(LEVEL)/Makefile.common
+
+install-local:: $(PROJ_bindir)/gccas
+       
+$(PROJ_bindir)/gccas : gccas.sh Makefile
+       $(Echo) Installing gccas shell script.
+       $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+       $(Verb) chmod 0755 $@
+
+all-local:: $(ToolDir)/gccas
+       
+$(ToolDir)/gccas : gccas.sh Makefile
+       $(Echo) Making $(ToolDir)/gccas shell script.
+       $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+       $(Verb) chmod 0755 $@
+
+clean-local::
+       $(Verb)$(RM) -f $(ToolDir)/gccas