| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 $(STDLIB_FLAGS) | 168 $(STDLIB_FLAGS) |
| 169 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) | 169 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) |
| 170 | 170 |
| 171 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 171 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
| 172 $(LD_EXTRA) $(STDLIB_FLAGS) | 172 $(LD_EXTRA) $(STDLIB_FLAGS) |
| 173 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 173 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
| 174 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 174 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
| 175 | 175 |
| 176 SRCS = \ | 176 SRCS = \ |
| 177 IceAssembler.cpp \ | 177 IceAssembler.cpp \ |
| 178 IceAssemblerX8632.cpp \ | |
| 179 IceAssemblerX8664.cpp \ | 178 IceAssemblerX8664.cpp \ |
| 180 IceBrowserCompileServer.cpp \ | 179 IceBrowserCompileServer.cpp \ |
| 181 IceCfg.cpp \ | 180 IceCfg.cpp \ |
| 182 IceCfgNode.cpp \ | 181 IceCfgNode.cpp \ |
| 183 IceClFlags.cpp \ | 182 IceClFlags.cpp \ |
| 184 IceCompiler.cpp \ | 183 IceCompiler.cpp \ |
| 185 IceCompileServer.cpp \ | 184 IceCompileServer.cpp \ |
| 186 IceELFObjectWriter.cpp \ | 185 IceELFObjectWriter.cpp \ |
| 187 IceELFSection.cpp \ | 186 IceELFSection.cpp \ |
| 188 IceFixups.cpp \ | 187 IceFixups.cpp \ |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 | 357 |
| 359 docs: | 358 docs: |
| 360 doxygen Doxyfile | 359 doxygen Doxyfile |
| 361 @echo See file://`pwd`/docs/html/index.html | 360 @echo See file://`pwd`/docs/html/index.html |
| 362 | 361 |
| 363 clean: | 362 clean: |
| 364 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 363 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 365 | 364 |
| 366 clean-all: clean | 365 clean-all: clean |
| 367 rm -rf build/ docs/ | 366 rm -rf build/ docs/ |
| OLD | NEW |