| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 IceCfg.cpp \ | 49 IceCfg.cpp \ |
| 50 IceCfgNode.cpp \ | 50 IceCfgNode.cpp \ |
| 51 IceConverter.cpp \ | 51 IceConverter.cpp \ |
| 52 IceGlobalContext.cpp \ | 52 IceGlobalContext.cpp \ |
| 53 IceInst.cpp \ | 53 IceInst.cpp \ |
| 54 IceInstX8632.cpp \ | 54 IceInstX8632.cpp \ |
| 55 IceIntrinsics.cpp \ | 55 IceIntrinsics.cpp \ |
| 56 IceLiveness.cpp \ | 56 IceLiveness.cpp \ |
| 57 IceOperand.cpp \ | 57 IceOperand.cpp \ |
| 58 IceRegAlloc.cpp \ | 58 IceRegAlloc.cpp \ |
| 59 IceRNG.cpp \ |
| 59 IceTargetLowering.cpp \ | 60 IceTargetLowering.cpp \ |
| 60 IceTargetLoweringX8632.cpp \ | 61 IceTargetLoweringX8632.cpp \ |
| 61 IceTranslator.cpp \ | 62 IceTranslator.cpp \ |
| 62 IceTypes.cpp \ | 63 IceTypes.cpp \ |
| 63 llvm2ice.cpp \ | 64 llvm2ice.cpp \ |
| 64 PNaClTranslator.cpp | 65 PNaClTranslator.cpp |
| 65 | 66 |
| 66 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) | 67 OBJS=$(patsubst %.cpp, build/%.o, $(SRCS)) |
| 67 | 68 |
| 68 # Keep all the first target so it's the default. | 69 # Keep all the first target so it's the default. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 CLANG_FORMAT_DIFF = clang-format-diff.py | 102 CLANG_FORMAT_DIFF = clang-format-diff.py |
| 102 else | 103 else |
| 103 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 104 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
| 104 endif | 105 endif |
| 105 format-diff: | 106 format-diff: |
| 106 git diff -U0 `git merge-base HEAD master` | \ | 107 git diff -U0 `git merge-base HEAD master` | \ |
| 107 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 108 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
| 108 | 109 |
| 109 clean: | 110 clean: |
| 110 rm -rf llvm2ice *.o build/ | 111 rm -rf llvm2ice *.o build/ |
| OLD | NEW |