1/// ************************************************************* 2/// 3/// Licensed to the Apache Software Foundation (ASF) under one 4/// or more contributor license agreements. See the NOTICE file 5/// distributed with this work for additional information 6/// regarding copyright ownership. The ASF licenses this file 7/// to you under the Apache License, Version 2.0 (the 8/// "License"); you may not use this file except in compliance 9/// with the License. You may obtain a copy of the License at 10/// 11/// http://www.apache.org/licenses/LICENSE-2.0 12/// 13/// Unless required by applicable law or agreed to in writing, 14/// software distributed under the License is distributed on an 15/// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16/// KIND, either express or implied. See the License for the 17/// specific language governing permissions and limitations 18/// under the License. 19/// 20/// ************************************************************* 21 22#include <types.mk> 23using namespace gb::types; 24 25// GNU make specific setup 26static const Command SHELL; 27 28 29// gbuild root directorys 30static Path SRCDIR; 31static Path OUTDIR; 32static Path WORKDIR; 33 34// Expected from configure/environment 35static const Integer OSL_DEBUG_LEVEL; 36static const List<Path> JDKINCS; 37static const List<Path> SOLARINC; 38static const List<Path> SOLARLIB; 39static const Path GBUILDDIR; 40static const Path INPATH; 41static const Path JAVA_HOME; 42static const Path UPD; 43static const String CVER; 44static const String LIBXML_CFLAGS; 45static const String OS; 46static const Bool DEBUG; 47static const Bool PRODUCT; 48 49// gbuild global variables derived from the configure/environment 50// some of these are defined per platform 51namespace gb 52{ 53 /// building with generated dependencies 54 static const Bool FULLDEPS; 55 /// product build or non-product build with additional assertions and tests 56 static const Bool PRODUCT; 57 /// command to run awk scripts 58 static const Command AWK; 59 /// command to compile c source files 60 static const Command CC; 61 /// command to compile c++ source files 62 static const Command CXX; 63 /// command to process input with a gcc compatible preprocessor 64 static const Command GCCP; 65 /// command to link objects on the microsoft toolchain 66 static const Command LINK; 67 /// command to create a unique temporary file 68 static const Command MKTEMP; 69 /// debuglevel: 70 /// 0=no debugging, 71 /// 1=non-product build, 72 /// 2=debugging build (either product or nonproduct) 73 static const Integer DEBUGLEVEL; 74 /// compiler specific optimization flags 75 static const List<String> COMPILEROPTFLAGS; 76 /// default c compilation compiler flags 77 static const List<String> CFLAGS; 78 /// compiler specific defines 79 static const List<String> COMPILERDEFS; 80 /// cpu-specific default defines 81 static const List<String> CPUDEFS; 82 /// default c++ compilation compiler flags 83 static const List<String> CXXFLAGS; 84 /// platform- and compilerindependent default defines 85 static const List<String> GLOBALDEFS; 86 /// default objective c++ compilation compiler flags 87 static const List<String> OBJCXXFLAGS; 88 /// platfomspecific default defines 89 static const List<String> OSDEFS; 90 /// ? 91 static const Path SDKDIR; 92}; 93 94// PTHREAD_CFLAGS (Linux) 95// SYSTEM_ICU (Linux) 96// SYSTEM_JPEG (Linux) 97// SYSTEM_LIBXML (Linux) 98// USE_SYSTEM_STL (Linux) 99 100/* vim: set filetype=cpp : */ 101