| 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 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... | 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... |
| 7 # | 7 # |
| 8 | 8 |
| 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
| 10 # directory should contain the configure script, the include/ and lib/ | 10 # directory should contain the configure script, the include/ and lib/ |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 IceCfg.cpp \ | 62 IceCfg.cpp \ |
| 63 IceCfgNode.cpp \ | 63 IceCfgNode.cpp \ |
| 64 IceConverter.cpp \ | 64 IceConverter.cpp \ |
| 65 IceGlobalContext.cpp \ | 65 IceGlobalContext.cpp \ |
| 66 IceInst.cpp \ | 66 IceInst.cpp \ |
| 67 IceInstX8632.cpp \ | 67 IceInstX8632.cpp \ |
| 68 IceIntrinsics.cpp \ | 68 IceIntrinsics.cpp \ |
| 69 IceLiveness.cpp \ | 69 IceLiveness.cpp \ |
| 70 IceOperand.cpp \ | 70 IceOperand.cpp \ |
| 71 IceRegAlloc.cpp \ | 71 IceRegAlloc.cpp \ |
| 72 IceRNG.cpp \ | 72 » IceRNG.cpp \ |
| 73 IceTargetLowering.cpp \ | 73 IceTargetLowering.cpp \ |
| 74 IceTargetLoweringX8632.cpp \ | 74 IceTargetLoweringX8632.cpp \ |
| 75 IceTranslator.cpp \ | 75 IceTranslator.cpp \ |
| 76 IceTypeConverter.cpp \ | 76 IceTypeConverter.cpp \ |
| 77 IceTypes.cpp \ | 77 IceTypes.cpp \ |
| 78 assembler.cpp \ |
| 79 assembler_ia32.cpp \ |
| 78 llvm2ice.cpp \ | 80 llvm2ice.cpp \ |
| 79 PNaClTranslator.cpp | 81 PNaClTranslator.cpp |
| 80 | 82 |
| 81 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) | 83 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) |
| 82 | 84 |
| 83 # Keep all the first target so it's the default. | 85 # Keep all the first target so it's the default. |
| 84 all: llvm2ice | 86 all: llvm2ice |
| 85 | 87 |
| 86 .PHONY: all | 88 .PHONY: all |
| 87 | 89 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 CLANG_FORMAT_DIFF = clang-format-diff.py | 121 CLANG_FORMAT_DIFF = clang-format-diff.py |
| 120 else | 122 else |
| 121 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 123 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
| 122 endif | 124 endif |
| 123 format-diff: | 125 format-diff: |
| 124 git diff -U0 `git merge-base HEAD master` | \ | 126 git diff -U0 `git merge-base HEAD master` | \ |
| 125 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 127 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
| 126 | 128 |
| 127 clean: | 129 clean: |
| 128 rm -rf llvm2ice *.o build/ | 130 rm -rf llvm2ice *.o build/ |
| OLD | NEW |