OLD | NEW |
1 # The following variables will likely need to be modified, depending on where | 1 # The following variables will likely need to be modified, depending on where |
2 # and how you built LLVM & Clang. They can be overridden in a command-line | 2 # and how you built LLVM & Clang. They can be overridden in a command-line |
3 # invocation of make, like: | 3 # invocation of make, like: |
4 # | 4 # |
5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> ... | 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> ... |
6 # | 6 # |
7 | 7 |
8 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 8 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
9 # directory should contain the configure script, the include/ and lib/ | 9 # directory should contain the configure script, the include/ and lib/ |
10 # directories of LLVM, Clang in tools/clang/, etc. | 10 # directories of LLVM, Clang in tools/clang/, etc. |
(...skipping 29 matching lines...) Expand all Loading... |
40 IceGlobalContext.cpp \ | 40 IceGlobalContext.cpp \ |
41 IceInst.cpp \ | 41 IceInst.cpp \ |
42 IceInstX8632.cpp \ | 42 IceInstX8632.cpp \ |
43 IceIntrinsics.cpp \ | 43 IceIntrinsics.cpp \ |
44 IceLiveness.cpp \ | 44 IceLiveness.cpp \ |
45 IceOperand.cpp \ | 45 IceOperand.cpp \ |
46 IceRegAlloc.cpp \ | 46 IceRegAlloc.cpp \ |
47 IceTargetLowering.cpp \ | 47 IceTargetLowering.cpp \ |
48 IceTargetLoweringX8632.cpp \ | 48 IceTargetLoweringX8632.cpp \ |
49 IceTranslator.cpp \ | 49 IceTranslator.cpp \ |
| 50 IceTypeConverter.cpp \ |
50 IceTypes.cpp \ | 51 IceTypes.cpp \ |
51 llvm2ice.cpp \ | 52 llvm2ice.cpp \ |
52 PNaClTranslator.cpp | 53 PNaClTranslator.cpp |
53 | 54 |
54 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) | 55 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) |
55 | 56 |
56 # Keep all the first target so it's the default. | 57 # Keep all the first target so it's the default. |
57 all: llvm2ice | 58 all: llvm2ice |
58 | 59 |
59 .PHONY: all | 60 .PHONY: all |
(...skipping 29 matching lines...) Expand all Loading... |
89 CLANG_FORMAT_DIFF = clang-format-diff.py | 90 CLANG_FORMAT_DIFF = clang-format-diff.py |
90 else | 91 else |
91 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 92 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
92 endif | 93 endif |
93 format-diff: | 94 format-diff: |
94 git diff -U0 HEAD^ | \ | 95 git diff -U0 HEAD^ | \ |
95 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 96 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
96 | 97 |
97 clean: | 98 clean: |
98 rm -rf llvm2ice *.o build/ | 99 rm -rf llvm2ice *.o build/ |
OLD | NEW |