/// ************************************************************* /// /// Licensed to the Apache Software Foundation (ASF) under one /// or more contributor license agreements. See the NOTICE file /// distributed with this work for additional information /// regarding copyright ownership. The ASF licenses this file /// to you under the Apache License, Version 2.0 (the /// "License"); you may not use this file except in compliance /// with the License. You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable law or agreed to in writing, /// software distributed under the License is distributed on an /// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY /// KIND, either express or implied. See the License for the /// specific language governing permissions and limitations /// under the License. /// /// ************************************************************* #include using namespace gb::types; // GNU make specific setup static const Command SHELL; // gbuild root directorys static Path SRCDIR; static Path OUTDIR; static Path WORKDIR; // Expected from configure/environment static const Integer OSL_DEBUG_LEVEL; static const List JDKINCS; static const List SOLARINC; static const List SOLARLIB; static const Path GBUILDDIR; static const Path INPATH; static const Path JAVA_HOME; static const Path UPD; static const String CVER; static const String LIBXML_CFLAGS; static const String OS; 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 { /// 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 COMPILEROPTFLAGS; /// default c compilation compiler flags static const List CFLAGS; /// compiler specific defines static const List COMPILERDEFS; /// cpu-specific default defines static const List CPUDEFS; /// default c++ compilation compiler flags static const List CXXFLAGS; /// platform- and compilerindependent default defines static const List GLOBALDEFS; /// default objective c++ compilation compiler flags static const List OBJCXXFLAGS; /// platfomspecific default defines static const List OSDEFS; /// ? static const Path SDKDIR; }; // GXX_INCLUDE_PATH (Linux) // PTHREAD_CFLAGS (Linux) // SYSTEM_ICU (Linux) // SYSTEM_JPEG (Linux) // SYSTEM_LIBXML (Linux) // USE_SYSTEM_STL (Linux) /* vim: set filetype=cpp : */