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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 -Wno-unknown-pragmas -I$(NACL_ROOT) -I$(NACL_ROOT)/.. | 275 -Wno-unknown-pragmas -I$(NACL_ROOT) -I$(NACL_ROOT)/.. |
276 | 276 |
277 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ | 277 LDFLAGS := $(HOST_FLAGS) -L$(LIBCXX_INSTALL_PATH)/lib -Wl,--gc-sections \ |
278 $(LD_EXTRA) $(STDLIB_FLAGS) | 278 $(LD_EXTRA) $(STDLIB_FLAGS) |
279 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. | 279 # Not specifying -Wl,--gc-sections but instead doing bitcode linking GC w/ LTO. |
280 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) | 280 SB_LDFLAGS := $(LINKOPTLEVEL) $(LD_EXTRA) |
281 | 281 |
282 # List the target-specific source files first, which generally take longer to | 282 # List the target-specific source files first, which generally take longer to |
283 # compile, in the hope of improving parallel build time. | 283 # compile, in the hope of improving parallel build time. |
284 SRCS = \ | 284 SRCS = \ |
285 IceASanInstrumentation.cpp \ | |
286 IceAssemblerARM32.cpp \ | 285 IceAssemblerARM32.cpp \ |
287 IceInstrumentation.cpp \ | |
288 IceInstARM32.cpp \ | 286 IceInstARM32.cpp \ |
289 IceInstMIPS32.cpp \ | 287 IceInstMIPS32.cpp \ |
290 IceInstX8632.cpp \ | 288 IceInstX8632.cpp \ |
291 IceInstX8664.cpp \ | 289 IceInstX8664.cpp \ |
292 IceTargetLowering.cpp \ | 290 IceTargetLowering.cpp \ |
293 IceTargetLoweringARM32.cpp \ | 291 IceTargetLoweringARM32.cpp \ |
294 IceTargetLoweringMIPS32.cpp \ | 292 IceTargetLoweringMIPS32.cpp \ |
295 IceTargetLoweringX86.cpp \ | 293 IceTargetLoweringX86.cpp \ |
296 IceTargetLoweringX8632.cpp \ | 294 IceTargetLoweringX8632.cpp \ |
297 IceTargetLoweringX8664.cpp \ | 295 IceTargetLoweringX8664.cpp \ |
(...skipping 23 matching lines...) Expand all Loading... |
321 IceThreading.cpp \ | 319 IceThreading.cpp \ |
322 IceTimerTree.cpp \ | 320 IceTimerTree.cpp \ |
323 IceTranslator.cpp \ | 321 IceTranslator.cpp \ |
324 IceTypes.cpp \ | 322 IceTypes.cpp \ |
325 LinuxMallocProfiling.cpp \ | 323 LinuxMallocProfiling.cpp \ |
326 main.cpp \ | 324 main.cpp \ |
327 PNaClTranslator.cpp | 325 PNaClTranslator.cpp |
328 | 326 |
329 ifndef MINIMAL | 327 ifndef MINIMAL |
330 SRCS += \ | 328 SRCS += \ |
| 329 IceASanInstrumentation.cpp \ |
331 IceConverter.cpp \ | 330 IceConverter.cpp \ |
| 331 IceInstrumentation.cpp \ |
332 IceTypeConverter.cpp | 332 IceTypeConverter.cpp |
333 endif | 333 endif |
334 | 334 |
335 ifdef WASM | 335 ifdef WASM |
336 SRCS += \ | 336 SRCS += \ |
337 WasmTranslator.cpp | 337 WasmTranslator.cpp |
338 endif | 338 endif |
339 | 339 |
340 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) | 340 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) |
341 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) | 341 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 | 780 |
781 help-check-xtest: | 781 help-check-xtest: |
782 @cat Makefile.standalone-help/check-xtest.txt | 782 @cat Makefile.standalone-help/check-xtest.txt |
783 | 783 |
784 clean: | 784 clean: |
785 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ | 785 rm -rf pnacl-sz *.o $(foreach nexe,$(NEXES),$(notdir $(nexe))) \ |
786 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json | 786 $(OBJDIR) $(SB_OBJDIR) $(SBB_OBJDIR) build/*.bloat.json |
787 | 787 |
788 clean-all: clean | 788 clean-all: clean |
789 rm -rf build/ crosstest/Output/ | 789 rm -rf build/ crosstest/Output/ |
OLD | NEW |