| 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 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 @mkdir -p $@ | 360 @mkdir -p $@ |
| 361 | 361 |
| 362 $(OBJDIR)/unittest: $(OBJDIR) | 362 $(OBJDIR)/unittest: $(OBJDIR) |
| 363 @mkdir -p $@ | 363 @mkdir -p $@ |
| 364 | 364 |
| 365 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest | 365 $(OBJDIR)/unittest/AssemblerX8632: $(OBJDIR)/unittest |
| 366 @mkdir -p $@ | 366 @mkdir -p $@ |
| 367 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest | 367 $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest |
| 368 @mkdir -p $@ | 368 @mkdir -p $@ |
| 369 | 369 |
| 370 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c | 370 RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c \ |
| 371 runtime/szrt_asm_x8632.s runtime/szrt_asm_x8664.s \ |
| 372 runtime/szrt_asm_arm32.s |
| 371 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ | 373 RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ |
| 374 build/runtime/szrt_nonsfi_x8632.o \ |
| 372 build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ | 375 build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ |
| 373 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o | 376 build/runtime/szrt_nonsfi_x8664.o \ |
| 377 build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o \ |
| 378 build/runtime/szrt_nonsfi_arm32.o |
| 374 | 379 |
| 375 runtime: $(RT_OBJ) | 380 runtime: $(RT_OBJ) |
| 376 | 381 |
| 377 # Use runtime.is.built so that build-runtime.py is invoked only once | 382 # Use runtime.is.built so that build-runtime.py is invoked only once |
| 378 # even in a parallel build. | 383 # even in a parallel build. |
| 379 .INTERMEDIATE: runtime.is.built | 384 .INTERMEDIATE: runtime.is.built |
| 380 $(RT_OBJ): runtime.is.built | 385 $(RT_OBJ): runtime.is.built |
| 381 runtime.is.built: $(RT_SRC) pydir/build-runtime.py | 386 runtime.is.built: $(RT_SRC) pydir/build-runtime.py |
| 382 @echo ================ Building Subzero runtime ================ | 387 @echo ================ Building Subzero runtime ================ |
| 383 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) | 388 ./pydir/build-runtime.py -v --pnacl-root $(PNACL_TOOLCHAIN_ROOT) |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 | 504 |
| 500 docs: | 505 docs: |
| 501 doxygen Doxyfile | 506 doxygen Doxyfile |
| 502 @echo See file://`pwd`/docs/html/index.html | 507 @echo See file://`pwd`/docs/html/index.html |
| 503 | 508 |
| 504 clean: | 509 clean: |
| 505 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 510 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 506 | 511 |
| 507 clean-all: clean | 512 clean-all: clean |
| 508 rm -rf build/ docs/ | 513 rm -rf build/ docs/ |
| OLD | NEW |