| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_TIMERS=1 -DALLOW_MINIMAL_BUILD=0 | 93 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_TIMERS=1 -DALLOW_MINIMAL_BUILD=0 |
| 94 endif | 94 endif |
| 95 | 95 |
| 96 ifdef NODUMP | 96 ifdef NODUMP |
| 97 OBJDIR := $(OBJDIR)+NoDump | 97 OBJDIR := $(OBJDIR)+NoDump |
| 98 BASE_CXX_DEFINES += -DALLOW_DUMP=0 | 98 BASE_CXX_DEFINES += -DALLOW_DUMP=0 |
| 99 else | 99 else |
| 100 BASE_CXX_DEFINES += -DALLOW_DUMP=1 | 100 BASE_CXX_DEFINES += -DALLOW_DUMP=1 |
| 101 endif | 101 endif |
| 102 | 102 |
| 103 # Restrict to a single supported target. Current options: |
| 104 # SZTARGET=ARM32 |
| 105 # SZTARGET=MIPS32 |
| 106 # SZTARGET=X8632 |
| 107 # SZTARGET=X8664 |
| 108 ifdef SZTARGET |
| 109 OBJDIR := $(OBJDIR)+T_$(SZTARGET) |
| 110 BASE_CXX_DEFINES += -DSZTARGET=$(SZTARGET) |
| 111 endif |
| 112 |
| 103 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 | 113 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 |
| 104 | 114 |
| 105 ifdef NOASSERT | 115 ifdef NOASSERT |
| 106 ASSERTIONS = -DNDEBUG | 116 ASSERTIONS = -DNDEBUG |
| 107 else | 117 else |
| 108 ASSERTIONS = | 118 ASSERTIONS = |
| 109 OBJDIR := $(OBJDIR)+Asserts | 119 OBJDIR := $(OBJDIR)+Asserts |
| 110 endif | 120 endif |
| 111 | 121 |
| 112 ifdef UBSAN | 122 ifdef UBSAN |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 662 | 672 |
| 663 help-check-xtest: | 673 help-check-xtest: |
| 664 @cat Makefile.standalone-help/check-xtest.txt | 674 @cat Makefile.standalone-help/check-xtest.txt |
| 665 | 675 |
| 666 clean: | 676 clean: |
| 667 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 677 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 668 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 678 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 669 | 679 |
| 670 clean-all: clean | 680 clean-all: clean |
| 671 rm -rf build/ crosstest/Output/ | 681 rm -rf build/ crosstest/Output/ |
| OLD | NEW |