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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 -Wno-unknown-pragmas -I$(NACL_ROOT) -I$(NACL_ROOT)/.. | 275 -Wno-unknown-pragmas -I$(NACL_ROOT) -I$(NACL_ROOT)/.. |
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 IceASanInstrumentation.cpp \ |
285 IceAssemblerARM32.cpp \ | 286 IceAssemblerARM32.cpp \ |
286 IceInstrumentation.cpp \ | 287 IceInstrumentation.cpp \ |
287 IceInstARM32.cpp \ | 288 IceInstARM32.cpp \ |
288 IceInstMIPS32.cpp \ | 289 IceInstMIPS32.cpp \ |
289 IceInstX8632.cpp \ | 290 IceInstX8632.cpp \ |
290 IceInstX8664.cpp \ | 291 IceInstX8664.cpp \ |
291 IceTargetLowering.cpp \ | 292 IceTargetLowering.cpp \ |
292 IceTargetLoweringARM32.cpp \ | 293 IceTargetLoweringARM32.cpp \ |
293 IceTargetLoweringMIPS32.cpp \ | 294 IceTargetLoweringMIPS32.cpp \ |
294 IceTargetLoweringX86.cpp \ | 295 IceTargetLoweringX86.cpp \ |
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 | 780 |
780 help-check-xtest: | 781 help-check-xtest: |
781 @cat Makefile.standalone-help/check-xtest.txt | 782 @cat Makefile.standalone-help/check-xtest.txt |
782 | 783 |
783 clean: | 784 clean: |
784 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 785 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
785 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 786 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
786 | 787 |
787 clean-all: clean | 788 clean-all: clean |
788 rm -rf build/ crosstest/Output/ | 789 rm -rf build/ crosstest/Output/ |
OLD | NEW |