| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 CXXFLAGS := $(LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(CXX_DEFINES) $(HOST_FLAGS) \ | 156 CXXFLAGS := $(LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(CXX_DEFINES) $(HOST_FLAGS) \ |
| 157 $(STDLIB_FLAGS) | 157 $(STDLIB_FLAGS) |
| 158 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) | 158 SB_CXXFLAGS := $(SB_LLVM_CXXFLAGS) $(BASE_CXXFLAGS) $(SB_CXX_DEFINES) |
| 159 | 159 |
| 160 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 160 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
| 161 $(LD_EXTRA) $(STDLIB_FLAGS) | 161 $(LD_EXTRA) $(STDLIB_FLAGS) |
| 162 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 162 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
| 163 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 163 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
| 164 | 164 |
| 165 SRCS = \ | 165 SRCS = \ |
| 166 » assembler.cpp \ | 166 » IceAssembler.cpp \ |
| 167 » assembler_ia32.cpp \ | 167 » IceAssemblerX8632.cpp \ |
| 168 IceBrowserCompileServer.cpp \ | 168 IceBrowserCompileServer.cpp \ |
| 169 IceCfg.cpp \ | 169 IceCfg.cpp \ |
| 170 IceCfgNode.cpp \ | 170 IceCfgNode.cpp \ |
| 171 IceClFlags.cpp \ | 171 IceClFlags.cpp \ |
| 172 IceCompiler.cpp \ | 172 IceCompiler.cpp \ |
| 173 IceCompileServer.cpp \ | 173 IceCompileServer.cpp \ |
| 174 IceELFObjectWriter.cpp \ | 174 IceELFObjectWriter.cpp \ |
| 175 IceELFSection.cpp \ | 175 IceELFSection.cpp \ |
| 176 IceFixups.cpp \ | 176 IceFixups.cpp \ |
| 177 IceGlobalContext.cpp \ | 177 IceGlobalContext.cpp \ |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 bloat: make_symlink | 328 bloat: make_symlink |
| 329 nm -C -S -l pnacl-sz | \ | 329 nm -C -S -l pnacl-sz | \ |
| 330 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json | 330 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json |
| 331 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 331 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
| 332 | 332 |
| 333 clean: | 333 clean: |
| 334 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 334 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
| 335 | 335 |
| 336 clean-all: clean | 336 clean-all: clean |
| 337 rm -rf build/ | 337 rm -rf build/ |
| OLD | NEW |