1/// 2/// This file is part of the LibreOffice project. 3/// 4/// This Source Code Form is subject to the terms of the Mozilla Public 5/// License, v. 2.0. If a copy of the MPL was not distributed with this 6/// file, You can obtain one at http://mozilla.org/MPL/2.0/. 7/// 8/// This file incorporates work covered by the following license notice: 9/// 10/// Licensed to the Apache Software Foundation (ASF) under one or more 11/// contributor license agreements. See the NOTICE file distributed 12/// with this work for additional information regarding copyright 13/// ownership. The ASF licenses this file to you under the Apache 14/// License, Version 2.0 (the "License"); you may not use this file 15/// except in compliance with the License. You may obtain a copy of 16/// the License at http://www.apache.org/licenses/LICENSE-2.0 . 17/// 18 19#include <types.mk> 20using namespace gb::types; 21 22// GNU make specific setup 23static const Command SHELL; 24 25 26// gbuild root directories 27static Path SRCDIR; 28static Path WORKDIR; 29 30// Expected from configure/environment 31static const Integer OSL_DEBUG_LEVEL; 32static const List<Path> SOLARINC; 33static const Path GBUILDDIR; 34static const Path JAVA_HOME; 35static const Path UPD; 36static const String LIBXML_CFLAGS; 37static const String OS; 38static const Bool DEBUG; 39 40// gbuild global variables derived from the configure/environment 41// some of these are defined per platform 42namespace gb 43{ 44 /// building with generated dependencies 45 static const Bool FULLDEPS; 46 /// command to run awk scripts 47 static const Command AWK; 48 /// command to compile c source files 49 static const Command CC; 50 /// command to compile c++ source files 51 static const Command CXX; 52 /// command to process input with a gcc compatible preprocessor 53 static const Command GCCP; 54 /// command to link objects on the microsoft toolchain 55 static const Command LINK; 56 /// command to create a unique temporary file 57 static const Command MKTEMP; 58 /// debuglevel: 59 /// 0=no debugging, 60 /// 1=non-product build, 61 /// 2=debugging build (either product or nonproduct) 62 static const Integer DEBUGLEVEL; 63 /// compiler specific optimization flags 64 static const List<String> COMPILEROPTFLAGS; 65 /// default c compilation compiler flags 66 static const List<String> CFLAGS; 67 /// compiler specific defines 68 static const List<String> COMPILERDEFS; 69 /// cpu-specific default defines 70 static const List<String> CPUDEFS; 71 /// default c++ compilation compiler flags 72 static const List<String> CXXFLAGS; 73 /// platform- and compiler independent default defines 74 static const List<String> GLOBALDEFS; 75 /// default objective c++ compilation compiler flags 76 static const List<String> OBJCXXFLAGS; 77 /// platformspecific default defines 78 static const List<String> OSDEFS; 79 /// ? 80 static const Path SDKDIR; 81}; 82 83// PTHREAD_CFLAGS (Linux) 84// SYSTEM_ICU (Linux) 85// SYSTEM_JPEG (Linux) 86// SYSTEM_LIBXML (Linux) 87// USE_SYSTEM_STL (Linux) 88 89/* vim: set filetype=cpp : */ 90