| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 # Restrict to a single supported target. Current options: | 103 # Restrict to a single supported target. Current options: |
| 104 # SZTARGET=ARM32 | 104 # SZTARGET=ARM32 |
| 105 # SZTARGET=MIPS32 | 105 # SZTARGET=MIPS32 |
| 106 # SZTARGET=X8632 | 106 # SZTARGET=X8632 |
| 107 # SZTARGET=X8664 | 107 # SZTARGET=X8664 |
| 108 ifdef SZTARGET | 108 ifdef SZTARGET |
| 109 OBJDIR := $(OBJDIR)+T_$(SZTARGET) | 109 OBJDIR := $(OBJDIR)+T_$(SZTARGET) |
| 110 BASE_CXX_DEFINES += -DSZTARGET=$(SZTARGET) | 110 BASE_CXX_DEFINES += -DSZTARGET=$(SZTARGET) |
| 111 endif | 111 endif |
| 112 | 112 |
| 113 BASE_CXX_DEFINES += -DPNACL_LLVM |
| 114 |
| 113 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 | 115 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 |
| 114 | 116 |
| 115 ifdef NOASSERT | 117 ifdef NOASSERT |
| 116 ASSERTIONS = -DNDEBUG | 118 ASSERTIONS = -DNDEBUG |
| 117 else | 119 else |
| 118 ASSERTIONS = | 120 ASSERTIONS = |
| 119 OBJDIR := $(OBJDIR)+Asserts | 121 OBJDIR := $(OBJDIR)+Asserts |
| 120 endif | 122 endif |
| 121 | 123 |
| 122 ifdef UBSAN | 124 ifdef UBSAN |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 773 | 775 |
| 774 help-check-xtest: | 776 help-check-xtest: |
| 775 @cat Makefile.standalone-help/check-xtest.txt | 777 @cat Makefile.standalone-help/check-xtest.txt |
| 776 | 778 |
| 777 clean: | 779 clean: |
| 778 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 780 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 779 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 781 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 780 | 782 |
| 781 clean-all: clean | 783 clean-all: clean |
| 782 rm -rf build/ crosstest/Output/ | 784 rm -rf build/ crosstest/Output/ |
| OLD | NEW |