| 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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 | 276 |
| 277 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 277 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
| 278 $(LD_EXTRA) $(STDLIB_FLAGS) | 278 $(LD_EXTRA) $(STDLIB_FLAGS) |
| 279 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 279 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
| 280 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 280 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
| 281 | 281 |
| 282 # List the target-specific source files first, which generally take longer to | 282 # List the target-specific source files first, which generally take longer to |
| 283 # compile, in the hope of improving parallel build time. | 283 # compile, in the hope of improving parallel build time. |
| 284 SRCS = \ | 284 SRCS = \ |
| 285 IceAssemblerARM32.cpp \ | 285 IceAssemblerARM32.cpp \ |
| 286 IceInstrumentation.cpp \ |
| 286 IceInstARM32.cpp \ | 287 IceInstARM32.cpp \ |
| 287 IceInstMIPS32.cpp \ | 288 IceInstMIPS32.cpp \ |
| 288 IceInstX8632.cpp \ | 289 IceInstX8632.cpp \ |
| 289 IceInstX8664.cpp \ | 290 IceInstX8664.cpp \ |
| 290 IceTargetLowering.cpp \ | 291 IceTargetLowering.cpp \ |
| 291 IceTargetLoweringARM32.cpp \ | 292 IceTargetLoweringARM32.cpp \ |
| 292 IceTargetLoweringMIPS32.cpp \ | 293 IceTargetLoweringMIPS32.cpp \ |
| 293 IceTargetLoweringX86.cpp \ | 294 IceTargetLoweringX86.cpp \ |
| 294 IceTargetLoweringX8632.cpp \ | 295 IceTargetLoweringX8632.cpp \ |
| 295 IceTargetLoweringX8664.cpp \ | 296 IceTargetLoweringX8664.cpp \ |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 | 779 |
| 779 help-check-xtest: | 780 help-check-xtest: |
| 780 @cat Makefile.standalone-help/check-xtest.txt | 781 @cat Makefile.standalone-help/check-xtest.txt |
| 781 | 782 |
| 782 clean: | 783 clean: |
| 783 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 784 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 784 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 785 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 785 | 786 |
| 786 clean-all: clean | 787 clean-all: clean |
| 787 rm -rf build/ crosstest/Output/ | 788 rm -rf build/ crosstest/Output/ |
| OLD | NEW |