diff options
-rw-r--r-- | instsetoo_native/prj/build.lst | 3 | ||||
-rw-r--r-- | instsetoo_native/prj/d.lst | 4 | ||||
-rw-r--r-- | instsetoo_native/util/makefile.mk | 111 | ||||
-rw-r--r-- | instsetoo_native/util/openoffice.lst | 18 |
4 files changed, 136 insertions, 0 deletions
diff --git a/instsetoo_native/prj/build.lst b/instsetoo_native/prj/build.lst new file mode 100644 index 000000000000..157b8d26d4ee --- /dev/null +++ b/instsetoo_native/prj/build.lst @@ -0,0 +1,3 @@ +oo instsetoo_native : UnoControls basctl chaos configmgr cpputools dbaccess desktop eventattacher extensions extras fileaccess forms io package padmin readlicense_oo remotebridges scaddins scp2 SO:epm shell sc sch chart2 sd starmath sw ucb wizards officecfg xmlhelp helpcontent MathMLDTD dictionaries bitstream_vera_fonts filter psprint_config fpicker odk embedserv pyuno crashrep scripting embeddedobj hwpfilter unoxml NULL +oo instsetoo_native usr1 - all oo_mkout NULL +oo instsetoo_native\util nmake - all oo_util NULL diff --git a/instsetoo_native/prj/d.lst b/instsetoo_native/prj/d.lst new file mode 100644 index 000000000000..e7ea19641e11 --- /dev/null +++ b/instsetoo_native/prj/d.lst @@ -0,0 +1,4 @@ +mkdir: %COMMON_DEST%\bin%_EXT%\ooo +..\util\hid.lst %COMMON_DEST%\bin%_EXT%\ooo\hid.lst + +dos: sh -c "if test %OS% = MACOSX; then create-bundle %_DEST%\lib%_EXT%\*.dylib; fi" diff --git a/instsetoo_native/util/makefile.mk b/instsetoo_native/util/makefile.mk new file mode 100644 index 000000000000..0ae4909f21be --- /dev/null +++ b/instsetoo_native/util/makefile.mk @@ -0,0 +1,111 @@ +#************************************************************************* +# +# $RCSfile: makefile.mk,v $ +# +# $Revision: 1.1 $ +# +# last change: $Author: is $ $Date: 2004-05-24 18:10:32 $ +# +# The Contents of this file are made available subject to the terms of +# either of the following licenses +# +# - GNU Lesser General Public License Version 2.1 +# - Sun Industry Standards Source License Version 1.1 +# +# Sun Microsystems Inc., October, 2000 +# +# GNU Lesser General Public License Version 2.1 +# ============================================= +# Copyright 2000 by Sun Microsystems, Inc. +# 901 San Antonio Road, Palo Alto, CA 94303, USA +# +# 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. +# +# 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. +# +# 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 +# +# +# Sun Industry Standards Source License Version 1.1 +# ================================================= +# The contents of this file are subject to the Sun Industry Standards +# Source License Version 1.1 (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.openoffice.org/license.html. +# +# Software provided under this License is provided on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, +# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, +# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. +# See the License for the specific provisions governing your rights and +# obligations concerning the Software. +# +# The Initial Developer of the Original Code is: Sun Microsystems, Inc. +# +# Copyright: 2000 by Sun Microsystems, Inc. +# +# All Rights Reserved. +# +# Contributor(s): _______________________________________ +# +# +# +#************************************************************************* +PRJ=.. +PRJNAME=OpenOffice +TARGET=util + +.INCLUDE: settings.mk + +SHARED_COM_SDK_PATH*:=. + +INSTALLDIR=$(OUT) + +SEARCH_DIR:=. +.IF "$(BUILD_SPECIAL)"!="" +.IF "$(GUI)"=="WNT" +SEARCH_DIR=r:\solenv\inst\ooo\$(OUTPATH) +.ENDIF +.ENDIF + +.INCLUDE: target.mk + +.IF "$(BSCLIENT)"=="" + +ALLTAR : openoffice + +.IF "$(alllangext)"!="" + +.IF "$(BUILD_SPECIAL)"!="" +.IF "$(OOO_RELEASE_BUILD)"=="" +openoffice: openoffice_01 +.ELSE +openoffice: $(foreach,i,$(alllangext) openoffice_$i) +.ENDIF +.ELSE +openoffice: $(foreach,i,$(alllangext) openoffice_$i) +.ENDIF + +ooolanguagepack : $(foreach,i,$(alllangext) ooolanguagepack_$i) + +openoffice_%: + +$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f openoffice.lst -l $(@:s/openoffice_//) -p OpenOffice -packagelist ..$/inc_openoffice$/unix$/packagelist.txt -u $(OUT) -buildid $(BUILD) -msitemplate ..$/inc_openoffice$/windows$/msi_templates -msilanguage ..$/inc_openoffice$/windows$/msi_languages -msifiles ..$/inc_openoffice$/windows$/msi_files + +.ELSE # "$(alllangext)"!="" +openoffice: + @+echo cannot pack nothing... + +.ENDIF # "$(alllangext)"!="" + +.ENDIF # "$(BSCLIENT)"=="" + +ooolanguagepack_%: + +$(PERL) -w $(SOLARENV)$/bin$/make_installer.pl -f openoffice.lst -l $(@:s/ooolanguagepack_//) -p OpenOffice -packagelist ..$/inc_openoffice$/unix$/packagelist_languagepack.txt -u $(OUT) -buildid $(BUILD) -msitemplate ..$/inc_openoffice$/windows$/msi_templates -msilanguage ..$/inc_openoffice$/windows$/msi_languages -msifiles ..$/inc_openoffice$/windows$/msi_files -languagepack diff --git a/instsetoo_native/util/openoffice.lst b/instsetoo_native/util/openoffice.lst new file mode 100644 index 000000000000..74b8c3712cfc --- /dev/null +++ b/instsetoo_native/util/openoffice.lst @@ -0,0 +1,18 @@ +OpenOffice +{ + Settings + { + variables + { + PRODUCTNAME OpenOffice.org + PRODUCTVERSION 680 + PRODUCTEXTENSION + LONG_PRODUCTEXTENSION + EVAL + } + active 1 + compression 5 + script setup_osl + include .,{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor},{solarpath}/lib.{minor},{solarpath}/bin.{minor}/$(LANG),{solarpath}/bin.{minor}/osl,{solarpath}/bin.{minor}/01/,{solarpath}/pck.{minor}/openoffice,{solarpath}/pck.{minor},{solarpath}/xml.{minor}/office/instance,{solarpath}/xml.{minor},{solarcommonpath}/bin.{minor},{solarcommonpath}/bin.{minor}/$(LANG),{solarpath}/bin.{minor}/$(LANG)/osl,{solarcommonpath}/bin.{minor}/$(LANG)/fat,{solarcommonpath}/bin.{minor}/01/,{solarcommonpath}/pck.{minor}/openoffice,{solarcommonpath}/pck.{minor},{solarcommonpath}/xml.{minor}/office/instance,{solarcommonpath}/xml,../../external/common,. + } +} |