Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Side by Side Diff: Makefile.standalone

Issue 1508423003: Subzero. ARM32. Introduces explicit register parameter attribute. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pydir/gen_arm32_reg_tables.py » ('j') | pydir/gen_arm32_reg_tables.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \ 318 $(CXX) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \
319 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib) 319 -Wl,-rpath=$(abspath $(LIBCXX_INSTALL_PATH)/lib)
320 320
321 $(SB_OBJDIR)/pnacl-sz.x86-32.nexe: $(SB_OBJS) 321 $(SB_OBJDIR)/pnacl-sz.x86-32.nexe: $(SB_OBJS)
322 $(eval PNACL_SZ_BASE := $(patsubst %.nexe, %, $@)) 322 $(eval PNACL_SZ_BASE := $(patsubst %.nexe, %, $@))
323 $(SB_CXX) $(SB_LDFLAGS) -o $(PNACL_SZ_BASE).nonfinal.pexe $^ \ 323 $(SB_CXX) $(SB_LDFLAGS) -o $(PNACL_SZ_BASE).nonfinal.pexe $^ \
324 $(SB_LLVM_LDFLAGS) 324 $(SB_LLVM_LDFLAGS)
325 $(SB_TRANSLATE) -arch x86-32 $(PNACL_SZ_BASE).nonfinal.pexe -o $@ \ 325 $(SB_TRANSLATE) -arch x86-32 $(PNACL_SZ_BASE).nonfinal.pexe -o $@ \
326 --allow-llvm-bitcode-input 326 --allow-llvm-bitcode-input
327 327
328 src/IceRegistersARM32.def: pydir/gen_arm32_reg_tables.py
329 python $< > $@
330
328 # TODO(stichnot): Be more precise than "*.h" here and elsewhere. 331 # TODO(stichnot): Be more precise than "*.h" here and elsewhere.
329 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def 332 $(OBJS): $(OBJDIR)/%.o: src/%.cpp src/*.h src/*.def
330 $(CXX) -c $(CXXFLAGS) $< -o $@ 333 $(CXX) -c $(CXXFLAGS) $< -o $@
331 334
332 $(SB_OBJS): $(SB_OBJDIR)/%.o: src/%.cpp src/*.h src/*.def 335 $(SB_OBJS): $(SB_OBJDIR)/%.o: src/%.cpp src/*.h src/*.def
333 $(SB_CXX) -c $(SB_CXXFLAGS) $< -o $@ 336 $(SB_CXX) -c $(SB_CXXFLAGS) $< -o $@
334 337
335 $(OBJDIR)/run_unittests: $(UNITTEST_OBJS) $(UNITTEST_LIB_OBJS) 338 $(OBJDIR)/run_unittests: $(UNITTEST_OBJS) $(UNITTEST_LIB_OBJS)
336 $(CXX) $(GTEST_LIB_PATH) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \ 339 $(CXX) $(GTEST_LIB_PATH) $(LDFLAGS) -o $@ $^ $(LLVM_LDFLAGS) \
337 -lgtest -lgtest_main -ldl \ 340 -lgtest -lgtest_main -ldl \
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 501
499 docs: 502 docs:
500 doxygen Doxyfile 503 doxygen Doxyfile
501 @echo See file://`pwd`/docs/html/index.html 504 @echo See file://`pwd`/docs/html/index.html
502 505
503 clean: 506 clean:
504 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 507 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
505 508
506 clean-all: clean 509 clean-all: clean
507 rm -rf build/ docs/ 510 rm -rf build/ docs/
OLDNEW
« no previous file with comments | « no previous file | pydir/gen_arm32_reg_tables.py » ('j') | pydir/gen_arm32_reg_tables.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698