fix Transforms/Inline/2007-06-25-WeakInline.ll by not inlining functions
[oota-llvm.git] / tools / gccas / Makefile
index e67f3adbf7f53e0bcd58168c45dca5ff7552a75c..1dc7ecd80e6ed01b1c03b0cb935751cc80e2e7e1 100644 (file)
@@ -1,16 +1,28 @@
-##===- tools/gccas/Makefile ------------------------------*- Makefile -*-===##
+##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
 # 
 #                     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
-USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
-          LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
-          LLVMCore LLVMSupport.a LLVMSystem.a
-
 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