2b4fd2c89a
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
81 lines
3 KiB
Makefile
81 lines
3 KiB
Makefile
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
# This file incorporates work covered by the following license notice:
|
|
#
|
|
# 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 .
|
|
#
|
|
|
|
ifneq "$(OO_SDK_OUT)" ""
|
|
OUT=$(subst \,/,$(OO_SDK_OUT))/$(OS)example.out
|
|
else
|
|
OUT=$(PRJ)/$(OS)example.out
|
|
endif
|
|
|
|
UNOPKG_EXT=uno.pkg
|
|
UNOOXT_EXT=oxt
|
|
|
|
OUT_BIN=$(OUT)/bin
|
|
OUT_INC=$(OUT)/inc
|
|
OUT_SLO=$(OUT)/slo
|
|
OUT_LIB=$(OUT)/lib
|
|
OUT_SLB=$(OUT)/slb
|
|
OUT_MISC=$(OUT)/misc
|
|
OUT_OBJ=$(OUT)/obj
|
|
OUT_CLASS=$(OUT)/class
|
|
IDL_DIR=$(PRJ)/idl
|
|
BIN_DIR=$(PRJ)/bin
|
|
CLASSES_DIR=$(PRJ)/classes
|
|
URE_CLASSES_DIR=$(subst \,/,$(OO_SDK_URE_JAVA_DIR))
|
|
OFFICE_CLASSES_DIR=$(subst \,/,$(OFFICE_PROGRAM_PATH))/classes
|
|
COMP_PACKAGE_DIR=$(subst /,$(PS),$(OUT_BIN))
|
|
|
|
SDKTYPEFLAG=$(OUT_MISC)/oosdk_cpp_types.flag
|
|
|
|
URE_TYPES="$(subst \,/,$(URE_MISC)$(PS)types.rdb)"
|
|
URE_SERVICES=$(subst \\,\,$(URE_MISC)$(PS)services.rdb)
|
|
|
|
OFFICE_TYPES="$(subst \,/,$(OFFICE_PROGRAM_PATH)$(PS)types$(PS)offapi.rdb)"
|
|
OFFICE_SERVICES=$(subst \\,\,$(OFFICE_PROGRAM_PATH)$(PS)services$(PS)services.rdb)
|
|
|
|
OFFICE_TYPE_LIBRARY="$(OFFICE_TYPES)"
|
|
|
|
JAVA_OPTIONS=
|
|
ifneq "$(OO_SDK_JAVA_HOME)" ""
|
|
JAVA_BITS := $(shell $(OO_SDK_JAVA_HOME)/$(JAVABIN)/java -version 2>&1 | tail -1 | cut -d " " -f3)
|
|
ifeq "$(JAVA_BITS)" "64-Bit"
|
|
JAVA_OPTIONS=-d32
|
|
endif
|
|
endif
|
|
|
|
DEPLOYTOOL="$(OFFICE_PROGRAM_PATH)$(PS)unopkg" add -f
|
|
SDK_JAVA="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/java" $(JAVA_OPTIONS)
|
|
SDK_JAVAC="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/javac"
|
|
SDK_JAR="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/jar"
|
|
SDK_ZIP="$(OO_SDK_ZIP_HOME)/zip"
|
|
IDLC="$(OO_SDK_HOME)/bin/idlc"
|
|
CPPUMAKER="$(OO_SDK_HOME)/bin/cppumaker"
|
|
JAVAMAKER="$(OO_SDK_HOME)/bin/javamaker"
|
|
REGMERGE="$(OO_SDK_URE_HOME)/bin/regmerge"
|
|
REGCOMP="$(OO_SDK_URE_HOME)/bin/regcomp"
|
|
|
|
SDK_JAVA_UNO_BOOTSTRAP_FILES=\
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$CustomURLClassLoader.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/Loader$$Drain.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/InstallationFinder.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/InstallationFinder$$StreamGobbler.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/WinRegKey.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)com/sun/star/lib/loader/WinRegKeyException.class$(SQM) \
|
|
-C $(CLASSES_DIR) $(SQM)win/unowinreg.dll$(SQM)
|