Index: utils/make-banner.sh =================================================================== --- utils/make-banner.sh (revision 0) +++ utils/make-banner.sh (revision 0) @@ -0,0 +1,232 @@ +#!/bin/sh +##===- utils/make-banner.sh - Makefile banner support --------*- Script -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +# +# This script is used to emit brief target banners from makefiles. +# +# Invoke with -help for usage. +# +# Usage example 1: +# make-banner.sh -prefix "llvm[0]:" Compiling -in Foo.cpp for Debug build +# +# Usage example 2: +# make-banner.sh \ +# -prefix "llvm[0]:" \ +# -bold -note "CXX=clang++" \ +# -note "comes before suffix" \ +# -suffix "(last stuff)" \ +# Compiling -in "Filename with space.cpp" for Debug build +# +##===----------------------------------------------------------------------===## + +usage() +{ +cat<