12407af08SAndrew Rist#**************************************************************
22407af08SAndrew Rist#
32407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
42407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
52407af08SAndrew Rist#  distributed with this work for additional information
62407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
72407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
82407af08SAndrew Rist#  "License"); you may not use this file except in compliance
92407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
102407af08SAndrew Rist#
112407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
122407af08SAndrew Rist#
132407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
142407af08SAndrew Rist#  software distributed under the License is distributed on an
152407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
172407af08SAndrew Rist#  specific language governing permissions and limitations
182407af08SAndrew Rist#  under the License.
192407af08SAndrew Rist#
202407af08SAndrew Rist#**************************************************************
212407af08SAndrew Rist
222407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ = ..
25cdf0e10cSrcweirPRJNAME = postprocess
26cdf0e10cSrcweirTARGET = packcomponents
27cdf0e10cSrcweir
28cdf0e10cSrcweir.INCLUDE: settings.mk
29cdf0e10cSrcweir
30cdf0e10cSrcweir#TODO (copied from scp2/source/ooo/makefile.mk):
31cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_GTK)" != ""
32cdf0e10cSrcweirPKGCONFIG_MODULES=gtk+-2.0
33cdf0e10cSrcweir.INCLUDE: pkg_config.mk
34cdf0e10cSrcweirGTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES)
35cdf0e10cSrcweir.END
36cdf0e10cSrcweir
37cdf0e10cSrcweirmy_components = \
38910823aeSJürgen Schmidt    bootstrap \
39910823aeSJürgen Schmidt    introspection \
40910823aeSJürgen Schmidt    invocadapt \
41910823aeSJürgen Schmidt    invocation \
42910823aeSJürgen Schmidt    javaloader \
43910823aeSJürgen Schmidt    javavm \
44910823aeSJürgen Schmidt    namingservice \
45910823aeSJürgen Schmidt    proxyfac \
46910823aeSJürgen Schmidt    reflection \
47910823aeSJürgen Schmidt    stocservices \
48cdf0e10cSrcweir    abp \
49cdf0e10cSrcweir    analysis \
50cdf0e10cSrcweir    basprov \
51cdf0e10cSrcweir    bib \
52cdf0e10cSrcweir    calc \
53cdf0e10cSrcweir    chartcontroller \
54cdf0e10cSrcweir    chartmodel \
55cdf0e10cSrcweir    charttools \
56cdf0e10cSrcweir    chartview \
579d72048cSdamjan    component/UnoControls/util/ctl \
582016fac5Sdamjan    component/animations/source/animcore/animcore \
59deb7b1c2Sdamjan    component/avmedia/util/avmedia \
60dd913a84Sdamjan    component/basctl/util/basctl \
61290e3fa2Sdamjan    component/binaryurp/source/binaryurp \
62b63233d8Sdamjan    component/canvas/source/factory/canvasfactory \
63b63233d8Sdamjan    component/canvas/source/simplecanvas/simplecanvas \
64b63233d8Sdamjan    component/canvas/source/vcl/vclcanvas \
65cdf0e10cSrcweir    component/comphelper/util/comphelp \
66c9d49dbaSdamjan    component/configmgr/source/configmgr \
67b2b569f2SArmin Le Grand    component/cui/util/cui \
68ddde725dSArmin Le Grand    component/drawinglayer/drawinglayer \
69b63233d8Sdamjan	component/dbaccess/source/ext/adabas/adabasui \
70b63233d8Sdamjan	component/dbaccess/source/ext/macromigration/dbmm \
71b63233d8Sdamjan	component/dbaccess/source/filter/xml/dbaxml \
72b63233d8Sdamjan	component/dbaccess/util/dba \
73b63233d8Sdamjan	component/dbaccess/util/dbu \
74b63233d8Sdamjan	component/dbaccess/util/sdbt \
75e8183b3fSdamjan    component/dtrans/util/mcnttype \
76508394c9Sdamjan    component/embeddedobj/util/embobj \
770b5197c8Sdamjan    component/eventattacher/source/evtatt \
783616bdb9Sdamjan    component/fileaccess/util/fileacc \
7939ded6f8SDamjan Jovanovic    component/formula/util/for \
808d854f23Sdamjan    component/fpicker/source/generic/fpicker \
818d854f23Sdamjan    component/fpicker/source/office/fps_office \
82cdf0e10cSrcweir    component/framework/util/fwk \
83cdf0e10cSrcweir    component/framework/util/fwl \
84cdf0e10cSrcweir    component/framework/util/fwm \
85f90c092aSdamjan    component/io/source/acceptor/acceptor \
86f90c092aSdamjan    component/io/source/connector/connector \
87f90c092aSdamjan    component/io/source/stm/streams \
88f90c092aSdamjan    component/io/source/TextInputStream/textinstream \
89f90c092aSdamjan    component/io/source/TextOutputStream/textoutstream \
9026f17024Sdamjan    component/javaunohelper/util/juh \
91b63233d8Sdamjan    component/linguistic/source/lng \
92b63233d8Sdamjan    component/oox/util/oox \
93873c956eSdamjan    component/package/source/xstor/xstor \
94873c956eSdamjan    component/package/util/package2 \
95b63233d8Sdamjan	component/reportdesign/util/rptxml \
96b63233d8Sdamjan	component/reportdesign/util/rpt \
97b63233d8Sdamjan	component/reportdesign/util/rptui \
98cdf0e10cSrcweir    component/vbahelper/util/msforms \
9934de53acSdamjan    component/remotebridges/source/unourl_resolver/uuresolver \
100b63233d8Sdamjan    component/sax/source/expatwrap/expwrap \
101b63233d8Sdamjan    component/sax/source/fastparser/fastsax \
102b77af630Sdamjan    component/sc/util/sc \
103b77af630Sdamjan    component/sc/util/scd \
104b77af630Sdamjan    component/sc/util/vbaobj \
105b63233d8Sdamjan    component/sd/util/sd \
106b63233d8Sdamjan    component/sd/util/sdd \
107cdf0e10cSrcweir    component/sfx2/util/sfx \
108df3f5cbcSdamjan    component/slideshow/util/slideshow \
109cdf0e10cSrcweir    component/sot/util/sot \
110ddde725dSArmin Le Grand    component/svgio/svgio \
111b63233d8Sdamjan    component/starmath/util/sm \
112b63233d8Sdamjan    component/starmath/util/smd \
113cdf0e10cSrcweir    component/svl/source/fsstor/fsstorage \
114cdf0e10cSrcweir    component/svl/source/passwordcontainer/passwordcontainer \
115cdf0e10cSrcweir    component/svl/util/svl \
116cdf0e10cSrcweir    component/svtools/source/hatchwindow/hatchwindowfactory \
117cdf0e10cSrcweir    component/svtools/util/svt \
118cdf0e10cSrcweir    component/svx/util/svx \
119cdf0e10cSrcweir    component/svx/util/svxcore \
120cdf0e10cSrcweir    component/svx/util/textconversiondlgs \
121cdf0e10cSrcweir    component/sw/util/msword \
122cdf0e10cSrcweir    component/sw/util/sw \
123cdf0e10cSrcweir    component/sw/util/swd \
124cdf0e10cSrcweir    component/sw/util/vbaswobj \
125b63233d8Sdamjan    component/unotools/util/utl \
126ab743807Sdamjan    component/uui/util/uui \
1272e2269f7SJürgen Schmidt    component/toolkit/util/ootk \
128421ed02eSdamjan    component/ucb/source/cacher/cached1 \
129421ed02eSdamjan    component/ucb/source/core/ucb1 \
130421ed02eSdamjan    component/ucb/source/sorter/srtrs1 \
131421ed02eSdamjan    component/ucb/source/ucp/expand/ucpexpand1 \
132421ed02eSdamjan    component/ucb/source/ucp/ext/ucpext \
133421ed02eSdamjan    component/ucb/source/ucp/file/ucpfile1 \
134421ed02eSdamjan    component/ucb/source/ucp/ftp/ucpftp1 \
135421ed02eSdamjan    component/ucb/source/ucp/hierarchy/ucphier1 \
136421ed02eSdamjan    component/ucb/source/ucp/package/ucppkg1 \
137421ed02eSdamjan    component/ucb/source/ucp/tdoc/ucptdoc1 \
138421ed02eSdamjan    component/ucb/source/ucp/webdav/ucpdav1 \
139cdf0e10cSrcweir    component/unoxml/source/rdf/unordf \
140cdf0e10cSrcweir    component/unoxml/source/service/unoxml \
141b63233d8Sdamjan    component/writerfilter/util/writerfilter \
142cdf0e10cSrcweir    component/xmloff/source/transform/xof \
143cdf0e10cSrcweir    component/xmloff/util/xo \
144b63233d8Sdamjan    component/xmlscript/util/xcr \
145cdf0e10cSrcweir    date \
146cdf0e10cSrcweir    dbase \
147cdf0e10cSrcweir    dbp \
148cdf0e10cSrcweir    dbpool2 \
149cdf0e10cSrcweir    dbtools \
150cdf0e10cSrcweir    deployment \
151cdf0e10cSrcweir    deploymentgui \
152cdf0e10cSrcweir    dlgprov \
153cdf0e10cSrcweir    filterconfig1 \
154cdf0e10cSrcweir    flash \
155cdf0e10cSrcweir    flat \
156cdf0e10cSrcweir    frm \
157cdf0e10cSrcweir    guesslang \
158cdf0e10cSrcweir    i18npool \
159cdf0e10cSrcweir    i18nsearch \
160a44fea77SAriel Constenla-Haile    lnth \
161cdf0e10cSrcweir    localebe1 \
162cdf0e10cSrcweir    log \
163910823aeSJürgen Schmidt	mailmerge \
164cdf0e10cSrcweir    migrationoo2 \
165cdf0e10cSrcweir    msfilter \
166cdf0e10cSrcweir    mysql \
167cdf0e10cSrcweir    odbc \
168cdf0e10cSrcweir    offacc \
169cdf0e10cSrcweir    oooimprovecore \
170cdf0e10cSrcweir    pcr \
171cdf0e10cSrcweir    pdffilter \
172cdf0e10cSrcweir    placeware \
173cdf0e10cSrcweir    preload \
174cdf0e10cSrcweir    protocolhandler \
175cdf0e10cSrcweir    pythonloader \
176cdf0e10cSrcweir    pythonscript \
177cdf0e10cSrcweir    res \
178cdf0e10cSrcweir    sb \
179cdf0e10cSrcweir    scn \
180cdf0e10cSrcweir    scriptframe \
181cdf0e10cSrcweir    sdbc2 \
182cdf0e10cSrcweir    spl \
183cdf0e10cSrcweir    stringresource \
184cdf0e10cSrcweir    svgfilter \
185cdf0e10cSrcweir    syssh \
186cdf0e10cSrcweir    t602filter \
187cdf0e10cSrcweir    tvhlp1 \
188cdf0e10cSrcweir    ucpchelp1 \
189cdf0e10cSrcweir    updatefeed \
190cdf0e10cSrcweir    updchk \
191cdf0e10cSrcweir    vbaevents \
192cdf0e10cSrcweir    xmlfa \
193cdf0e10cSrcweir    xmlfd \
194cdf0e10cSrcweir    xmx \
195cdf0e10cSrcweir    xsltdlg \
19679e0a548SAriel Constenla-Haile    PresentationMinimizer \
19779e0a548SAriel Constenla-Haile    PresenterScreen
198cdf0e10cSrcweir
199cdf0e10cSrcweir.IF "$(OS)" == "MACOSX"
200cdf0e10cSrcweirmy_components += component/vcl/vcl.macosx
201cdf0e10cSrcweir.ELSE
202168c4287SYuri Dario.IF "$(OS)" == "WNT" || "$(OS)" == "OS2"
203cdf0e10cSrcweirmy_components += component/vcl/vcl.windows
204cdf0e10cSrcweir.ELSE
205cdf0e10cSrcweirmy_components += component/vcl/vcl.unx
206cdf0e10cSrcweir.ENDIF
207cdf0e10cSrcweir.ENDIF
208cdf0e10cSrcweir
20935779863SAriel Constenla-Haile.IF "$(ENABLE_ONLINE_UPDATE)"=="YES"
21035779863SAriel Constenla-Hailemy_components += updchk.uno
21135779863SAriel Constenla-Haile.END
21235779863SAriel Constenla-Haile
2136a653dafSJuergen Schmidt.IF "$(OS)" != "WNT" && "$(OS)" != "OS2"
2146a653dafSJuergen Schmidtmy_components += mozbootstrap
2156a653dafSJuergen Schmidt.END
2166a653dafSJuergen Schmidt
217d2491125SOliver-Rainer Wittmann.IF "$(ENABLE_OOOIMPROVEMENT)" != ""
218cdf0e10cSrcweirmy_components += oooimprovement
219cdf0e10cSrcweir.END
220cdf0e10cSrcweir
22188bfee53SPedro Giffuni.IF "$(ENABLE_COINMP)"=="YES"
2221f56509eSdamjanmy_components += component/sccomp/source/solver/solver
22388bfee53SPedro Giffuni.END
22488bfee53SPedro Giffuni
2250ea1a209SEike Rathke.IF "$(DISABLE_SAXON)" == ""
2260ea1a209SEike Rathkemy_components += XSLTFilter.jar \
2270ea1a209SEike Rathke    xsltfilter
2280ea1a209SEike Rathke.END
2290ea1a209SEike Rathke
230a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HYPHEN)" == "YES"
2310ea1a209SEike Rathkemy_components += hyphen
2320ea1a209SEike Rathke.END
2330ea1a209SEike Rathke
234a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HUNSPELL)" == "YES"
235a44fea77SAriel Constenla-Hailemy_components += spell
2360ea1a209SEike Rathke.END
2370ea1a209SEike Rathke
2380bd633abSJürgen Schmidt.IF "$(SYSTEM_LIBWPD)" == "YES"
2390ea1a209SEike Rathkemy_components +=     wpft
2400ea1a209SEike Rathke.END
2410ea1a209SEike Rathke
242508394c9Sdamjan.IF "$(OS)" == "WNT"
243ff9306feSdamjanmy_components += component/embeddedobj/source/msole/emboleobj.windows
244508394c9Sdamjan.ELSE
245ff9306feSdamjanmy_components += component/embeddedobj/source/msole/emboleobj
246cdf0e10cSrcweir.END
247cdf0e10cSrcweir
24846dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE"
249b63233d8Sdamjanmy_components += component/canvas/source/cairo/cairocanvas
250cdf0e10cSrcweir.END
251cdf0e10cSrcweir
252cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" != ""
253cdf0e10cSrcweirmy_components += gconfbe1
254cdf0e10cSrcweir.END
255cdf0e10cSrcweir
256cdf0e10cSrcweir.IF "$(ENABLE_GIO)" != ""
257421ed02eSdamjanmy_components += component/ucb/source/ucp/gio/ucpgio
258cdf0e10cSrcweir.END
259cdf0e10cSrcweir
260cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)" != ""
261421ed02eSdamjanmy_components += component/ucb/source/ucp/gvfs/ucpgvfs
262cdf0e10cSrcweir.END
263cdf0e10cSrcweir
264cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != ""
265cdf0e10cSrcweirmy_components += kdebe1
266cdf0e10cSrcweir.END
267cdf0e10cSrcweir
268cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != ""
269cdf0e10cSrcweirmy_components += kde4be1
270cdf0e10cSrcweir.END
271cdf0e10cSrcweir
27299425c2fSEike Rathke.IF "$(ENABLE_OPENGL)" == "TRUE"
273df3f5cbcSdamjanmy_components += component/slideshow/source/engine/OGLTrans/ogltrans
274cdf0e10cSrcweir.END
275cdf0e10cSrcweir
276cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE"
277cdf0e10cSrcweirmy_components += \
278cdf0e10cSrcweir    LuceneHelpWrapper \
279cdf0e10cSrcweir    ScriptFramework \
280cdf0e10cSrcweir    ScriptProviderForJava \
281cdf0e10cSrcweir    XMergeBridge \
282cdf0e10cSrcweir    XSLTValidate \
283b63233d8Sdamjan    component/wizards/com/sun/star/wizards/agenda/agenda \
284b63233d8Sdamjan    component/wizards/com/sun/star/wizards/fax/fax \
285b63233d8Sdamjan    component/wizards/com/sun/star/wizards/form/form \
286cdf0e10cSrcweir    hsqldb \
287cdf0e10cSrcweir    jdbc \
2883c5114b8SDamjan Jovanovic    postgresql \
289b63233d8Sdamjan    component/wizards/com/sun/star/wizards/letter/letter \
290b63233d8Sdamjan    component/wizards/com/sun/star/wizards/query/query \
291b63233d8Sdamjan    component/wizards/com/sun/star/wizards/report/report \
292b63233d8Sdamjan    component/wizards/com/sun/star/wizards/table/table \
293b63233d8Sdamjan    component/wizards/com/sun/star/wizards/web/web
2949ef65f0eSAndre Fischer.IF "$(ENABLE_BEANSHELL)" == "YES"
2959ef65f0eSAndre Fischermy_components += ScriptProviderForBeanShell
2969ef65f0eSAndre Fischer.END
2979ef65f0eSAndre Fischer.IF "$(ENABLE_JAVASCRIPT)" == "YES"
2989ef65f0eSAndre Fischermy_components += ScriptProviderForJavaScript
2999ef65f0eSAndre Fischer.END
300cdf0e10cSrcweir.END
301cdf0e10cSrcweir
302cdf0e10cSrcweir.IF "$(WITH_LDAP)" == "YES"
303cdf0e10cSrcweirmy_components += ldapbe2
304cdf0e10cSrcweir.END
305cdf0e10cSrcweir
306cc99daadSHerbert Dürr.IF "$(ENABLE_NSS_MODULE)" != "NO"
307cdf0e10cSrcweirmy_components += \
308cdf0e10cSrcweir    xmlsecurity \
309cdf0e10cSrcweir    xsec_fw \
3100b544e7eSArmin Le Grand    xsec_xmlsec
311cdf0e10cSrcweir.END
312cdf0e10cSrcweir
313cdf0e10cSrcweir.IF "$(OS)" == "MACOSX"
314cdf0e10cSrcweirmy_components += \
315deb7b1c2Sdamjan    component/avmedia/source/macavf/avmediaMacAVF \
316deb7b1c2Sdamjan    component/avmedia/source/quicktime/avmediaQuickTime \
317*e1738400SJim Jagielski    component/fpicker/source/aqua/fps_aqua \
318cdf0e10cSrcweir    macab1 \
319c4436845SJürgen Schmidt    macbe1 \
3202ee8c3d1SEike Rathke    MacOSXSpell
3212ee8c3d1SEike Rathke.END
3222ee8c3d1SEike Rathke
323cdf0e10cSrcweir.IF "$(OS)" == "WNT"
324cdf0e10cSrcweirmy_components += \
325cdf0e10cSrcweir    ado \
3265d297950Sdamjan    component/avmedia/source/win/avmediawin \
327e8183b3fSdamjan    component/dtrans/source/generic/dtrans \
328e8183b3fSdamjan    component/dtrans/util/dnd \
329e8183b3fSdamjan    component/dtrans/util/ftransl \
330e8183b3fSdamjan    component/dtrans/util/sysdtrans \
3316ecc4615Sdamjan    component/fpicker/util/fop \
3326ecc4615Sdamjan    component/fpicker/util/fps \
333cdf0e10cSrcweir    java_uno_accessbridge \
334ae77b8caSAriel Constenla-Haile    sysmail \
335df906e24SSteve Yin    winaccessibility \
336cdf0e10cSrcweir    wininetbe1
337cdf0e10cSrcweir.END
338cdf0e10cSrcweir
339168c4287SYuri Dario.IF "$(OS)" == "OS2"
340168c4287SYuri Dariomy_components += \
341e8183b3fSdamjan    component/dtrans/source/generic/dtrans \
342e8183b3fSdamjan    component/dtrans/util/sysdtrans
343168c4287SYuri Dario.END
344168c4287SYuri Dario
345cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == ""
346cdf0e10cSrcweirmy_components += \
347cdf0e10cSrcweir    emser \
348cdf0e10cSrcweir    oleautobridge
349cdf0e10cSrcweir.END
350cdf0e10cSrcweir
351cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != ""
352cdf0e10cSrcweirmy_components += \
353b63233d8Sdamjan    component/canvas/source/directx/directx9canvas \
354b63233d8Sdamjan    component/canvas/source/directx/gdipluscanvas
355cdf0e10cSrcweir.END
356cdf0e10cSrcweir
357cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != ""
358b63233d8Sdamjanmy_components += component/canvas/source/directx/directx5canvas
359cdf0e10cSrcweir.END
360cdf0e10cSrcweir
361cdf0e10cSrcweir.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \
362cdf0e10cSrcweir    ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT"
363cdf0e10cSrcweirmy_components += adabas
364cdf0e10cSrcweir.END
365cdf0e10cSrcweir
36661aaf8b6SYuri Dario.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(OS)" != "OS2"
367cdf0e10cSrcweirmy_components += desktopbe1
368cdf0e10cSrcweir.END
369cdf0e10cSrcweir
370cdf0e10cSrcweir.IF "$(GTK_TWO_FOUR)" != ""
3718d854f23Sdamjanmy_components += component/fpicker/source/unx/gnome/fps_gnome
372cdf0e10cSrcweir.END
373cdf0e10cSrcweir
374cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != ""
3758d854f23Sdamjanmy_components += component/fpicker/source/unx/kde4/fps_kde4
376cdf0e10cSrcweir.END
377cdf0e10cSrcweir
378cdf0e10cSrcweir.IF "$(OS)" != "WNT"
379cdf0e10cSrcweirmy_components += cmdmail
380cdf0e10cSrcweir.END
381cdf0e10cSrcweir
382cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != ""
383cdf0e10cSrcweirmy_components += evoab
384cdf0e10cSrcweir.END
385cdf0e10cSrcweir
386cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != ""
387deb7b1c2Sdamjanmy_components += component/avmedia/source/gstreamer/avmediagst
388cdf0e10cSrcweir.END
389cdf0e10cSrcweir
390cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE"
391deb7b1c2Sdamjanmy_components += component/avmedia/source/java/avmedia.jar
392cdf0e10cSrcweir.END
393cdf0e10cSrcweir
394cdf0e10cSrcweirmy_ooo_components = mailmerge
395cdf0e10cSrcweir
396cdf0e10cSrcweir.INCLUDE: target.mk
397cdf0e10cSrcweir
398cdf0e10cSrcweirALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb
399cdf0e10cSrcweir
400cdf0e10cSrcweir$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
401cdf0e10cSrcweir        $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component")
402cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
403cdf0e10cSrcweir        $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input
404cdf0e10cSrcweir
405cdf0e10cSrcweir$(MISC)/services.input : makefile.mk
406cdf0e10cSrcweir    echo \
407cdf0e10cSrcweir        '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
408cdf0e10cSrcweir        > $@
409cdf0e10cSrcweir
410cdf0e10cSrcweir$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \
411cdf0e10cSrcweir        $(MISC)/ooo-services.input \
412cdf0e10cSrcweir        $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component")
413cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
414cdf0e10cSrcweir        $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input
415cdf0e10cSrcweir
416cdf0e10cSrcweir$(MISC)/ooo-services.input : makefile.mk
417cdf0e10cSrcweir    echo '<list>' \
418cdf0e10cSrcweir        '$(my_ooo_components:^"<filename>":+".component</filename>")' \
419cdf0e10cSrcweir        '</list>' > $@
420