2010-09-10 06:10:07 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
|
|
|
#
|
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
#
|
|
|
|
# This file is part of OpenOffice.org.
|
|
|
|
#
|
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# OpenOffice.org 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 version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
|
|
|
#
|
|
|
|
#***********************************************************************/
|
|
|
|
|
|
|
|
PRJ = ..
|
|
|
|
PRJNAME = postprocess
|
|
|
|
TARGET = packcomponents
|
|
|
|
|
|
|
|
.INCLUDE: settings.mk
|
|
|
|
|
|
|
|
#TODO (copied from scp2/source/ooo/makefile.mk):
|
|
|
|
.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_GTK)" != ""
|
|
|
|
PKGCONFIG_MODULES=gtk+-2.0
|
|
|
|
.INCLUDE: pkg_config.mk
|
|
|
|
GTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES)
|
|
|
|
.END
|
|
|
|
|
|
|
|
my_components = \
|
|
|
|
basprov \
|
|
|
|
cached1 \
|
|
|
|
calc \
|
2011-07-27 07:04:30 -05:00
|
|
|
component/animations/source/animcore/animcore \
|
2011-08-03 08:08:56 -05:00
|
|
|
component/avmedia/util/avmedia \
|
2011-07-27 13:52:11 -05:00
|
|
|
component/basctl/util/basctl \
|
2011-07-28 10:28:18 -05:00
|
|
|
component/basic/util/sb \
|
2011-04-15 03:42:27 -05:00
|
|
|
component/chart2/source/controller/chartcontroller \
|
|
|
|
component/chart2/source/model/chartmodel \
|
|
|
|
component/chart2/source/tools/charttools \
|
|
|
|
component/chart2/source/view/chartview \
|
2011-02-25 09:51:24 -06:00
|
|
|
component/canvas/source/factory/canvasfactory \
|
|
|
|
component/canvas/source/simplecanvas/simplecanvas \
|
|
|
|
component/canvas/source/vcl/vclcanvas \
|
2011-01-28 05:49:53 -06:00
|
|
|
component/comphelper/util/comphelp \
|
2011-07-27 02:52:24 -05:00
|
|
|
component/cppcanvas/source/uno/mtfrenderer \
|
2011-05-06 09:11:59 -05:00
|
|
|
component/cui/util/cui \
|
2011-04-18 07:47:48 -05:00
|
|
|
component/dbaccess/source/ext/macromigration/dbmm \
|
2011-04-18 07:49:38 -05:00
|
|
|
component/dbaccess/source/filter/xml/dbaxml \
|
|
|
|
component/dbaccess/util/dba \
|
2011-04-18 07:47:48 -05:00
|
|
|
component/dbaccess/util/dbu \
|
|
|
|
component/dbaccess/util/sdbt \
|
2011-07-31 09:53:30 -05:00
|
|
|
component/dtrans/util/mcnttype \
|
2011-04-03 02:07:29 -05:00
|
|
|
component/fileaccess/source/fileacc \
|
2011-04-03 10:55:32 -05:00
|
|
|
component/forms/util/frm \
|
2011-04-27 18:51:13 -05:00
|
|
|
component/formula/util/for \
|
2010-11-10 09:02:26 -06:00
|
|
|
component/framework/util/fwk \
|
|
|
|
component/framework/util/fwl \
|
|
|
|
component/framework/util/fwm \
|
2011-06-13 18:15:40 -05:00
|
|
|
component/hwpfilter/source/hwp \
|
2011-08-06 12:26:39 -05:00
|
|
|
component/i18npool/source/search/i18nsearch \
|
|
|
|
component/i18npool/util/i18npool \
|
2011-07-12 15:51:59 -05:00
|
|
|
component/linguistic/source/lng \
|
2011-04-18 07:49:38 -05:00
|
|
|
component/lotuswordpro/util/lwpfilter \
|
|
|
|
component/oox/util/oox \
|
2011-08-26 07:04:17 -05:00
|
|
|
component/package/source/xstor/xstor \
|
|
|
|
component/package/util/package2 \
|
2011-04-27 18:51:13 -05:00
|
|
|
component/reportdesign/util/rpt \
|
|
|
|
component/reportdesign/util/rptui \
|
|
|
|
component/reportdesign/util/rptxml \
|
2011-07-12 12:58:03 -05:00
|
|
|
component/sax/source/expatwrap/expwrap \
|
|
|
|
component/sax/source/fastparser/fastsax \
|
2011-03-29 17:32:58 -05:00
|
|
|
component/sc/util/sc \
|
|
|
|
component/sc/util/scd \
|
2011-03-31 07:42:03 -05:00
|
|
|
component/sc/util/scfilt \
|
2011-03-29 17:32:58 -05:00
|
|
|
component/sc/util/vbaobj \
|
2011-07-27 13:52:11 -05:00
|
|
|
component/scaddins/source/analysis/analysis \
|
|
|
|
component/scaddins/source/datefunc/date \
|
|
|
|
component/sccomp/source/solver/solver \
|
2011-04-27 18:51:13 -05:00
|
|
|
component/sd/util/sd \
|
|
|
|
component/sd/util/sdd \
|
|
|
|
component/sd/util/sdfilt \
|
2010-11-10 09:02:26 -06:00
|
|
|
component/sfx2/util/sfx \
|
2011-04-27 18:51:13 -05:00
|
|
|
component/slideshow/util/slideshow \
|
2011-01-26 09:15:19 -06:00
|
|
|
component/sot/util/sot \
|
2011-02-23 11:44:19 -06:00
|
|
|
component/starmath/util/sm \
|
|
|
|
component/starmath/util/smd \
|
2010-11-10 09:02:26 -06:00
|
|
|
component/svl/source/fsstor/fsstorage \
|
|
|
|
component/svl/source/passwordcontainer/passwordcontainer \
|
|
|
|
component/svl/util/svl \
|
|
|
|
component/svtools/source/hatchwindow/hatchwindowfactory \
|
|
|
|
component/svtools/util/svt \
|
2011-01-19 09:36:58 -06:00
|
|
|
component/svx/util/svx \
|
|
|
|
component/svx/util/svxcore \
|
|
|
|
component/svx/util/textconversiondlgs \
|
2010-12-05 04:56:12 -06:00
|
|
|
component/sw/util/msword \
|
2010-11-10 09:02:26 -06:00
|
|
|
component/sw/util/sw \
|
|
|
|
component/sw/util/swd \
|
|
|
|
component/sw/util/vbaswobj \
|
|
|
|
component/toolkit/util/tk \
|
2011-04-03 04:23:09 -05:00
|
|
|
component/unotools/util/utl \
|
2011-02-10 11:37:54 -06:00
|
|
|
component/unoxml/source/rdf/unordf \
|
|
|
|
component/unoxml/source/service/unoxml \
|
2011-08-09 18:49:06 -05:00
|
|
|
component/uui/util/uui \
|
2011-04-18 07:49:38 -05:00
|
|
|
component/vbahelper/util/msforms \
|
2011-02-02 06:10:20 -06:00
|
|
|
component/writerfilter/util/writerfilter \
|
2011-07-28 10:28:18 -05:00
|
|
|
component/writerperfect/util/msworksfilter \
|
|
|
|
component/writerperfect/util/visiofilter \
|
|
|
|
component/writerperfect/util/wpft \
|
|
|
|
component/writerperfect/util/wpgfilter \
|
2010-11-10 09:02:26 -06:00
|
|
|
component/xmloff/source/transform/xof \
|
|
|
|
component/xmloff/util/xo \
|
2011-03-02 04:54:18 -06:00
|
|
|
component/xmlscript/util/xcr \
|
2010-09-10 06:10:07 -05:00
|
|
|
configmgr \
|
|
|
|
ctl \
|
|
|
|
dbase \
|
|
|
|
dbpool2 \
|
|
|
|
dbtools \
|
|
|
|
dlgprov \
|
|
|
|
embobj \
|
|
|
|
evtatt \
|
|
|
|
filterconfig1 \
|
|
|
|
flash \
|
|
|
|
flat \
|
|
|
|
fpicker \
|
|
|
|
fps_office \
|
|
|
|
guesslang \
|
|
|
|
hyphen \
|
|
|
|
lnth \
|
|
|
|
localebe1 \
|
2010-12-28 10:59:34 -06:00
|
|
|
msfilter \
|
2010-09-10 06:10:07 -05:00
|
|
|
mysql \
|
|
|
|
odbc \
|
2011-03-25 17:29:24 -05:00
|
|
|
odfflatxml \
|
2010-09-10 06:10:07 -05:00
|
|
|
pdffilter \
|
|
|
|
placeware \
|
|
|
|
protocolhandler \
|
|
|
|
scriptframe \
|
|
|
|
sdbc2 \
|
|
|
|
spell \
|
|
|
|
srtrs1 \
|
|
|
|
stringresource \
|
|
|
|
svgfilter \
|
|
|
|
syssh \
|
|
|
|
t602filter \
|
|
|
|
ucb1 \
|
|
|
|
ucpexpand1 \
|
|
|
|
ucpext \
|
|
|
|
ucpfile1 \
|
|
|
|
ucpftp1 \
|
|
|
|
ucphier1 \
|
|
|
|
ucppkg1 \
|
|
|
|
ucptdoc1 \
|
2011-02-21 02:23:19 -06:00
|
|
|
vbaevents \
|
2010-09-10 06:10:07 -05:00
|
|
|
xmlfa \
|
|
|
|
xmlfd \
|
|
|
|
xsltdlg \
|
|
|
|
xsltfilter \
|
|
|
|
|
2011-08-26 06:38:43 -05:00
|
|
|
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DESKTOP//)"
|
|
|
|
my_components += \
|
|
|
|
abp \
|
|
|
|
bib \
|
|
|
|
dbp \
|
|
|
|
deployment \
|
|
|
|
deploymentgui \
|
|
|
|
log \
|
|
|
|
migrationoo2 \
|
|
|
|
migrationoo3 \
|
|
|
|
offacc \
|
|
|
|
oooimprovecore \
|
|
|
|
pcr \
|
|
|
|
res \
|
|
|
|
scn \
|
|
|
|
spl \
|
|
|
|
tvhlp1 \
|
|
|
|
ucpchelp1 \
|
|
|
|
updatefeed \
|
|
|
|
updchk \
|
|
|
|
updchk.uno \
|
|
|
|
xmx
|
|
|
|
.ENDIF
|
|
|
|
|
2011-04-27 18:51:13 -05:00
|
|
|
.IF "$(DISABLE_PYTHON)" != "TRUE"
|
|
|
|
my_components += pythonloader
|
2011-01-26 12:18:52 -06:00
|
|
|
.ENDIF
|
|
|
|
|
2011-08-26 06:38:43 -05:00
|
|
|
.IF "$(OS)" != "WNT" && "$(OS)" != "MACOSX" && "$(OS)" != "IOS"
|
2011-03-24 09:29:26 -05:00
|
|
|
my_components += splash
|
2011-03-24 13:06:21 -05:00
|
|
|
.ENDIF
|
2011-04-22 08:09:57 -05:00
|
|
|
|
2010-09-10 06:10:07 -05:00
|
|
|
.IF "$(BUILD_SPECIAL)" != ""
|
|
|
|
my_components += oooimprovement
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(DISABLE_ATL)" == ""
|
|
|
|
my_components += emboleobj
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(DISABLE_NEON)" != "TRUE"
|
|
|
|
my_components += ucpdav1
|
|
|
|
.END
|
|
|
|
|
2011-04-12 13:37:07 -05:00
|
|
|
.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE"
|
2011-02-25 09:51:24 -06:00
|
|
|
my_components += component/canvas/source/cairo/cairocanvas
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_GCONF)" != ""
|
|
|
|
my_components += gconfbe1
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_GIO)" != ""
|
2010-10-18 07:46:06 -05:00
|
|
|
my_components += ucpgio
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_GNOMEVFS)" != ""
|
|
|
|
my_components += ucpgvfs
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_KAB)" != ""
|
|
|
|
my_components += kab1
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_KDE)" != ""
|
|
|
|
my_components += kdebe1
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_KDE4)" != ""
|
|
|
|
my_components += kde4be1
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(ENABLE_OGL)" == "TRUE"
|
2011-04-27 18:51:13 -05:00
|
|
|
my_components += component/slideshow/source/engine/OGLTrans/ogltrans
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
2011-04-01 12:40:34 -05:00
|
|
|
.IF "$(ENABLE_LOMENUBAR)" == "TRUE"
|
|
|
|
my_components += component/framework/util/lomenubar
|
|
|
|
.END
|
|
|
|
|
2010-09-10 06:10:07 -05:00
|
|
|
.IF "$(SOLAR_JAVA)" == "TRUE"
|
|
|
|
my_components += \
|
|
|
|
LuceneHelpWrapper \
|
|
|
|
ScriptFramework \
|
|
|
|
ScriptProviderForJava \
|
|
|
|
XMergeBridge \
|
|
|
|
XSLTFilter.jar \
|
|
|
|
XSLTValidate \
|
2011-02-22 02:53:58 -06:00
|
|
|
component/wizards/com/sun/star/wizards/agenda/agenda \
|
|
|
|
component/wizards/com/sun/star/wizards/fax/fax \
|
|
|
|
component/wizards/com/sun/star/wizards/form/form \
|
2010-09-10 06:10:07 -05:00
|
|
|
hsqldb \
|
|
|
|
jdbc \
|
2011-02-22 02:53:58 -06:00
|
|
|
component/wizards/com/sun/star/wizards/letter/letter \
|
|
|
|
component/wizards/com/sun/star/wizards/query/query \
|
|
|
|
component/wizards/com/sun/star/wizards/report/report \
|
|
|
|
component/wizards/com/sun/star/wizards/table/table \
|
|
|
|
component/wizards/com/sun/star/wizards/web/web
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
2010-09-10 07:59:09 -05:00
|
|
|
.IF "$(WITH_BINFILTER)" != "NO"
|
|
|
|
my_components += \
|
|
|
|
bf_migratefilter \
|
|
|
|
bindet
|
|
|
|
.END
|
|
|
|
|
2010-09-10 06:10:07 -05:00
|
|
|
.IF "$(WITH_LDAP)" == "YES"
|
|
|
|
my_components += ldapbe2
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(WITH_MOZILLA)" != "NO"
|
|
|
|
my_components += \
|
2011-08-01 19:50:36 -05:00
|
|
|
component/xmlsecurity/util/xmlsecurity \
|
|
|
|
component/xmlsecurity/util/xsec_fw \
|
2010-09-10 06:10:07 -05:00
|
|
|
pl
|
2011-08-09 17:52:49 -05:00
|
|
|
.IF "$(SYSTEM_MOZILLA)" == "YES" || "$(ENABLE_NSS_MODULE)" == "YES"
|
2011-08-01 19:50:36 -05:00
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
my_components += component/xmlsecurity/util/xsec_xmlsec.windows
|
|
|
|
.ELSE
|
|
|
|
my_components += component/xmlsecurity/util/xsec_xmlsec
|
|
|
|
.END
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
2011-08-09 17:52:49 -05:00
|
|
|
.END
|
2010-09-10 06:10:07 -05:00
|
|
|
|
|
|
|
.IF "$(OS)" == "MACOSX"
|
|
|
|
my_components += \
|
|
|
|
MacOSXSpell \
|
|
|
|
fps_aqua \
|
|
|
|
macab1 \
|
2011-07-12 15:51:59 -05:00
|
|
|
macbe1 \
|
|
|
|
component/vcl/vcl.macosx
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
2011-08-03 08:08:56 -05:00
|
|
|
.IF "$(GUIBASE)" == "aqua"
|
|
|
|
my_components += component/avmedia/source/quicktime/avmediaQuickTime
|
|
|
|
.END
|
|
|
|
|
2010-09-10 06:10:07 -05:00
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
my_components += \
|
|
|
|
ado \
|
|
|
|
fop \
|
|
|
|
fps \
|
|
|
|
java_uno_accessbridge \
|
|
|
|
smplmail \
|
2011-07-12 15:51:59 -05:00
|
|
|
wininetbe1 \
|
2011-07-31 09:53:30 -05:00
|
|
|
component/dtrans/source/generic/dtrans \
|
|
|
|
component/dtrans/util/dnd \
|
|
|
|
component/dtrans/util/ftransl \
|
|
|
|
component/dtrans/util/sysdtrans \
|
2011-07-12 15:51:59 -05:00
|
|
|
component/vcl/vcl.windows
|
|
|
|
.END
|
|
|
|
|
2011-08-26 06:38:43 -05:00
|
|
|
.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(OS)" != "IOS"
|
2011-07-12 15:51:59 -05:00
|
|
|
my_components += \
|
|
|
|
desktopbe1 \
|
|
|
|
component/vcl/vcl.unx
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == ""
|
|
|
|
my_components += \
|
|
|
|
emser \
|
|
|
|
oleautobridge
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != ""
|
|
|
|
my_components += \
|
2011-08-03 08:08:56 -05:00
|
|
|
component/avmedia/source/win/avmediawin \
|
2011-02-25 09:51:24 -06:00
|
|
|
component/canvas/source/directx/directx9canvas \
|
2011-02-28 10:34:42 -06:00
|
|
|
component/canvas/source/directx/gdipluscanvas
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != ""
|
2011-02-25 09:51:24 -06:00
|
|
|
my_components += component/canvas/source/directx/directx5canvas
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" != "MACOSX" && "$(SYSTEM_MOZILLA)" != "YES" && \
|
|
|
|
"$(WITH_MOZILLA)" != "NO"
|
|
|
|
my_components += mozab
|
|
|
|
.ELSE
|
|
|
|
my_components += mozbootstrap
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(GTK_TWO_FOUR)" != ""
|
|
|
|
my_components += fps_gnome
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != ""
|
|
|
|
my_components += fps_kde4
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" != "WNT"
|
|
|
|
my_components += cmdmail
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != ""
|
|
|
|
my_components += evoab
|
|
|
|
.END
|
|
|
|
|
|
|
|
.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != ""
|
2011-08-03 08:08:56 -05:00
|
|
|
my_components += component/avmedia/source/gstreamer/avmediagstreamer
|
2010-09-10 06:10:07 -05:00
|
|
|
.END
|
|
|
|
|
2010-09-14 10:10:47 -05:00
|
|
|
my_ooo_components = mailmerge
|
2010-09-10 06:10:07 -05:00
|
|
|
|
|
|
|
.INCLUDE: target.mk
|
|
|
|
|
2010-09-14 10:10:47 -05:00
|
|
|
ALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb
|
2010-09-10 06:10:07 -05:00
|
|
|
|
|
|
|
$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
|
|
|
|
$(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
|
|
|
|
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
|
|
|
|
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
|
|
|
|
|
2010-12-20 09:35:56 -06:00
|
|
|
$(MISC)/services.input : makefile.mk
|
2010-09-10 06:10:07 -05:00
|
|
|
echo \
|
|
|
|
'<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
|
|
|
|
> $@
|
2010-09-14 10:10:47 -05:00
|
|
|
|
|
|
|
$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
|
|
|
|
$(MISC)/ooo-services.input \
|
|
|
|
$(my_ooo_components:^"$(SOLARXMLDIR)/":+".component")
|
|
|
|
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
|
|
|
|
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input
|
|
|
|
|
2010-12-20 06:59:36 -06:00
|
|
|
$(MISC)/ooo-services.input : makefile.mk
|
2010-09-14 10:10:47 -05:00
|
|
|
echo '<list>' \
|
|
|
|
'$(my_ooo_components:^"<filename>":+".component</filename>")' \
|
|
|
|
'</list>' > $@
|