llvm-6502/utils/llvm-lit/Makefile
Bill Wendling 57b349390b --- Merging r127239 into '.':
U    test/Makefile
U    Makefile.rules
--- Merging r127240 into '.':
U    utils/llvm-lit/Makefile
--- Merging r127726 into '.':
U    lib/Support/raw_ostream.cpp
--- Merging r127730 into '.':
U    test/CodeGen/X86/dyn-stackalloc.ll



git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@128259 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-25 06:26:58 +00:00

23 lines
725 B
Makefile

##===- utils/llvm-lit/Makefile -----------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
include $(LEVEL)/Makefile.common
all:: $(ToolDir)/llvm-lit
$(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir
$(Echo) "Creating 'llvm-lit' script..."
$(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp
$(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp
$(Verb)sed -f lit.tmp $< > $@
$(Verb)chmod +x $@
$(Verb)rm -f lit.tmp