| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 113 BASE_CXX_DEFINES += -DPNACL_LLVM |
| 114 BASE_CXX_DEFINES += -DSUBZERO_REVISION=$(shell git rev-parse HEAD) |
| 114 | 115 |
| 115 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 | 116 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 |
| 116 | 117 |
| 117 ifdef NOASSERT | 118 ifdef NOASSERT |
| 118 ASSERTIONS = -DNDEBUG | 119 ASSERTIONS = -DNDEBUG |
| 119 else | 120 else |
| 120 ASSERTIONS = | 121 ASSERTIONS = |
| 121 OBJDIR := $(OBJDIR)+Asserts | 122 OBJDIR := $(OBJDIR)+Asserts |
| 122 endif | 123 endif |
| 123 | 124 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 IceGlobalInits.cpp \ | 314 IceGlobalInits.cpp \ |
| 314 IceInst.cpp \ | 315 IceInst.cpp \ |
| 315 IceIntrinsics.cpp \ | 316 IceIntrinsics.cpp \ |
| 316 IceLiveness.cpp \ | 317 IceLiveness.cpp \ |
| 317 IceLoopAnalyzer.cpp \ | 318 IceLoopAnalyzer.cpp \ |
| 318 IceMangling.cpp \ | 319 IceMangling.cpp \ |
| 319 IceMemory.cpp \ | 320 IceMemory.cpp \ |
| 320 IceOperand.cpp \ | 321 IceOperand.cpp \ |
| 321 IceRangeSpec.cpp \ | 322 IceRangeSpec.cpp \ |
| 322 IceRegAlloc.cpp \ | 323 IceRegAlloc.cpp \ |
| 324 IceRevision.cpp \ |
| 323 IceRNG.cpp \ | 325 IceRNG.cpp \ |
| 324 IceSwitchLowering.cpp \ | 326 IceSwitchLowering.cpp \ |
| 325 IceThreading.cpp \ | 327 IceThreading.cpp \ |
| 326 IceTimerTree.cpp \ | 328 IceTimerTree.cpp \ |
| 327 IceTranslator.cpp \ | 329 IceTranslator.cpp \ |
| 328 IceTypes.cpp \ | 330 IceTypes.cpp \ |
| 329 IceVariableSplitting.cpp \ | 331 IceVariableSplitting.cpp \ |
| 330 LinuxMallocProfiling.cpp \ | 332 LinuxMallocProfiling.cpp \ |
| 331 main.cpp \ | 333 main.cpp \ |
| 332 PNaClTranslator.cpp | 334 PNaClTranslator.cpp |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 789 | 791 |
| 790 help-check-xtest: | 792 help-check-xtest: |
| 791 @cat Makefile.standalone-help/check-xtest.txt | 793 @cat Makefile.standalone-help/check-xtest.txt |
| 792 | 794 |
| 793 clean: | 795 clean: |
| 794 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 796 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 795 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 797 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 796 | 798 |
| 797 clean-all: clean | 799 clean-all: clean |
| 798 rm -rf build/ crosstest/Output/ | 800 rm -rf build/ crosstest/Output/ |
| OLD | NEW |