2004-05-24 12:10:47 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-03-05 09:38:30 -06:00
|
|
|
# $Revision: 1.83 $
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2008-03-05 09:38:30 -06:00
|
|
|
# last change: $Author: kz $ $Date: 2008-03-05 16:38:30 $
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# The Contents of this file are made available subject to
|
|
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# GNU Lesser General Public License Version 2.1
|
|
|
|
# =============================================
|
|
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# This library is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
|
|
# License version 2.1, as published by the Free Software Foundation.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# This library is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
# Lesser General Public License for more details.
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
2005-09-07 12:25:05 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
|
|
# License along with this library; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
|
|
# MA 02111-1307 USA
|
2004-05-24 12:10:47 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
2005-10-13 03:33:47 -05:00
|
|
|
|
2004-05-24 12:10:47 -05:00
|
|
|
PRJ=..
|
2004-11-18 01:18:53 -06:00
|
|
|
PRJNAME=instsetoo_native
|
2004-05-24 12:10:47 -05:00
|
|
|
TARGET=util
|
2004-10-14 06:57:56 -05:00
|
|
|
GEN_HID2=TRUE
|
2004-05-24 12:10:47 -05:00
|
|
|
|
|
|
|
.INCLUDE: settings.mk
|
2007-03-01 08:58:43 -06:00
|
|
|
.INCLUDE: $(SOLARINCDIR)$/rtlbootstrap.mk
|
2005-02-18 03:15:05 -06:00
|
|
|
|
2006-10-13 04:37:05 -05:00
|
|
|
# PERL:=@echo
|
|
|
|
|
2005-03-18 03:16:29 -06:00
|
|
|
PYTHONPATH:=$(PWD)$/$(BIN);$(SOLARLIBDIR);$(SOLARLIBDIR)$/python;$(SOLARLIBDIR)$/python$/lib-dynload
|
2005-02-15 11:48:17 -06:00
|
|
|
.EXPORT: PYTHONPATH
|
2005-02-15 05:30:17 -06:00
|
|
|
|
2006-07-13 09:15:45 -05:00
|
|
|
.IF "$(CWS_WORK_STAMP)=="" || "$(UPDATER)!=""
|
|
|
|
ENABLE_DOWNLOADSETS*=TRUE
|
|
|
|
.ENDIF # "$(CWS_WORK_STAMP)=="" || "$(UPDATER)!=""
|
|
|
|
.IF "$(FORCE_DOWNLOADSETS)"!=""
|
|
|
|
ENABLE_DOWNLOADSETS=TRUE
|
|
|
|
.ENDIF # "$(FORCE_DOWNLOADSETS)"!=""
|
|
|
|
|
|
|
|
.EXPORT: ENABLE_DOWNLOADSETS
|
2004-07-06 09:06:39 -05:00
|
|
|
.EXPORT: LAST_MINOR
|
2004-11-18 01:18:53 -06:00
|
|
|
.EXPORT: PRJ
|
|
|
|
.EXPORT: PRJNAME
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-07-29 05:31:20 -05:00
|
|
|
.IF "$(OS)"=="LINUX"
|
2005-07-29 05:28:34 -05:00
|
|
|
DONT_REMOVE_PACKAGE:=TRUE
|
|
|
|
.EXPORT: DONT_REMOVE_PACKAGE
|
2007-08-03 05:23:21 -05:00
|
|
|
.ENDIF # "$(OS)"=="LINUX"
|
2005-07-29 05:28:34 -05:00
|
|
|
|
2004-12-10 10:03:50 -06:00
|
|
|
.INCLUDE .IGNORE: $(SRC_ROOT)$/cwsname.mk
|
|
|
|
|
2004-05-24 12:10:47 -05:00
|
|
|
SHARED_COM_SDK_PATH*:=.
|
|
|
|
|
|
|
|
INSTALLDIR=$(OUT)
|
|
|
|
|
|
|
|
.INCLUDE: target.mk
|
|
|
|
|
2005-02-15 11:48:17 -06:00
|
|
|
LOCALPYFILES= \
|
|
|
|
$(BIN)$/uno.py \
|
|
|
|
$(BIN)$/unohelper.py \
|
|
|
|
$(BIN)$/pythonloader.py \
|
2005-11-11 03:39:44 -06:00
|
|
|
$(BIN)$/pythonscript.py \
|
2006-03-22 03:55:10 -06:00
|
|
|
$(BIN)$/officehelper.py \
|
2005-11-11 03:39:44 -06:00
|
|
|
$(BIN)$/mailmerge.py
|
2005-02-15 11:48:17 -06:00
|
|
|
|
2005-03-15 02:47:15 -06:00
|
|
|
# PKGFORMAT taken from environment. See possible
|
|
|
|
# values below.
|
|
|
|
#
|
2004-11-18 01:18:53 -06:00
|
|
|
# epm supports the following formats:
|
|
|
|
# aix - AIX software distribution
|
|
|
|
# bsd - FreeBSD, NetBSD, or OpenBSD software distribution
|
|
|
|
# depot or swinstall - HP-UX software distribution
|
2005-08-18 06:49:13 -05:00
|
|
|
# deb - Debian software distribution
|
2004-11-18 01:18:53 -06:00
|
|
|
# inst or tardist - IRIX software distribution
|
|
|
|
# osx - MacOS X software distribution
|
|
|
|
# pkg - Solaris software distribution
|
|
|
|
# rpm - RedHat software distribution
|
|
|
|
# setld - Tru64 (setld) software distribution
|
|
|
|
# native - "Native" software distribution for the platform
|
|
|
|
# portable - Portable software distribution
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-05-13 10:11:15 -05:00
|
|
|
.IF "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
|
2005-02-25 02:48:42 -06:00
|
|
|
ALLTAR : $(LOCALPYFILES)
|
|
|
|
@echo "No EPM: do no packaging at this stage"
|
2005-05-13 10:11:15 -05:00
|
|
|
.ELSE # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
|
2005-05-03 09:03:31 -05:00
|
|
|
.IF "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
|
2006-07-10 12:59:28 -05:00
|
|
|
.IF "$(BUILD_TYPE)"=="$(BUILD_TYPE:s/ODK//)"
|
2006-03-22 04:02:24 -06:00
|
|
|
ALLTAR : openoffice
|
|
|
|
.ELSE
|
2007-11-22 05:01:10 -06:00
|
|
|
ALLTAR : openoffice sdkoo_en-US ure_en-US
|
2006-03-22 04:02:24 -06:00
|
|
|
.ENDIF
|
2004-11-16 06:32:13 -06:00
|
|
|
.ELSE # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
|
|
|
|
ALLTAR : updatepack
|
|
|
|
.ENDIF # "$(UPDATER)"=="" || "$(USE_PACKAGER)"==""
|
2005-05-13 10:11:15 -05:00
|
|
|
.ENDIF # "$(GUI)"!="WNT" && "$(EPM)"=="NO" && "$(USE_PACKAGER)"==""
|
2004-07-29 10:36:31 -05:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(MAKETARGETS:e)"!=""
|
|
|
|
PKGFORMAT+=$(MAKETARGETS:e:s/.//)
|
|
|
|
.ENDIF # "$(MAKETARGETS:e)"!=""
|
|
|
|
|
2005-04-20 05:39:06 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
2005-08-18 06:49:13 -05:00
|
|
|
PKGFORMATSWITCH=-format xxx
|
2005-04-20 05:39:06 -05:00
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
|
|
|
|
2004-07-29 10:36:31 -05:00
|
|
|
updatepack:
|
2007-01-25 09:02:30 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/packager.pl
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.IF "$(alllangiso)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-07-11 09:37:26 -05:00
|
|
|
openoffice: $(foreach,i,$(alllangiso) openoffice_$i)
|
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
openofficedev: $(foreach,i,$(alllangiso) openofficedev_$i)
|
|
|
|
|
2006-10-13 04:37:05 -05:00
|
|
|
openofficedevarchive: $(foreach,i,$(alllangiso) openofficedevarchive_$i)
|
|
|
|
|
2005-08-05 08:01:21 -05:00
|
|
|
openofficewithjre: $(foreach,i,$(alllangiso) openofficewithjre_$i)
|
|
|
|
|
|
|
|
ooolanguagepack : $(foreach,i,$(alllangiso) ooolanguagepack_$i)
|
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
ooodevlanguagepack: $(foreach,i,$(alllangiso) ooodevlanguagepack_$i)
|
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
sdkoo: $(foreach,i,$(alllangiso) sdkoo_$i)
|
|
|
|
|
2007-08-20 09:32:56 -05:00
|
|
|
ure: $(foreach,i,$(alllangiso) ure_$i)
|
|
|
|
|
2007-05-10 09:10:36 -05:00
|
|
|
broffice: $(foreach,i,$(alllangiso) broffice_$i)
|
|
|
|
|
|
|
|
brofficedev: $(foreach,i,$(alllangiso) brofficedev_$i)
|
|
|
|
|
|
|
|
brofficewithjre: $(foreach,i,$(alllangiso) brofficewithjre_$i)
|
|
|
|
|
|
|
|
broolanguagepack : $(foreach,i,$(alllangiso) broolanguagepack_$i)
|
|
|
|
|
|
|
|
sdkbro: $(foreach,i,$(alllangiso) sdkbro_$i)
|
|
|
|
|
2007-10-15 06:35:41 -05:00
|
|
|
ooowoure: $(foreach,i,$(alllangiso) ooowoure_$i)
|
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
MSIOFFICETEMPLATESOURCE=$(PRJ)$/inc_openoffice$/windows$/msi_templates
|
|
|
|
MSILANGPACKTEMPLATESOURCE=$(PRJ)$/inc_ooolangpack$/windows$/msi_templates
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATESOURCE=$(PRJ)$/inc_ure$/windows$/msi_templates
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATESOURCE=$(PRJ)$/inc_sdkoo$/windows$/msi_templates
|
2006-09-15 08:38:43 -05:00
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
.IF "$(BUILD_SPECIAL)"!=""
|
|
|
|
MSIOFFICETEMPLATEDIR=$(MSIOFFICETEMPLATESOURCE)
|
|
|
|
MSILANGPACKTEMPLATEDIR=$(MSILANGPACKTEMPLATESOURCE)
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATEDIR=$(MSISDKOOTEMPLATESOURCE)
|
2006-01-03 05:47:32 -06:00
|
|
|
MSIURETEMPLATEDIR=$(MSIURETEMPLATESOURCE)
|
2005-05-03 09:03:31 -05:00
|
|
|
.ELSE # "$(BUILD_SPECIAL)"!=""
|
2007-06-11 07:59:00 -05:00
|
|
|
NOLOGOSPLASH:=$(BIN)$/intro.zip
|
|
|
|
DEVNOLOGOSPLASH:=$(BIN)$/dev$/intro.zip
|
2007-08-03 05:23:21 -05:00
|
|
|
BROFFICENOLOGOSPLASH:=$(BIN)$/broffice$/intro.zip
|
|
|
|
BROFFICEDEVNOLOGOSPLASH:=$(BIN)$/broffice_dev$/intro.zip
|
2005-05-03 09:03:31 -05:00
|
|
|
MSIOFFICETEMPLATEDIR=$(MISC)$/openoffice$/msi_templates
|
|
|
|
MSILANGPACKTEMPLATEDIR=$(MISC)$/ooolangpack$/msi_templates
|
2005-12-21 05:52:58 -06:00
|
|
|
MSIURETEMPLATEDIR=$(MISC)$/ure$/msi_templates
|
2005-11-09 02:46:45 -06:00
|
|
|
MSISDKOOTEMPLATEDIR=$(MISC)$/sdkoo$/msi_templates
|
2006-09-15 08:38:43 -05:00
|
|
|
|
2007-08-03 05:23:21 -05:00
|
|
|
ADDDEPS=$(NOLOGOSPLASH) $(DEVNOLOGOSPLASH) $(BROFFICENOLOGOSPLASH) $(BROFFICEDEVNOLOGOSPLASH)
|
2007-01-03 03:13:53 -06:00
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
ADDDEPS+=hack_msitemplates
|
|
|
|
.ENDIF
|
2005-05-03 09:03:31 -05:00
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i) : $(ADDDEPS)
|
2005-06-17 08:10:41 -05:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) openofficedev_$i) : $(ADDDEPS)
|
|
|
|
|
2006-10-13 04:37:05 -05:00
|
|
|
$(foreach,i,$(alllangiso) openofficedevarchive_$i) : $(ADDDEPS)
|
|
|
|
|
2005-06-17 08:10:41 -05:00
|
|
|
$(foreach,i,$(alllangiso) openofficewithjre_$i) : $(ADDDEPS)
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $(ADDDEPS)
|
2005-08-30 02:52:51 -05:00
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $(ADDDEPS)
|
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
$(foreach,i,$(alllangiso) sdkoo_$i) : $(ADDDEPS)
|
|
|
|
|
2005-09-26 07:17:39 -05:00
|
|
|
$(foreach,i,$(alllangiso) ure_$i) : $(ADDDEPS)
|
|
|
|
|
2007-05-10 09:10:36 -05:00
|
|
|
$(foreach,i,$(alllangiso) broffice_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) brofficedev_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) brofficewithjre_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) broolanguagepack_$i) : $(ADDDEPS)
|
|
|
|
|
|
|
|
$(foreach,i,$(alllangiso) sdkbro_$i) : $(ADDDEPS)
|
|
|
|
|
2007-10-15 06:35:41 -05:00
|
|
|
$(foreach,i,$(alllangiso) ooowoure_$i) : $(ADDDEPS)
|
|
|
|
|
2005-08-30 02:52:51 -05:00
|
|
|
.IF "$(MAKETARGETS)"!=""
|
|
|
|
$(MAKETARGETS) : $(ADDDEPS)
|
|
|
|
.ENDIF # "$(MAKETARGETS)"!=""
|
2005-09-26 07:17:39 -05:00
|
|
|
|
2005-08-05 08:01:21 -05:00
|
|
|
.ENDIF # "$(BUILD_SPECIAL)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2007-11-26 06:21:14 -06:00
|
|
|
.IF "$(OS)" == "MACOSX"
|
|
|
|
DMGDEPS=$(BIN)$/{osxdndinstall.png DS_Store}
|
|
|
|
$(foreach,i,$(alllangiso) {openoffice openofficedev openofficedevarchive openofficewithjre broffice brofficedev brofficewithjre ooowoure}_$i) : $(DMGDEPS)
|
|
|
|
.ENDIF # "$(OS)" == "MACOSX"
|
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i) : $$@{$(PKGFORMAT:^".")}
|
2005-08-30 02:52:51 -05:00
|
|
|
.IF "$(MAKETARGETS)"!="" && "$(PKGFORMAT)"!=""
|
2006-10-13 04:37:05 -05:00
|
|
|
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" && "$(MAKETARGETS:s/archive//)"=="$(MAKETARGETS)"
|
2005-08-30 02:52:51 -05:00
|
|
|
$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
|
2006-10-13 04:37:05 -05:00
|
|
|
.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" && "$(MAKETARGETS:s/archive//)"=="$(MAKETARGETS)"
|
2005-08-30 02:52:51 -05:00
|
|
|
.ENDIF # "$(MAKETARGETS)"!="" && "$(PKGFORMAT)"!=""
|
2005-08-18 06:49:13 -05:00
|
|
|
openoffice_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
openoffice_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-12-07 06:05:34 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2004-09-08 09:00:25 -05:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) openofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
openofficewithjre_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
openofficewithjre_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2005-06-17 08:10:41 -05:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) openofficedev_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
openofficedev_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
openofficedev_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-12-07 06:05:34 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product OpenOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2005-11-09 02:46:45 -06:00
|
|
|
|
2006-10-13 04:37:05 -05:00
|
|
|
openofficedevarchive_% :
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -format archive
|
2006-10-13 04:37:05 -05:00
|
|
|
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) ooolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ooolanguagepack_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
ooolanguagepack_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2007-11-02 08:18:12 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) ooodevlanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ooodevlanguagepack_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
ooodevlanguagepack_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-11-14 08:11:34 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-11-02 08:18:12 -05:00
|
|
|
|
2005-11-09 02:46:45 -06:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) sdkoo_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
sdkoo_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
sdkoo_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) -dontstrip $(PKGFORMATSWITCH)) -log
|
2005-11-09 02:46:45 -06:00
|
|
|
|
2007-08-20 09:32:56 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) ure_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ure_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
ure_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst \
|
|
|
|
-l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p URE -u $(OUT) -buildid $(BUILD) $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH)) \
|
|
|
|
-msitemplate $(MSIURETEMPLATEDIR) \
|
|
|
|
-msilanguage $(COMMONMISC)$/win_ulffiles
|
|
|
|
|
2007-05-10 09:10:36 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) broffice_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
.IF "$(MAKETARGETS)"!="" && "$(PKGFORMAT)"!=""
|
|
|
|
.IF "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" && "$(MAKETARGETS:s/archive//)"=="$(MAKETARGETS)"
|
|
|
|
$(MAKETARGETS) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
$(MAKETARGETS){$(PKGFORMAT:^".")} : $(ADDDEPS)
|
|
|
|
.ENDIF # "$(MAKETARGETS:e)"=="" && "$(MAKETARGETS:s/_//)"!="$(MAKETARGETS)" && "$(MAKETARGETS:s/archive//)"=="$(MAKETARGETS)"
|
|
|
|
.ENDIF # "$(MAKETARGETS)"!="" && "$(PKGFORMAT)"!=""
|
|
|
|
broffice_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
broffice_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-12-07 06:05:34 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product BrOffice --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2007-05-10 09:10:36 -05:00
|
|
|
|
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) brofficewithjre_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
brofficewithjre_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
brofficewithjre_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice_wJRE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-05-10 09:10:36 -05:00
|
|
|
|
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) brofficedev_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
brofficedev_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
brofficedev_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice_Dev -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-12-07 06:05:34 -06:00
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/gen_update_info.pl --buildid $(BUILD) --arch "$(RTL_ARCH)" --os "$(RTL_OS)" --lstfile $(PRJ)$/util$/openoffice.lst --product BrOffice_Dev --languages $(subst,$(@:s/_/ /:1)_, $(@:b)) $(PRJ)$/util$/update.xml > $(MISC)/$(@:b)_$(RTL_OS)_$(RTL_ARCH)$(@:e).update.xml
|
2007-05-10 09:10:36 -05:00
|
|
|
|
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) broolanguagepack_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
broolanguagepack_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
broolanguagepack_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice -u $(OUT) -buildid $(BUILD) -msitemplate $(MSILANGPACKTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles -languagepack $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
2007-05-10 09:10:36 -05:00
|
|
|
|
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) sdkbro_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
sdkbro_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
sdkbro_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
2007-09-06 04:01:35 -05:00
|
|
|
+$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p BrOffice_SDK -u $(OUT) -buildid $(BUILD) -msitemplate $(MSISDKOOTEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) -dontstrip $(PKGFORMATSWITCH))
|
2007-05-10 09:10:36 -05:00
|
|
|
|
2007-10-15 06:35:41 -05:00
|
|
|
.IF "$(PKGFORMAT)"!=""
|
|
|
|
$(foreach,i,$(alllangiso) ooowoure_$i) : $$@{$(PKGFORMAT:^".")}
|
|
|
|
ooowoure_%{$(PKGFORMAT:^".")} :
|
|
|
|
.ELSE # "$(PKGFORMAT)"!=""
|
|
|
|
ooowoure_% :
|
|
|
|
.ENDIF # "$(PKGFORMAT)"!=""
|
|
|
|
$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f $(PRJ)$/util$/openoffice.lst -l $(subst,$(@:s/_/ /:1)_, $(@:b)) -p OpenOffice_woURE -u $(OUT) -buildid $(BUILD) -msitemplate $(MSIOFFICETEMPLATEDIR) -msilanguage $(COMMONMISC)$/win_ulffiles $(subst,xxx,$(@:e:s/.//) $(PKGFORMATSWITCH))
|
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.ELSE # "$(alllangiso)"!=""
|
2004-05-24 12:10:47 -05:00
|
|
|
openoffice:
|
2006-10-05 04:29:45 -05:00
|
|
|
@echo cannot pack nothing...
|
2004-05-24 12:10:47 -05:00
|
|
|
|
2004-06-28 07:39:36 -05:00
|
|
|
.ENDIF # "$(alllangiso)"!=""
|
2005-02-15 11:48:17 -06:00
|
|
|
|
|
|
|
.IF "$(LOCALPYFILES)"!=""
|
2005-08-18 06:49:13 -05:00
|
|
|
.IF "$(PKGFORMAT)"==""
|
2007-11-02 08:18:12 -05:00
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i openofficewithjre_$i openofficedev_$i broffice_$i brofficewithjre_$i brofficedev_$i openofficedevarchive_$i ooolanguagepack_$i ooodevlanguagepack_$i sdkoo_$i ooowoure_$i) updatepack : $(LOCALPYFILES) $(BIN)$/cp1251.py $(BIN)$/iso8859_1.py
|
2005-08-18 06:49:13 -05:00
|
|
|
.ELSE # "$(PKGFORMAT)"==""
|
2007-11-02 08:18:12 -05:00
|
|
|
$(foreach,i,$(alllangiso) openoffice_$i{$(PKGFORMAT:^".")} openofficewithjre_$i{$(PKGFORMAT:^".")} openofficedev_$i{$(PKGFORMAT:^".")} broffice_$i{$(PKGFORMAT:^".")} brofficewithjre_$i{$(PKGFORMAT:^".")} brofficedev_$i{$(PKGFORMAT:^".")} openofficedevarchive_$i ooolanguagepack_$i{$(PKGFORMAT:^".")} ooodevlanguagepack_$i{$(PKGFORMAT:^".")} sdkoo_$i{$(PKGFORMAT:^".")} ooowoure_$i{$(PKGFORMAT:^".")}) updatepack : $(LOCALPYFILES) $(BIN)$/cp1251.py $(BIN)$/iso8859_1.py
|
2005-08-18 06:49:13 -05:00
|
|
|
.ENDIF # "$(PKGFORMAT)"==""
|
2005-02-15 11:48:17 -06:00
|
|
|
.ENDIF # "$(LOCALPYFILES)"!=""
|
|
|
|
|
|
|
|
$(BIN)$/%.py : $(SOLARSHAREDBIN)$/pyuno$/%.py
|
2007-01-25 09:02:30 -06:00
|
|
|
@$(COPY) $< $@
|
2005-05-03 09:03:31 -05:00
|
|
|
|
2005-06-09 07:48:02 -05:00
|
|
|
.IF "$(SYSTEM_PYTHON)" != "YES"
|
2005-05-04 08:18:46 -05:00
|
|
|
$(BIN)$/cp1251.py : $(SOLARLIBDIR)$/python$/encodings$/cp1251.py
|
2007-01-25 09:02:30 -06:00
|
|
|
@$(COPY) $< $@
|
2005-11-04 02:48:24 -06:00
|
|
|
$(BIN)$/iso8859_1.py : $(SOLARLIBDIR)$/python$/encodings$/iso8859_1.py
|
2007-01-25 09:02:30 -06:00
|
|
|
@$(COPY) $< $@
|
2005-06-09 07:48:02 -05:00
|
|
|
.ELSE
|
2007-08-03 05:23:21 -05:00
|
|
|
$(BIN)$/cp1251.py :
|
2006-10-05 04:29:45 -05:00
|
|
|
@echo "Using system python - nothing more to do here"
|
2007-08-03 05:23:21 -05:00
|
|
|
$(BIN)$/iso8859_1.py :
|
2006-10-05 04:29:45 -05:00
|
|
|
@echo "Using system python - nothing more to do here"
|
2005-06-09 07:48:02 -05:00
|
|
|
.ENDIF
|
2005-05-04 08:18:46 -05:00
|
|
|
|
2007-06-11 07:59:00 -05:00
|
|
|
$(BIN)$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_nologo$/intro.zip
|
|
|
|
$(COPY) $< $@
|
|
|
|
|
|
|
|
$(BIN)$/dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/openoffice_dev_nologo$/intro.zip
|
|
|
|
@-$(MKDIR) $(@:d)
|
2007-01-25 09:02:30 -06:00
|
|
|
$(COPY) $< $@
|
2005-05-03 09:03:31 -05:00
|
|
|
|
2007-08-03 05:23:21 -05:00
|
|
|
$(BIN)$/broffice_dev$/intro.zip : $(SOLARCOMMONPCKDIR)$/broffice_dev_nologo$/intro.zip
|
|
|
|
@-$(MKDIR) $(@:d)
|
|
|
|
$(COPY) $< $@
|
|
|
|
|
|
|
|
$(BIN)$/broffice$/intro.zip : $(SOLARCOMMONPCKDIR)$/broffice_nologo$/intro.zip
|
|
|
|
@-$(MKDIR) $(@:d)
|
|
|
|
$(COPY) $< $@
|
|
|
|
|
2007-11-26 06:21:14 -06:00
|
|
|
$(BIN)$/{osxdndinstall.png DS_Store} : $(PRJ)$/res$/$$(@:f)
|
|
|
|
@$(COPY) $< $@
|
|
|
|
|
2005-05-03 09:03:31 -05:00
|
|
|
hack_msitemplates .PHONY:
|
2007-01-25 09:02:30 -06:00
|
|
|
-$(MKDIRHIER) $(MSIOFFICETEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSILANGPACKTEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSIURETEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSISDKOOTEMPLATEDIR)
|
|
|
|
-$(MKDIRHIER) $(MSIURETEMPLATEDIR)
|
2005-05-03 09:03:31 -05:00
|
|
|
$(GNUCOPY) -ua $(MSIOFFICETEMPLATESOURCE) $(MSIOFFICETEMPLATEDIR:d:d)
|
|
|
|
$(GNUCOPY) -ua $(MSILANGPACKTEMPLATESOURCE) $(MSILANGPACKTEMPLATEDIR:d:d)
|
2005-12-21 05:52:58 -06:00
|
|
|
$(GNUCOPY) -ua $(MSIURETEMPLATESOURCE) $(MSIURETEMPLATEDIR:d:d)
|
2005-11-09 02:46:45 -06:00
|
|
|
$(GNUCOPY) -ua $(MSISDKOOTEMPLATESOURCE) $(MSISDKOOTEMPLATEDIR:d:d)
|
2006-01-03 05:47:32 -06:00
|
|
|
$(GNUCOPY) -ua $(MSIURETEMPLATESOURCE) $(MSIURETEMPLATEDIR:d:d)
|
2007-01-25 09:02:30 -06:00
|
|
|
$(RM) $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(RM) $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIOFFICETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSILANGPACKTEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSISDKOOTEMPLATEDIR)$/Binary$/Image.bmp
|
|
|
|
$(COPY) $(PRJ)$/res$/nologoinstall.bmp $(MSIURETEMPLATEDIR)$/Binary$/Image.bmp
|
2005-05-03 09:03:31 -05:00
|
|
|
|
2006-09-15 08:38:43 -05:00
|
|
|
|