Mercurial > hg > CbC > CbC_llvm
comparison utils/llvm-lit/Makefile @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | e4204d083e25 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ##===- utils/llvm-lit/Makefile -----------------------------*- Makefile -*-===## | |
2 # | |
3 # The LLVM Compiler Infrastructure | |
4 # | |
5 # This file is distributed under the University of Illinois Open Source | |
6 # License. See LICENSE.TXT for details. | |
7 # | |
8 ##===----------------------------------------------------------------------===## | |
9 | |
10 LEVEL = ../.. | |
11 | |
12 include $(LEVEL)/Makefile.common | |
13 | |
14 all:: $(ToolDir)/llvm-lit | |
15 | |
16 $(ToolDir)/llvm-lit: llvm-lit.in Makefile $(ToolDir)/.dir | |
17 $(Echo) "Creating 'llvm-lit' script..." | |
18 $(Verb)$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp | |
19 $(Verb)$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp | |
20 $(Verb)sed -f lit.tmp $< > $@ | |
21 $(Verb)chmod +x $@ | |
22 $(Verb)rm -f lit.tmp |