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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 $(OBJDIR)/unittest: $(OBJDIR) | 494 $(OBJDIR)/unittest: $(OBJDIR) |
495 @mkdir -p $@ | 495 @mkdir -p $@ |
496 | 496 |
497 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest | 497 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest |
498 @mkdir -p $@ | 498 @mkdir -p $@ |
499 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest | 499 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest |
500 @mkdir -p $@ | 500 @mkdir -p $@ |
501 | 501 |
502 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c \ | 502 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c \ |
503 runtime/szrt_asm_x8632.s runtime/szrt_asm_x8664.s \ | 503 runtime/szrt_asm_x8632.s runtime/szrt_asm_x8664.s \ |
504 runtime/szrt_asm_arm32.s | 504 runtime/szrt_asm_arm32.s runtime/szrt_asan.c |
505 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ | 505 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ |
506 build/runtime/szrt_nonsfi_x8632.o \ | 506 build/runtime/szrt_nonsfi_x8632.o \ |
507 build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ | 507 build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ |
508 build/runtime/szrt_nonsfi_x8664.o \ | 508 build/runtime/szrt_nonsfi_x8664.o \ |
509 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o \ | 509 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o \ |
510 build/runtime/szrt_nonsfi_arm32.o | 510 build/runtime/szrt_nonsfi_arm32.o \ |
| 511 build/runtime/szrt_asan_x8632.o build/runtime/szrt_asan_x8664.o \ |
| 512 build/runtime/szrt_asan_arm32.o |
511 | 513 |
512 runtime: $(RT_OBJ) | 514 runtime: $(RT_OBJ) |
513 | 515 |
514 # Use runtime.is.built so that build-runtime.py is invoked only once | 516 # Use runtime.is.built so that build-runtime.py is invoked only once |
515 # even in a parallel build. | 517 # even in a parallel build. |
516 .INTERMEDIATE: runtime.is.built | 518 .INTERMEDIATE: runtime.is.built |
517 $(RT_OBJ): runtime.is.built | 519 $(RT_OBJ): runtime.is.built |
518 runtime.is.built: $(RT_SRC) pydir/build-runtime.py | 520 runtime.is.built: $(RT_SRC) pydir/build-runtime.py |
519 @echo ================ Building Subzero runtime ================ | 521 @echo ================ Building Subzero runtime ================ |
520 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) | 522 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 | 782 |
781 help-check-xtest: | 783 help-check-xtest: |
782 @cat Makefile.standalone-help/check-xtest.txt | 784 @cat Makefile.standalone-help/check-xtest.txt |
783 | 785 |
784 clean: | 786 clean: |
785 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 787 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
786 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 788 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
787 | 789 |
788 clean-all: clean | 790 clean-all: clean |
789 rm -rf build/ crosstest/Output/ | 791 rm -rf build/ crosstest/Output/ |
OLD | NEW |