| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib) | 406 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib) |
| 407 | 407 |
| 408 $(UNITTEST_OBJS): $(OBJDIR)/unittest/%.o: unittest/%.cpp unittest/*.h \ | 408 $(UNITTEST_OBJS): $(OBJDIR)/unittest/%.o: unittest/%.cpp unittest/*.h \ |
| 409 src/*.h src/*.def | 409 src/*.h src/*.def |
| 410 $(CXX) -c $(CXXFLAGS) \ | 410 $(CXX) -c $(CXXFLAGS) \ |
| 411 -Isrc/ \ | 411 -Isrc/ \ |
| 412 -Iunittest/ \ | 412 -Iunittest/ \ |
| 413 -I$(LLVM_SRC_PATH)/utils/unittest/googletest/include \ | 413 -I$(LLVM_SRC_PATH)/utils/unittest/googletest/include \ |
| 414 -I$(LLVM_SRC_PATH) \ | 414 -I$(LLVM_SRC_PATH) \ |
| 415 -DGTEST_HAS_RTTI=0 -DGTEST_USE_OWN_TR1_TUPLE \ | 415 -DGTEST_HAS_RTTI=0 -DGTEST_USE_OWN_TR1_TUPLE \ |
| 416 -Wno-expansion-to-defined \ |
| 416 $< -o $@ | 417 $< -o $@ |
| 417 | 418 |
| 418 $(OBJS): | $(OBJDIR) | 419 $(OBJS): | $(OBJDIR) |
| 419 $(SB_OBJS): | $(SB_OBJDIR) | 420 $(SB_OBJS): | $(SB_OBJDIR) |
| 420 $(SBB_OBJS): | $(SBB_OBJDIR) | 421 $(SBB_OBJS): | $(SBB_OBJDIR) |
| 421 | 422 |
| 422 $(UNITTEST_OBJS): | $(OBJDIR)/unittest $(OBJDIR)/unittest/AssemblerX8632 \ | 423 $(UNITTEST_OBJS): | $(OBJDIR)/unittest $(OBJDIR)/unittest/AssemblerX8632 \ |
| 423 $(OBJDIR)/unittest/AssemblerX8664 | 424 $(OBJDIR)/unittest/AssemblerX8664 |
| 424 | 425 |
| 425 $(OBJDIR): | 426 $(OBJDIR): |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 612 |
| 612 help-check-xtest: | 613 help-check-xtest: |
| 613 @cat Makefile.standalone-help/check-xtest.txt | 614 @cat Makefile.standalone-help/check-xtest.txt |
| 614 | 615 |
| 615 clean: | 616 clean: |
| 616 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 617 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
| 617 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 618 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
| 618 | 619 |
| 619 clean-all: clean | 620 clean-all: clean |
| 620 rm -rf build/ crosstest/Output/ | 621 rm -rf build/ crosstest/Output/ |
| OLD | NEW |