| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 $(STDLIB_FLAGS) | 189 $(STDLIB_FLAGS) |
| 190 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) | 190 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) |
| 191 | 191 |
| 192 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 192 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
| 193 $(LD_EXTRA) $(STDLIB_FLAGS) | 193 $(LD_EXTRA) $(STDLIB_FLAGS) |
| 194 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 194 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
| 195 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 195 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
| 196 | 196 |
| 197 SRCS = \ | 197 SRCS = \ |
| 198 IceAssembler.cpp \ | 198 IceAssembler.cpp \ |
| 199 IceAssemblerARM32.cpp \ |
| 199 IceBrowserCompileServer.cpp \ | 200 IceBrowserCompileServer.cpp \ |
| 200 IceCfg.cpp \ | 201 IceCfg.cpp \ |
| 201 IceCfgNode.cpp \ | 202 IceCfgNode.cpp \ |
| 202 IceClFlags.cpp \ | 203 IceClFlags.cpp \ |
| 203 IceCompiler.cpp \ | 204 IceCompiler.cpp \ |
| 204 IceCompileServer.cpp \ | 205 IceCompileServer.cpp \ |
| 205 IceELFObjectWriter.cpp \ | 206 IceELFObjectWriter.cpp \ |
| 206 IceELFSection.cpp \ | 207 IceELFSection.cpp \ |
| 207 IceFixups.cpp \ | 208 IceFixups.cpp \ |
| 208 IceGlobalContext.cpp \ | 209 IceGlobalContext.cpp \ |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 | 418 |
| 418 docs: | 419 docs: |
| 419 doxygen Doxyfile | 420 doxygen Doxyfile |
| 420 @echo See file://`pwd`/docs/html/index.html | 421 @echo See file://`pwd`/docs/html/index.html |
| 421 | 422 |
| 422 clean: | 423 clean: |
| 423 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 424 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 424 | 425 |
| 425 clean-all: clean | 426 clean-all: clean |
| 426 rm -rf build/ docs/ | 427 rm -rf build/ docs/ |
| OLD | NEW |