diff options
author | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-05-10 16:14:47 +0200 |
---|---|---|
committer | Bjoern Michaelsen <b_michaelsen@openoffice.org> | 2010-05-10 16:14:47 +0200 |
commit | 593d41211892cdd8d6051a38d677cbe1e39951ac (patch) | |
tree | 3dd6a4ba37e5bb5b1ba7fda53e55cf1f3ed425a6 /solenv/doc/gbuild | |
parent | ad41732f4a707be8b2b3f622574176958ac4039f (diff) |
CWS gnumake2: consolidated compiler optimizations flags, updated some docs
Diffstat (limited to 'solenv/doc/gbuild')
-rw-r--r-- | solenv/doc/gbuild/solenv/gbuild/gbuild.mk | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk index ec51b7ae6b3a..97ca9b252789 100644 --- a/solenv/doc/gbuild/solenv/gbuild/gbuild.mk +++ b/solenv/doc/gbuild/solenv/gbuild/gbuild.mk @@ -28,12 +28,48 @@ static const Bool DEBUG; static const Bool PRODUCT; // gbuild global variables derived from the configure/environment +// some of these are defined per platform namespace gb { - static const Integer PRODUCT; - static const Integer DEBUGLEVEL; + /// building with generated dependencies static const Bool FULLDEPS; + /// product build or non-product build with additional assertions and tests + static const Bool PRODUCT; + /// command to run awk scripts + static const Command AWK; + /// command to compile c source files + static const Command CC; + /// command to compile c++ source files + static const Command CXX; + /// command to process input with a gcc compatible preprocessor + static const Command GCCP; + /// command to link objects on the microsoft toolchain + static const Command LINK; + /// command to create a unique temporary file + static const Command MKTEMP; + /// debuglevel: + /// 0=no debugging, + /// 1=non-product build, + /// 2=debugging build (either product or nonproduct) + static const Integer DEBUGLEVEL; + /// compiler specific optimization flags + static const List<String> COMPILEROPTFLAGS; + /// default c compilation compiler flags + static const List<String> CFLAGS; + /// compiler specific defines + static const List<String> COMPILERDEFS; + /// cpu-specific default defines + static const List<String> CPUDEFS; + /// default c++ compilation compiler flags + static const List<String> CXXFLAGS; + /// platform- and compilerindependent default defines static const List<String> GLOBALDEFS; + /// default objective c++ compilation compiler flags + static const List<String> OBJCXXFLAGS; + /// platfomspecific default defines + static const List<String> OSDEFS; + /// ? + static const Path SDKDIR; }; // GXX_INCLUDE_PATH (Linux) |