| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 IceInst.cpp \ | 54 IceInst.cpp \ |
| 55 IceInstX8632.cpp \ | 55 IceInstX8632.cpp \ |
| 56 IceIntrinsics.cpp \ | 56 IceIntrinsics.cpp \ |
| 57 IceLiveness.cpp \ | 57 IceLiveness.cpp \ |
| 58 IceOperand.cpp \ | 58 IceOperand.cpp \ |
| 59 IceRegAlloc.cpp \ | 59 IceRegAlloc.cpp \ |
| 60 IceRNG.cpp \ | 60 IceRNG.cpp \ |
| 61 IceTargetLowering.cpp \ | 61 IceTargetLowering.cpp \ |
| 62 IceTargetLoweringX8632.cpp \ | 62 IceTargetLoweringX8632.cpp \ |
| 63 IceTranslator.cpp \ | 63 IceTranslator.cpp \ |
| 64 IceTypeConverter.cpp \ |
| 64 IceTypes.cpp \ | 65 IceTypes.cpp \ |
| 65 llvm2ice.cpp \ | 66 llvm2ice.cpp \ |
| 66 PNaClTranslator.cpp | 67 PNaClTranslator.cpp |
| 67 | 68 |
| 68 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) | 69 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) |
| 69 | 70 |
| 70 # Keep all the first target so it's the default. | 71 # Keep all the first target so it's the default. |
| 71 all: llvm2ice | 72 all: llvm2ice |
| 72 | 73 |
| 73 .PHONY: all | 74 .PHONY: all |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 CLANG_FORMAT_DIFF = clang-format-diff.py | 106 CLANG_FORMAT_DIFF = clang-format-diff.py |
| 106 else | 107 else |
| 107 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 108 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
| 108 endif | 109 endif |
| 109 format-diff: | 110 format-diff: |
| 110 git diff -U0 `git merge-base HEAD master` | \ | 111 git diff -U0 `git merge-base HEAD master` | \ |
| 111 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 112 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
| 112 | 113 |
| 113 clean: | 114 clean: |
| 114 rm -rf llvm2ice *.o build/ | 115 rm -rf llvm2ice *.o build/ |
| OLD | NEW |