| 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> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ |
| 6 # PNACL_BIN_PATH=<path> ... | 6 # PNACL_BIN_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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) | 220 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) |
| 221 | 221 |
| 222 UNITTEST_SRCS = \ | 222 UNITTEST_SRCS = \ |
| 223 BitcodeMunge.cpp \ | 223 BitcodeMunge.cpp \ |
| 224 IceELFSectionTest.cpp \ | 224 IceELFSectionTest.cpp \ |
| 225 IceParseInstsTest.cpp | 225 IceParseInstsTest.cpp |
| 226 | 226 |
| 227 # The X86 assembler tests take too long to compile. Given how infrequently the | 227 # The X86 assembler tests take too long to compile. Given how infrequently the |
| 228 # assembler will change, we disable them. | 228 # assembler will change, we disable them. |
| 229 ifdef CHECK_X86_ASM | 229 ifdef CHECK_X86_ASM |
| 230 ifndef DEBUG |
| 231 $(error Run check-unit with DEBUG=1 lest your machine perish) |
| 232 endif |
| 230 UNITTEST_SRCS += AssemblerX8632/LowLevel.cpp \ | 233 UNITTEST_SRCS += AssemblerX8632/LowLevel.cpp \ |
| 231 AssemblerX8632/DataMov.cpp \ | 234 AssemblerX8632/DataMov.cpp \ |
| 232 AssemblerX8632/Locked.cpp \ | 235 AssemblerX8632/Locked.cpp \ |
| 233 AssemblerX8632/GPRArith.cpp \ | 236 AssemblerX8632/GPRArith.cpp \ |
| 234 AssemblerX8632/XmmArith.cpp \ | 237 AssemblerX8632/XmmArith.cpp \ |
| 235 AssemblerX8632/ControlFlow.cpp \ | 238 AssemblerX8632/ControlFlow.cpp \ |
| 236 AssemblerX8632/Other.cpp \ | 239 AssemblerX8632/Other.cpp \ |
| 237 AssemblerX8632/X87.cpp \ | 240 AssemblerX8632/X87.cpp \ |
| 238 AssemblerX8664/LowLevel.cpp \ | 241 AssemblerX8664/LowLevel.cpp \ |
| 239 AssemblerX8664/DataMov.cpp \ | 242 AssemblerX8664/DataMov.cpp \ |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 | 390 |
| 388 docs: | 391 docs: |
| 389 doxygen Doxyfile | 392 doxygen Doxyfile |
| 390 @echo See file://`pwd`/docs/html/index.html | 393 @echo See file://`pwd`/docs/html/index.html |
| 391 | 394 |
| 392 clean: | 395 clean: |
| 393 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 396 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 394 | 397 |
| 395 clean-all: clean | 398 clean-all: clean |
| 396 rm -rf build/ docs/ | 399 rm -rf build/ docs/ |
| OLD | NEW |