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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 -Wno-error=unused-parameter -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 | 73 -Wno-error=unused-parameter -I$(LIBCXX_INSTALL_PATH)/include/c++/v1 |
74 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib | 74 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib |
75 | 75 |
76 SRCS= \ | 76 SRCS= \ |
77 assembler.cpp \ | 77 assembler.cpp \ |
78 assembler_ia32.cpp \ | 78 assembler_ia32.cpp \ |
79 IceCfg.cpp \ | 79 IceCfg.cpp \ |
80 IceCfgNode.cpp \ | 80 IceCfgNode.cpp \ |
81 IceConverter.cpp \ | 81 IceConverter.cpp \ |
82 IceGlobalContext.cpp \ | 82 IceGlobalContext.cpp \ |
| 83 IceGlobalInits.cpp \ |
83 IceInst.cpp \ | 84 IceInst.cpp \ |
84 IceInstX8632.cpp \ | 85 IceInstX8632.cpp \ |
85 IceIntrinsics.cpp \ | 86 IceIntrinsics.cpp \ |
86 IceLiveness.cpp \ | 87 IceLiveness.cpp \ |
87 IceMemoryRegion.cpp \ | 88 IceMemoryRegion.cpp \ |
88 IceOperand.cpp \ | 89 IceOperand.cpp \ |
89 IceRegAlloc.cpp \ | 90 IceRegAlloc.cpp \ |
90 IceRNG.cpp \ | 91 IceRNG.cpp \ |
91 IceTargetLowering.cpp \ | 92 IceTargetLowering.cpp \ |
92 IceTargetLoweringX8632.cpp \ | 93 IceTargetLoweringX8632.cpp \ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 CLANG_FORMAT_DIFF = clang-format-diff.py | 143 CLANG_FORMAT_DIFF = clang-format-diff.py |
143 else | 144 else |
144 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py | 145 CLANG_FORMAT_DIFF = /usr/lib/clang-format/clang-format-diff.py |
145 endif | 146 endif |
146 format-diff: | 147 format-diff: |
147 git diff -U0 `git merge-base HEAD master` | \ | 148 git diff -U0 `git merge-base HEAD master` | \ |
148 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 149 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
149 | 150 |
150 clean: | 151 clean: |
151 rm -rf llvm2ice *.o build/ | 152 rm -rf llvm2ice *.o build/ |
OLD | NEW |