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

Side by Side Diff: Makefile.standalone

Issue 1522433004: eliminate code related to --no-ir-gen (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Changes suggested by stichnot 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 | « Makefile ('k') | src/IceBuildDefs.h » ('j') | no next file with comments »
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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 # The list of CXX defines that are dependent on build parameters. 72 # The list of CXX defines that are dependent on build parameters.
73 BASE_CXX_DEFINES = 73 BASE_CXX_DEFINES =
74 CXX_EXTRA = 74 CXX_EXTRA =
75 LD_EXTRA = 75 LD_EXTRA =
76 76
77 ifdef MINIMAL 77 ifdef MINIMAL
78 NOASSERT = 1 78 NOASSERT = 1
79 OBJDIR := $(OBJDIR)+Min 79 OBJDIR := $(OBJDIR)+Min
80 BASE_CXX_DEFINES += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \ 80 BASE_CXX_DEFINES += -DALLOW_DUMP=0 -DALLOW_LLVM_CL=0 -DALLOW_LLVM_IR=0 \
81 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_DISABLE_IR_GEN=0 \ 81 -DALLOW_LLVM_IR_AS_INPUT=0 -DALLOW_MINIMAL_BUILD=1
82 -DALLOW_MINIMAL_BUILD=1
83 else 82 else
84 BASE_CXX_DEFINES += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \ 83 BASE_CXX_DEFINES += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \
85 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_DISABLE_IR_GEN=1 \ 84 -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_MINIMAL_BUILD=0
86 -DALLOW_MINIMAL_BUILD=0
87 endif 85 endif
88 86
89 SB_CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=1 87 SB_CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=1
90 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 88 CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0
91 89
92 ifdef NOASSERT 90 ifdef NOASSERT
93 ASSERTIONS = -DNDEBUG 91 ASSERTIONS = -DNDEBUG
94 else 92 else
95 ASSERTIONS = 93 ASSERTIONS =
96 OBJDIR := $(OBJDIR)+Asserts 94 OBJDIR := $(OBJDIR)+Asserts
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 496
499 docs: 497 docs:
500 doxygen Doxyfile 498 doxygen Doxyfile
501 @echo See file://`pwd`/docs/html/index.html 499 @echo See file://`pwd`/docs/html/index.html
502 500
503 clean: 501 clean:
504 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json 502 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json
505 503
506 clean-all: clean 504 clean-all: clean
507 rm -rf build/ docs/ 505 rm -rf build/ docs/
OLDNEW
« no previous file with comments | « Makefile ('k') | src/IceBuildDefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698