2004-02-05 11:10:37 -06:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2005-09-08 19:52:09 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2004-02-05 11:10:37 -06:00
|
|
|
#
|
2005-09-08 19:52:09 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2004-02-05 11:10:37 -06:00
|
|
|
#
|
2008-03-18 07:41:43 -05:00
|
|
|
# $Revision: 1.45 $
|
2004-02-05 11:10:37 -06:00
|
|
|
#
|
2008-03-18 07:41:43 -05:00
|
|
|
# last change: $Author: vg $ $Date: 2008-03-18 13:41:43 $
|
2004-02-05 11:10:37 -06:00
|
|
|
#
|
2005-09-08 19:52:09 -05:00
|
|
|
# The Contents of this file are made available subject to
|
|
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
2004-02-05 11:10:37 -06:00
|
|
|
#
|
|
|
|
#
|
2005-09-08 19:52:09 -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-02-05 11:10:37 -06:00
|
|
|
#
|
2005-09-08 19:52:09 -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-02-05 11:10:37 -06:00
|
|
|
#
|
2005-09-08 19:52:09 -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-02-05 11:10:37 -06:00
|
|
|
#
|
2005-09-08 19:52:09 -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-02-05 11:10:37 -06:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
PRJ=..
|
|
|
|
|
|
|
|
PRJNAME=scp2
|
|
|
|
TARGET=setup
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
|
|
|
|
# --- setup script -------------------------------------------------------
|
|
|
|
# SCPFLAGS= -w
|
|
|
|
|
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# Office OSL
|
|
|
|
|
|
|
|
SCP1LINK_PRODUCT_TYPE=osl
|
|
|
|
SCP1TARGET = setup_osl
|
|
|
|
SCP1FILES = installation_ooo.par \
|
|
|
|
scpaction_ooo.par \
|
|
|
|
directory_ooo.par \
|
|
|
|
datacarrier_ooo.par \
|
|
|
|
file_ooo.par \
|
|
|
|
file_extra_ooo.par \
|
|
|
|
file_font_ooo.par \
|
|
|
|
file_library_ooo.par \
|
|
|
|
file_resource_ooo.par \
|
|
|
|
shortcut_ooo.par \
|
|
|
|
module_ooo.par \
|
2005-01-31 04:02:25 -06:00
|
|
|
module_hidden_ooo.par \
|
2007-01-02 08:32:01 -06:00
|
|
|
module_langpack.par \
|
2008-01-04 10:13:28 -06:00
|
|
|
module_lang_template.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
profile_ooo.par \
|
|
|
|
profileitem_ooo.par \
|
|
|
|
module_writer.par \
|
|
|
|
file_writer.par \
|
|
|
|
module_calc.par \
|
|
|
|
file_calc.par \
|
|
|
|
module_draw.par \
|
|
|
|
file_draw.par \
|
|
|
|
module_impress.par \
|
|
|
|
file_impress.par \
|
2005-06-21 07:25:19 -05:00
|
|
|
module_base.par \
|
|
|
|
file_base.par \
|
2004-03-18 08:05:35 -06:00
|
|
|
canvascommons.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
module_math.par \
|
|
|
|
file_math.par \
|
2007-01-02 08:32:01 -06:00
|
|
|
module_systemint.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
module_graphicfilter.par \
|
|
|
|
file_graphicfilter.par \
|
|
|
|
module_testtool.par \
|
|
|
|
file_testtool.par \
|
|
|
|
file_lingu.par \
|
|
|
|
module_xsltfilter.par \
|
|
|
|
file_xsltfilter.par \
|
|
|
|
module_python.par \
|
2005-11-11 03:40:58 -06:00
|
|
|
module_python_mailmerge.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
file_python.par \
|
2005-11-11 02:55:38 -06:00
|
|
|
profileitem_python.par \
|
2008-03-18 07:41:43 -05:00
|
|
|
shortcut_python.par \
|
|
|
|
ure_into_ooo.par \
|
|
|
|
ure.par \
|
|
|
|
common_brand.par \
|
|
|
|
common_brand_readme.par \
|
|
|
|
ooo_brand.par
|
2004-02-05 11:10:37 -06:00
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
2004-11-26 14:58:59 -06:00
|
|
|
SCP1FILES += \
|
|
|
|
module_javafilter.par \
|
|
|
|
file_javafilter.par
|
2004-02-05 11:10:37 -06:00
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
|
|
|
.IF "$(GUI)"=="WNT"
|
2004-11-26 14:58:59 -06:00
|
|
|
SCP1FILES += \
|
2004-02-05 11:10:37 -06:00
|
|
|
registryitem_javafilter.par
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
SCP1FILES += \
|
|
|
|
registryitem_ooo.par \
|
|
|
|
folder_ooo.par \
|
2004-11-18 02:01:51 -06:00
|
|
|
folderitem_ooo.par \
|
2005-12-21 05:54:50 -06:00
|
|
|
windowscustomaction_ooo.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
registryitem_writer.par \
|
|
|
|
folderitem_writer.par \
|
|
|
|
registryitem_calc.par \
|
|
|
|
folderitem_calc.par \
|
|
|
|
registryitem_draw.par \
|
|
|
|
folderitem_draw.par \
|
|
|
|
registryitem_impress.par \
|
|
|
|
folderitem_impress.par \
|
2005-06-21 07:25:19 -05:00
|
|
|
registryitem_base.par \
|
|
|
|
folderitem_base.par \
|
2004-02-05 11:10:37 -06:00
|
|
|
registryitem_math.par \
|
2005-02-24 09:30:55 -06:00
|
|
|
folderitem_math.par \
|
|
|
|
module_quickstart.par \
|
2006-02-06 06:51:48 -06:00
|
|
|
file_quickstart.par \
|
2005-02-24 09:30:55 -06:00
|
|
|
registryitem_quickstart.par
|
2004-11-17 06:02:10 -06:00
|
|
|
|
2007-11-01 12:05:02 -05:00
|
|
|
.IF "$(ENABLE_DIRECTX)"!=""
|
|
|
|
SCP1FILES += directxcanvas.par
|
|
|
|
.ENDIF
|
|
|
|
|
2006-10-24 09:35:28 -05:00
|
|
|
.IF "$(DISABLE_ACTIVEX)"==""
|
2004-11-17 06:02:10 -06:00
|
|
|
SCP1FILES += \
|
2004-02-05 11:10:37 -06:00
|
|
|
module_activex.par \
|
|
|
|
file_activex.par \
|
2004-11-26 14:58:59 -06:00
|
|
|
module_winexplorerext.par \
|
|
|
|
file_winexplorerext.par \
|
|
|
|
registryitem_winexplorerext.par
|
2004-02-05 11:10:37 -06:00
|
|
|
.ENDIF
|
2004-11-17 06:02:10 -06:00
|
|
|
.ENDIF
|
|
|
|
|
2004-02-05 11:10:37 -06:00
|
|
|
.IF "$(GUI)"=="UNX"
|
2005-01-21 05:16:10 -06:00
|
|
|
.IF "$(ENABLE_GNOMEVFS)" != ""
|
2004-02-05 11:10:37 -06:00
|
|
|
SCP1FILES += \
|
2005-01-21 05:16:10 -06:00
|
|
|
module_gnome.par \
|
|
|
|
file_gnome.par
|
|
|
|
.ENDIF
|
2006-06-02 06:29:12 -05:00
|
|
|
|
|
|
|
.IF "$(ENABLE_KDE)" == "TRUE"
|
|
|
|
SCP1FILES += \
|
|
|
|
module_kde.par \
|
|
|
|
file_kde.par
|
|
|
|
.ENDIF
|
2007-05-25 08:38:02 -05:00
|
|
|
|
2007-07-27 09:31:38 -05:00
|
|
|
.IF "$(GUIBASE)" == "unx"
|
2007-05-25 08:38:02 -05:00
|
|
|
SCP1FILES += module_headless.par
|
|
|
|
.ENDIF
|
2004-02-05 11:10:37 -06:00
|
|
|
.ENDIF
|
|
|
|
|
2005-12-14 07:59:19 -06:00
|
|
|
.IF "$(ENABLE_CRASHDUMP)" != ""
|
2004-02-05 11:10:37 -06:00
|
|
|
SCP1FILES += \
|
|
|
|
file_crashrep_dynamic.par
|
|
|
|
.ENDIF
|
|
|
|
|
2004-03-18 08:05:35 -06:00
|
|
|
SCP1FILES += \
|
|
|
|
vclcanvas.par
|
2006-02-28 03:48:14 -06:00
|
|
|
|
|
|
|
.IF "$(ENABLE_CAIRO)" == "TRUE"
|
|
|
|
SCP1FILES += cairocanvas.par
|
|
|
|
.ENDIF
|
|
|
|
|
2008-03-06 05:47:26 -06:00
|
|
|
.IF "$(ENABLE_LAYOUT)" == "TRUE"
|
|
|
|
SCP1FILES += layout.par
|
|
|
|
.ENDIF # ENABLE_LAYOUT == TRUE
|
|
|
|
|
2006-08-04 04:10:35 -05:00
|
|
|
.IF "$(BUILD_SPECIAL)"!=""
|
|
|
|
SCP1FILES += \
|
|
|
|
module_onlineupdate.par \
|
|
|
|
file_onlineupdate.par
|
|
|
|
.ENDIF
|
|
|
|
|
2007-06-05 05:54:09 -05:00
|
|
|
.IF "$(OS)"=="MACOSX" && "$(GUIBASE)"=="aqua"
|
|
|
|
SCP1FILES += aqua_ooo.par
|
|
|
|
.ENDIF
|
|
|
|
|
2005-06-17 08:19:12 -05:00
|
|
|
# ------------------------------------------------------------------------
|
2005-11-09 02:40:13 -06:00
|
|
|
# OpenOffice.org with JRE
|
2005-06-17 08:19:12 -05:00
|
|
|
|
|
|
|
SCP2LINK_PRODUCT_TYPE=osl
|
|
|
|
SCP2TARGET = setup_osljre
|
|
|
|
SCP2FILES = installation_ooo.par \
|
|
|
|
scpaction_ooo.par \
|
|
|
|
directory_ooo.par \
|
|
|
|
datacarrier_ooo.par \
|
|
|
|
file_ooo.par \
|
|
|
|
file_extra_ooo.par \
|
|
|
|
file_font_ooo.par \
|
|
|
|
file_library_ooo.par \
|
|
|
|
file_resource_ooo.par \
|
|
|
|
shortcut_ooo.par \
|
|
|
|
module_ooo.par \
|
|
|
|
module_hidden_ooo.par \
|
2007-01-02 08:32:01 -06:00
|
|
|
module_langpack.par \
|
2008-01-04 10:13:28 -06:00
|
|
|
module_lang_template.par \
|
2007-01-02 08:32:01 -06:00
|
|
|
module_java.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
profile_ooo.par \
|
|
|
|
profileitem_ooo.par \
|
|
|
|
module_writer.par \
|
|
|
|
file_writer.par \
|
|
|
|
module_calc.par \
|
|
|
|
file_calc.par \
|
|
|
|
module_draw.par \
|
|
|
|
file_draw.par \
|
|
|
|
module_impress.par \
|
|
|
|
file_impress.par \
|
2005-07-01 06:21:59 -05:00
|
|
|
module_base.par \
|
|
|
|
file_base.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
canvascommons.par \
|
|
|
|
module_math.par \
|
|
|
|
file_math.par \
|
2007-01-02 08:32:01 -06:00
|
|
|
module_systemint.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
module_graphicfilter.par \
|
|
|
|
file_graphicfilter.par \
|
|
|
|
module_testtool.par \
|
|
|
|
file_testtool.par \
|
|
|
|
file_lingu.par \
|
|
|
|
module_xsltfilter.par \
|
|
|
|
file_xsltfilter.par \
|
|
|
|
module_python.par \
|
2005-11-11 03:40:58 -06:00
|
|
|
module_python_mailmerge.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
file_python.par \
|
2008-03-18 07:41:43 -05:00
|
|
|
profileitem_python.par \
|
|
|
|
shortcut_python.par \
|
|
|
|
ure_into_ooo.par \
|
|
|
|
ure.par \
|
|
|
|
common_brand.par \
|
|
|
|
common_brand_readme.par \
|
|
|
|
ooo_brand.par
|
2005-06-17 08:19:12 -05:00
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
|
|
|
SCP2FILES += \
|
|
|
|
module_javafilter.par \
|
|
|
|
file_javafilter.par
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(SOLAR_JAVA)"!=""
|
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
SCP2FILES += \
|
|
|
|
registryitem_javafilter.par
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(GUI)"=="WNT"
|
|
|
|
SCP2FILES += \
|
|
|
|
file_jre_ooo.par \
|
|
|
|
registryitem_ooo.par \
|
|
|
|
folder_ooo.par \
|
|
|
|
folderitem_ooo.par \
|
2005-12-21 05:54:50 -06:00
|
|
|
windowscustomaction_ooo.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
registryitem_writer.par \
|
|
|
|
folderitem_writer.par \
|
|
|
|
registryitem_calc.par \
|
|
|
|
folderitem_calc.par \
|
|
|
|
registryitem_draw.par \
|
|
|
|
folderitem_draw.par \
|
|
|
|
registryitem_impress.par \
|
|
|
|
folderitem_impress.par \
|
2005-07-01 06:21:59 -05:00
|
|
|
registryitem_base.par \
|
|
|
|
folderitem_base.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
registryitem_math.par \
|
|
|
|
folderitem_math.par \
|
|
|
|
module_quickstart.par \
|
2006-02-06 06:51:48 -06:00
|
|
|
file_quickstart.par \
|
2005-06-17 08:19:12 -05:00
|
|
|
registryitem_quickstart.par
|
|
|
|
|
2006-10-24 09:35:28 -05:00
|
|
|
.IF "$(DISABLE_ACTIVEX)"==""
|
2005-06-17 08:19:12 -05:00
|
|
|
SCP2FILES += \
|
|
|
|
module_activex.par \
|
|
|
|
file_activex.par \
|
|
|
|
module_winexplorerext.par \
|
|
|
|
file_winexplorerext.par \
|
|
|
|
registryitem_winexplorerext.par
|
|
|
|
.ENDIF
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
.IF "$(GUI)"=="UNX"
|
|
|
|
.IF "$(ENABLE_GNOMEVFS)" != ""
|
|
|
|
SCP2FILES += \
|
|
|
|
module_gnome.par \
|
|
|
|
file_gnome.par
|
|
|
|
.ENDIF
|
2006-06-02 06:29:12 -05:00
|
|
|
|
|
|
|
.IF "$(ENABLE_KDE)" == "TRUE"
|
|
|
|
SCP2FILES += \
|
|
|
|
module_kde.par \
|
|
|
|
file_kde.par
|
|
|
|
.ENDIF
|
2007-05-25 08:38:02 -05:00
|
|
|
|
2007-07-27 09:31:38 -05:00
|
|
|
.IF "$(GUIBASE)" == "unx"
|
2007-05-25 08:38:02 -05:00
|
|
|
SCP2FILES += module_headless.par
|
|
|
|
.ENDIF
|
2005-06-17 08:19:12 -05:00
|
|
|
.ENDIF
|
|
|
|
|
2005-12-14 07:59:19 -06:00
|
|
|
.IF "$(ENABLE_CRASHDUMP)" != ""
|
2005-06-17 08:19:12 -05:00
|
|
|
SCP2FILES += \
|
|
|
|
file_crashrep_dynamic.par
|
|
|
|
.ENDIF
|
|
|
|
|
|
|
|
SCP2FILES += \
|
|
|
|
vclcanvas.par
|
|
|
|
|
2008-03-06 05:47:26 -06:00
|
|
|
.IF "$(ENABLE_LAYOUT)" == "TRUE"
|
|
|
|
SCP2FILES += layout.par
|
|
|
|
.ENDIF # ENABLE_LAYOUT == TRUE
|
|
|
|
|
2006-08-04 04:10:35 -05:00
|
|
|
.IF "$(BUILD_SPECIAL)"!=""
|
|
|
|
SCP2FILES += \
|
|
|
|
module_onlineupdate.par \
|
|
|
|
file_onlineupdate.par
|
|
|
|
.ENDIF
|
|
|
|
|
2007-06-05 05:54:09 -05:00
|
|
|
.IF "$(OS)"=="MACOSX" && "$(GUIBASE)"=="aqua"
|
|
|
|
SCP2FILES += aqua_ooo.par
|
|
|
|
.ENDIF
|
|
|
|
|
2005-11-09 02:40:13 -06:00
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# URE
|
2004-03-18 08:05:35 -06:00
|
|
|
|
2008-03-18 07:41:43 -05:00
|
|
|
.IF "$(OS)" != "MACOSX"
|
|
|
|
SCP3LINK_PRODUCT_TYPE = osl
|
2005-06-17 08:19:12 -05:00
|
|
|
SCP3TARGET = ure
|
2008-03-18 07:41:43 -05:00
|
|
|
SCP3FILES = ure_standalone.par \
|
|
|
|
ure.par
|
|
|
|
.ENDIF
|
2004-02-05 11:10:37 -06:00
|
|
|
|
2005-11-09 02:40:13 -06:00
|
|
|
# ------------------------------------------------------------------------
|
|
|
|
# SDK
|
|
|
|
|
|
|
|
SCP4LINK_PRODUCT_TYPE = sdk
|
|
|
|
SCP4TARGET = sdkoo
|
|
|
|
SCP4FILES = sdkoo.par
|
|
|
|
|
2004-02-05 11:10:37 -06:00
|
|
|
# --- target -------------------------------------------------------------
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|