fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / odk / settings / std.mk
blob9fe1e79d3a54e9519d8a6bb12ad08aee71922f92
2 # This file is part of the LibreOffice project.
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/.
8 # This file incorporates work covered by the following license notice:
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 .
19 ifneq "$(OO_SDK_OUT)" ""
20 OUT=$(subst \,/,$(OO_SDK_OUT))/$(OS)example.out
21 else
22 OUT=$(PRJ)/$(OS)example.out
23 endif
25 UNOPKG_EXT=uno.pkg
26 UNOOXT_EXT=oxt
28 OUT_BIN=$(OUT)/bin
29 OUT_INC=$(OUT)/inc
30 OUT_SLO=$(OUT)/slo
31 OUT_LIB=$(OUT)/lib
32 OUT_SLB=$(OUT)/slb
33 OUT_MISC=$(OUT)/misc
34 OUT_OBJ=$(OUT)/obj
35 OUT_CLASS=$(OUT)/class
36 IDL_DIR=$(PRJ)/idl
37 BIN_DIR=$(PRJ)/bin
38 CLASSES_DIR=$(PRJ)/classes
39 URE_CLASSES_DIR=$(subst \,/,$(OO_SDK_URE_JAVA_DIR))
40 ifeq "$(PLATFORM)" "macosx"
41 OFFICE_CLASSES_DIR=$(subst \,/,$(OFFICE_PROGRAM_PATH))/../Resources/java
42 else
43 OFFICE_CLASSES_DIR=$(subst \,/,$(OFFICE_PROGRAM_PATH))/classes
44 endif
45 COMP_PACKAGE_DIR=$(subst /,$(PS),$(OUT_BIN))
47 SDKTYPEFLAG=$(OUT_MISC)/oosdk_cpp_types.flag
49 URE_TYPES="$(subst \,/,$(URE_MISC)$(PS)types.rdb)"
50 URE_SERVICES="$(subst \\,\,$(URE_MISC)$(PS)services.rdb)"
52 ifeq "$(PLATFORM)" "macosx"
53 OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)$(PS)..$(PS)Resources$(PS)types$(PS)offapi.rdb)"
54 OFFICE_SERVICES="$(subst \\,\,$(OFFICE_PROGRAM_PATH)$(PS)..$(PS)Resources$(PS)services$(PS)services.rdb)"
55 else
56 OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)$(PS)types$(PS)offapi.rdb)"
57 OFFICE_SERVICES="$(subst \\,\,$(OFFICE_PROGRAM_PATH)$(PS)services$(PS)services.rdb)"
58 endif
60 OFFICE_TYPE_LIBRARY="$(OFFICE_TYPES)"
62 JAVA_OPTIONS=
63 ifneq "$(OO_SDK_JAVA_HOME)" ""
64 JAVA_BITS := $(shell $(OO_SDK_JAVA_HOME)/$(JAVABIN)/java -version 2>&1 | tail -1 | cut -d " " -f3)
65 ifeq "$(JAVA_BITS)" "64-Bit"
66 ifneq "$(PROCTYPE)" "x86_64"
67 JAVA_OPTIONS=-d32
68 endif
69 endif
70 endif
72 DEPLOYTOOL="$(OFFICE_PROGRAM_PATH)$(PS)unopkg" add -f
73 SDK_JAVA="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/java" $(JAVA_OPTIONS)
74 SDK_JAVAC="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/javac"
75 SDK_JAR="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/jar"
76 SDK_ZIP="$(OO_SDK_ZIP_HOME)/zip"
77 SDK_CAT="$(OO_SDK_CAT_HOME)/cat"
78 SDK_SED="$(OO_SDK_SED_HOME)/sed"
79 IDLC="$(OO_SDK_HOME)/bin/idlc"
80 CPPUMAKER="$(OO_SDK_HOME)/bin/cppumaker"
81 JAVAMAKER="$(OO_SDK_HOME)/bin/javamaker"
82 REGMERGE="$(OO_SDK_URE_BIN_DIR)/regmerge"
84 SDK_JAVA_UNO_BOOTSTRAP_FILES=\
85 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader.class$(SQM) \
86 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
87 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$CustomURLClassLoader.class$(SQM) \
88 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
89 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/InstallationFinder.class$(SQM) \
90 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/InstallationFinder$$StreamGobbler.class$(SQM) \
91 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/WinRegKey.class$(SQM) \
92 -C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/WinRegKeyException.class$(SQM) \
93 -C $(CLASSES_DIR) $(SQM)win/unowinreg.dll$(SQM)