| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 285 |
| 286 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 286 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
| 287 $(LD_EXTRA) $(STDLIB_FLAGS) | 287 $(LD_EXTRA) $(STDLIB_FLAGS) |
| 288 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 288 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
| 289 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 289 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
| 290 | 290 |
| 291 # List the target-specific source files first, which generally take longer to | 291 # List the target-specific source files first, which generally take longer to |
| 292 # compile, in the hope of improving parallel build time. | 292 # compile, in the hope of improving parallel build time. |
| 293 SRCS = \ | 293 SRCS = \ |
| 294 IceAssemblerARM32.cpp \ | 294 IceAssemblerARM32.cpp \ |
| 295 IceAssemblerMIPS32.cpp \ |
| 295 IceInstARM32.cpp \ | 296 IceInstARM32.cpp \ |
| 296 IceInstMIPS32.cpp \ | 297 IceInstMIPS32.cpp \ |
| 297 IceInstX8632.cpp \ | 298 IceInstX8632.cpp \ |
| 298 IceInstX8664.cpp \ | 299 IceInstX8664.cpp \ |
| 299 IceTargetLowering.cpp \ | 300 IceTargetLowering.cpp \ |
| 300 IceTargetLoweringARM32.cpp \ | 301 IceTargetLoweringARM32.cpp \ |
| 301 IceTargetLoweringMIPS32.cpp \ | 302 IceTargetLoweringMIPS32.cpp \ |
| 302 IceTargetLoweringX86.cpp \ | 303 IceTargetLoweringX86.cpp \ |
| 303 IceTargetLoweringX8632.cpp \ | 304 IceTargetLoweringX8632.cpp \ |
| 304 IceTargetLoweringX8664.cpp \ | 305 IceTargetLoweringX8664.cpp \ |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 | 794 |
| 794 help-check-xtest: | 795 help-check-xtest: |
| 795 @cat Makefile.standalone-help/check-xtest.txt | 796 @cat Makefile.standalone-help/check-xtest.txt |
| 796 | 797 |
| 797 clean: | 798 clean: |
| 798 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 799 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 799 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 800 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 800 | 801 |
| 801 clean-all: clean | 802 clean-all: clean |
| 802 rm -rf build/ crosstest/Output/ | 803 rm -rf build/ crosstest/Output/ |
| OLD | NEW |