2 gbuild - GNU make based build system for LibreOffice
5 make [ -f makefile ] [ options ] [ variable=value ... ] [ targets ] ...
8 -s Silent operation; do not print the commands as they are executed.
10 -n Print the commands that would be executed, but do not execute them.
11 -k Continue as much as possible after an error.
13 -j Specifies the number of jobs (commands) to run simultaneously.
14 -l Specifies that no new jobs (commands) should be started if there are
15 others jobs running and the load average is at least load.
17 -t Touch files (mark them up to date without really changing them)
18 instead of running their commands.
19 -W Pretend that the target file has just been modified.
20 -o Do not remake the file file even if it is older than its
21 dependencies, and do not remake anything on account of changes in file.
23 -p Print the data base (rules and variable values) that results from
24 reading the makefiles.
25 --debug=b debug make run, see GNU make man page for details
27 (descriptions from GNU make man page)
30 all build product and run unit tests (default goal)
32 unitcheck run unit tests
33 slowcheck run slow unit tests
34 subsequentcheck run system tests (requires full installation)
35 check run unit tests and if in toplevel subsequentcheck
36 clean remove all generated files
37 showdeliverables show the targets delivered to OUTDIR and their source
38 showmodules show the modules that would be loaded
39 debugrun starts the dev-install instance and allows tests to be run
41 <module> build the named module
42 <module>.clean clean the named module
43 <module>.all for dmake modules only, build the named module and
44 the pre-requisite modules for this module
45 <module>.deliver for dmake modules only, deliver the named module
46 cmd execute the command contained in the variable cmd=""
47 in a shell with config_host.mk or config_build.mk
48 environement set. (see gb_SIDE)
50 INTERACTIVE VARIABLES:
51 DEBUG / debug If not empty, build with DBGLEVEL=1 (see below).
52 ENABLE_SYMBOLS / enable_symbols
53 If not empty, build with debug symbols. Automatically
54 enabled by DEBUG/debug.
56 If not empty, force the debug level to the specified value. The
57 debug level is passed to the source code through OSL_DEBUG_LEVEL
60 1 = symbols + no optimizations
61 2 = symbols + no optimizations + extra debug output. OSL_TRACE
62 starts being active on this level.
63 3... = symbols + no optimizations + extra debug output (usually
64 extremely verbose). Levels > 2 are not used very much.
67 If not empty enable the RTL_LOGFILE_* time logging facility.
68 export RTL_LOGFILE=rtl_logfile.nopid when running office, to
69 get timestamps written out.
70 LEXFLAGS Add as flags for LEX scanner generator invocation.
71 YACCFLAGS Add as flags for YACC parser generator invocation.
72 CPPFLAGS Add as preprocessor flags for C/C++/ObjC/ObjC++ compilation.
73 CFLAGS Add as compiler flags for plain C compilation.
74 CXXFLAGS Add as compiler flags for C++ compilation.
75 OBJCFLAGS Add as compiler flags for Objective C compilation.
76 OBJCXXFLAGS Add as compiler flags for Objective C++ compilation.
77 LDFLAGS Add as linker flags.
78 gb_FULLDEPS Generate and use dependencies (on by default, handle with care).
79 gb_COLOR Use ASCII color output.
80 gb_TITLES Show progress in terminal title.
81 gb_Side Either "host" of "build" (default to "host").
82 determine if config_host.mk or config_build.mk is used to
83 set the build environment.