mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
7ac4b04c60
llvm-svn: 110001
22 lines
648 B
Makefile
22 lines
648 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 $(ToolDir)/.dir
|
|
$(Echo) "Creating 'llvm-lit' script..."
|
|
$(Verb)sed -e "s#@LLVM_SOURCE_DIR@#$(LLVM_SRC_ROOT)#g" \
|
|
-e "s#@LLVM_BINARY_DIR@#$(LLVM_OBJ_ROOT)#g" \
|
|
$< > $@
|
|
$(Verb)chmod +x $@
|