Fix spelling and grammar in a comment.
[oota-llvm.git] / tools / gccld / Makefile
index 0ecc9e15d1cbe093b459222cfff5f08391724b46..b2d3f734356d4ae826b457211373f94614b48a90 100644 (file)
@@ -2,17 +2,28 @@
 # 
 #                     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 = gccld
-USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \
-          LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \
-          LLVMArchive.a LLVMBCReader LLVMBCWriter \
-          LLVMCore LLVMSupport.a LLVMSystem.a
-
 include $(LEVEL)/Makefile.common
+
+install-local:: $(PROJ_bindir)/gccld
+       
+$(PROJ_bindir)/gccld : gccld.sh Makefile
+       $(Echo) Installing gccld shell script.
+       $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
+       $(Verb) chmod 0755 $@
+
+all-local:: $(ToolDir)/gccld
+       
+$(ToolDir)/gccld : gccld.sh Makefile
+       $(Echo) Making $(ToolDir)/gccld shell script.
+       $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
+       $(Verb) chmod 0755 $@
+
+clean-local::
+       $(Verb)$(RM) -f $(ToolDir)/gccld