1cdf0e10cSrcweir#*************************************************************************
2cdf0e10cSrcweir#
3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4cdf0e10cSrcweir#
5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6cdf0e10cSrcweir#
7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8cdf0e10cSrcweir#
9cdf0e10cSrcweir# This file is part of OpenOffice.org.
10cdf0e10cSrcweir#
11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14cdf0e10cSrcweir#
15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20cdf0e10cSrcweir#
21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25cdf0e10cSrcweir#
26cdf0e10cSrcweir#***********************************************************************/
27cdf0e10cSrcweir
28cdf0e10cSrcweirPRJ = ..
29cdf0e10cSrcweirPRJNAME = postprocess
30cdf0e10cSrcweirTARGET = packregistry
31cdf0e10cSrcweir
32cdf0e10cSrcweirMY_XCS = registry/schema/org/openoffice
33cdf0e10cSrcweirMY_XCU = registry/data/org/openoffice
34cdf0e10cSrcweirMY_MOD = registry/spool
35cdf0e10cSrcweir
36cdf0e10cSrcweirMY_XCDS = \
37cdf0e10cSrcweir    $(MISC)/base.xcd \
38cdf0e10cSrcweir    $(MISC)/brand.xcd \
39cdf0e10cSrcweir    $(MISC)/calc.xcd \
40cdf0e10cSrcweir    $(MISC)/cjk.xcd \
41cdf0e10cSrcweir    $(MISC)/ctl.xcd \
42cdf0e10cSrcweir    $(MISC)/draw.xcd \
43cdf0e10cSrcweir    $(MISC)/graphicfilter.xcd \
44cdf0e10cSrcweir    $(MISC)/impress.xcd \
45cdf0e10cSrcweir    $(MISC)/korea.xcd \
46cdf0e10cSrcweir    $(MISC)/lingucomponent.xcd \
47cdf0e10cSrcweir    $(MISC)/main.xcd \
48cdf0e10cSrcweir    $(MISC)/math.xcd \
49cdf0e10cSrcweir    $(MISC)/onlineupdate.xcd \
50cdf0e10cSrcweir    $(MISC)/oooimprovement.xcd \
51cdf0e10cSrcweir    $(MISC)/palm.xcd \
52cdf0e10cSrcweir    $(MISC)/pocketexcel.xcd \
53cdf0e10cSrcweir    $(MISC)/pocketword.xcd \
54cdf0e10cSrcweir    $(MISC)/pyuno.xcd \
55cdf0e10cSrcweir    $(MISC)/w4w.xcd \
56cdf0e10cSrcweir    $(MISC)/writer.xcd \
57cdf0e10cSrcweir    $(MISC)/xsltfilter.xcd
58cdf0e10cSrcweir
59cdf0e10cSrcweirMY_DEPS_base = main
60cdf0e10cSrcweirMY_FILES_base = \
61cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_filters.xcu \
62cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_others.xcu \
63cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_types.xcu \
64cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-base.xcu \
65cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-base.xcu
66cdf0e10cSrcweir
67cdf0e10cSrcweirMY_FILES_brand = \
68cdf0e10cSrcweir    $(MY_XCU)/Office/Compatibility.xcu \
69cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
70cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
71cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-brand.xcu
72cdf0e10cSrcweir.IF "$(ENABLE_SVCTAGS)" == "YES"
73cdf0e10cSrcweirMY_FILES_brand += \
74cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
75cdf0e10cSrcweir.END
76cdf0e10cSrcweir
77cdf0e10cSrcweirMY_DEPS_calc = main
78cdf0e10cSrcweirMY_FILES_calc = \
79cdf0e10cSrcweir    $(MY_XCS)/Office/UI/CalcCommands.xcs \
80cdf0e10cSrcweir    $(MY_XCS)/Office/UI/CalcWindowState.xcs \
81cdf0e10cSrcweir    $(MY_XCU)/Office/UI/CalcCommands.xcu \
82cdf0e10cSrcweir    $(MY_XCU)/Office/UI/CalcWindowState.xcu \
83cdf0e10cSrcweir    $(MY_MOD)/DataAccess/calc.xcu \
84cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_filters.xcu \
85cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_types.xcu \
86cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-calc.xcu \
87cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
88cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-calc.xcu
89cdf0e10cSrcweir
90cdf0e10cSrcweirMY_FILES_cjk = \
91cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
92cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
93cdf0e10cSrcweir
94cdf0e10cSrcweirMY_DEPS_ctl = main
95cdf0e10cSrcweirMY_FILES_ctl = \
96cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-ctl.xcu
97cdf0e10cSrcweir
98cdf0e10cSrcweirMY_DEPS_draw = main
99cdf0e10cSrcweirMY_FILES_draw = \
100cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DrawWindowState.xcs \
101cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DrawWindowState.xcu \
102cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_filters.xcu \
103cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_types.xcu \
104cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-draw.xcu \
105cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-draw.xcu \
106cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-draw.xcu
107cdf0e10cSrcweir
108cdf0e10cSrcweirMY_DEPS_graphicfilter = main
109cdf0e10cSrcweirMY_FILES_graphicfilter = \
110cdf0e10cSrcweir    $(MY_MOD)/fcfg_drawgraphics_filters.xcu \
111cdf0e10cSrcweir    $(MY_MOD)/fcfg_drawgraphics_types.xcu \
112cdf0e10cSrcweir    $(MY_MOD)/fcfg_impressgraphics_filters.xcu \
113cdf0e10cSrcweir    $(MY_MOD)/fcfg_impressgraphics_types.xcu
114cdf0e10cSrcweir
115cdf0e10cSrcweirMY_DEPS_impress = main
116cdf0e10cSrcweirMY_FILES_impress = \
117cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Effects.xcs \
118cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ImpressWindowState.xcs \
119cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Effects.xcu \
120cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ImpressWindowState.xcu \
121cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_filters.xcu \
122cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_types.xcu \
123cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-impress.xcu \
124cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
125cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-impress.xcu
126cdf0e10cSrcweir
127cdf0e10cSrcweirMY_FILES_korea = \
128cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-korea.xcu
129cdf0e10cSrcweir
130cdf0e10cSrcweirMY_DEPS_lingucomponent = main
131cdf0e10cSrcweirMY_FILES_lingucomponent = \
132cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-hyphenator.xcu \
133cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-spellchecker.xcu \
134cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-thesaurus.xcu \
135cdf0e10cSrcweir
136cdf0e10cSrcweirMY_FILES_main = \
137cdf0e10cSrcweir    $(MY_XCS)/FirstStartWizard.xcs \
138cdf0e10cSrcweir    $(MY_XCS)/Inet.xcs \
139cdf0e10cSrcweir    $(MY_XCS)/Interaction.xcs \
140cdf0e10cSrcweir    $(MY_XCS)/LDAP.xcs \
141cdf0e10cSrcweir    $(MY_XCS)/Office/Accelerators.xcs \
142cdf0e10cSrcweir    $(MY_XCS)/Office/Addons.xcs \
143cdf0e10cSrcweir    $(MY_XCS)/Office/Calc.xcs \
144cdf0e10cSrcweir    $(MY_XCS)/Office/CalcAddIns.xcs \
145cdf0e10cSrcweir    $(MY_XCS)/Office/Canvas.xcs \
146cdf0e10cSrcweir    $(MY_XCS)/Office/Chart.xcs \
147cdf0e10cSrcweir    $(MY_XCS)/Office/Commands.xcs \
148cdf0e10cSrcweir    $(MY_XCS)/Office/Common.xcs \
149cdf0e10cSrcweir    $(MY_XCS)/Office/Compatibility.xcs \
150cdf0e10cSrcweir    $(MY_XCS)/Office/DataAccess/Drivers.xcs \
151cdf0e10cSrcweir    $(MY_XCS)/Office/DataAccess.xcs \
152cdf0e10cSrcweir    $(MY_XCS)/Office/Draw.xcs \
153cdf0e10cSrcweir    $(MY_XCS)/Office/Embedding.xcs \
154cdf0e10cSrcweir    $(MY_XCS)/Office/Events.xcs \
155cdf0e10cSrcweir    $(MY_XCS)/Office/ExtendedColorScheme.xcs \
156*9e813386SMichael Stahl    $(MY_XCS)/Office/ExtensionDependencies.xcs \
157cdf0e10cSrcweir    $(MY_XCS)/Office/ExtensionManager.xcs \
158cdf0e10cSrcweir    $(MY_XCS)/Office/FormWizard.xcs \
159cdf0e10cSrcweir    $(MY_XCS)/Office/Histories.xcs \
160cdf0e10cSrcweir    $(MY_XCS)/Office/Impress.xcs \
161cdf0e10cSrcweir    $(MY_XCS)/Office/Java.xcs \
162cdf0e10cSrcweir    $(MY_XCS)/Office/Jobs.xcs \
163cdf0e10cSrcweir    $(MY_XCS)/Office/Labels.xcs \
164cdf0e10cSrcweir    $(MY_XCS)/Office/Linguistic.xcs \
165cdf0e10cSrcweir    $(MY_XCS)/Office/Logging.xcs \
166cdf0e10cSrcweir    $(MY_XCS)/Office/Math.xcs \
167cdf0e10cSrcweir    $(MY_XCS)/Office/OOoImprovement/Settings.xcs \
168cdf0e10cSrcweir    $(MY_XCS)/Office/OptionsDialog.xcs \
169cdf0e10cSrcweir    $(MY_XCS)/Office/Paths.xcs \
170cdf0e10cSrcweir    $(MY_XCS)/Office/ProtocolHandler.xcs \
171cdf0e10cSrcweir    $(MY_XCS)/Office/Recovery.xcs \
172cdf0e10cSrcweir    $(MY_XCS)/Office/SFX.xcs \
173cdf0e10cSrcweir    $(MY_XCS)/Office/Scripting.xcs \
174cdf0e10cSrcweir    $(MY_XCS)/Office/Security.xcs \
175cdf0e10cSrcweir    $(MY_XCS)/Office/Substitution.xcs \
176cdf0e10cSrcweir    $(MY_XCS)/Office/TabBrowse.xcs \
177cdf0e10cSrcweir    $(MY_XCS)/Office/TableWizard.xcs \
178cdf0e10cSrcweir    $(MY_XCS)/Office/TypeDetection.xcs \
179cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BaseWindowState.xcs \
180cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BasicIDECommands.xcs \
181cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BasicIDEWindowState.xcs \
182cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BibliographyCommands.xcs \
183cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BibliographyWindowState.xcs \
184cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Category.xcs \
185cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ChartCommands.xcs \
186cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ChartWindowState.xcs \
187cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Commands.xcs \
188cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Controller.xcs \
189cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbBrowserWindowState.xcs \
190cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbQueryWindowState.xcs \
191cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbRelationWindowState.xcs \
192cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbTableDataWindowState.xcs \
193cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbTableWindowState.xcs \
194cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbuCommands.xcs \
195cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DrawImpressCommands.xcs \
196cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Factories.xcs \
197cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GenericCategories.xcs \
198cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GenericCommands.xcs \
199cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GlobalSettings.xcs \
200cdf0e10cSrcweir    $(MY_XCS)/Office/UI/StartModuleCommands.xcs \
201cdf0e10cSrcweir    $(MY_XCS)/Office/UI/StartModuleWindowState.xcs \
202cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WindowContentFactories.xcs \
203cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WindowState.xcs \
204cdf0e10cSrcweir    $(MY_XCS)/Office/UI.xcs \
205cdf0e10cSrcweir    $(MY_XCS)/Office/Views.xcs \
206cdf0e10cSrcweir    $(MY_XCS)/Office/WebWizard.xcs \
207cdf0e10cSrcweir    $(MY_XCS)/Office/Writer.xcs \
208cdf0e10cSrcweir    $(MY_XCS)/Office/WriterWeb.xcs \
209cdf0e10cSrcweir    $(MY_XCS)/Setup.xcs \
210cdf0e10cSrcweir    $(MY_XCS)/System.xcs \
211cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Filter.xcs \
212cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/GraphicFilter.xcs \
213cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Misc.xcs \
214cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Types.xcs \
215cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/UISort.xcs \
216cdf0e10cSrcweir    $(MY_XCS)/UserProfile.xcs \
217cdf0e10cSrcweir    $(MY_XCS)/VCL.xcs \
218cdf0e10cSrcweir    $(MY_XCS)/ucb/Configuration.xcs \
219cdf0e10cSrcweir    $(MY_XCS)/ucb/Hierarchy.xcs \
220cdf0e10cSrcweir    $(MY_XCS)/ucb/InteractionHandler.xcs \
221cdf0e10cSrcweir    $(MY_XCS)/ucb/Store.xcs \
222cdf0e10cSrcweir    $(MY_XCU)/FirstStartWizard.xcu \
223cdf0e10cSrcweir    $(MY_XCU)/Inet.xcu \
224cdf0e10cSrcweir    $(MY_XCU)/Interaction.xcu \
225cdf0e10cSrcweir    $(MY_XCU)/Office/Accelerators.xcu \
226cdf0e10cSrcweir    $(MY_XCU)/Office/Calc.xcu \
227cdf0e10cSrcweir    $(MY_XCU)/Office/Canvas.xcu \
228cdf0e10cSrcweir    $(MY_XCU)/Office/Common.xcu \
229cdf0e10cSrcweir    $(MY_XCU)/Office/DataAccess.xcu \
230cdf0e10cSrcweir    $(MY_XCU)/Office/Embedding.xcu \
231*9e813386SMichael Stahl    $(MY_XCU)/Office/ExtensionDependencies.xcu \
232cdf0e10cSrcweir    $(MY_XCU)/Office/ExtensionManager.xcu \
233cdf0e10cSrcweir    $(MY_XCU)/Office/FormWizard.xcu \
234cdf0e10cSrcweir    $(MY_XCU)/Office/Histories.xcu \
235cdf0e10cSrcweir    $(MY_XCU)/Office/Impress.xcu \
236cdf0e10cSrcweir    $(MY_XCU)/Office/Jobs.xcu \
237cdf0e10cSrcweir    $(MY_XCU)/Office/Labels.xcu \
238cdf0e10cSrcweir    $(MY_XCU)/Office/Logging.xcu \
239cdf0e10cSrcweir    $(MY_XCU)/Office/Math.xcu \
240cdf0e10cSrcweir    $(MY_XCU)/Office/Paths.xcu \
241cdf0e10cSrcweir    $(MY_XCU)/Office/ProtocolHandler.xcu \
242cdf0e10cSrcweir    $(MY_XCU)/Office/SFX.xcu \
243cdf0e10cSrcweir    $(MY_XCU)/Office/Scripting.xcu \
244cdf0e10cSrcweir    $(MY_XCU)/Office/Security.xcu \
245cdf0e10cSrcweir    $(MY_XCU)/Office/TableWizard.xcu \
246cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BaseWindowState.xcu \
247cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BasicIDECommands.xcu \
248cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BasicIDEWindowState.xcu \
249cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BibliographyCommands.xcu \
250cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ChartCommands.xcu \
251cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ChartWindowState.xcu \
252cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Controller.xcu \
253cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbBrowserWindowState.xcu \
254cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbQueryWindowState.xcu \
255cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbRelationWindowState.xcu \
256cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbTableDataWindowState.xcu \
257cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbTableWindowState.xcu \
258cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbuCommands.xcu \
259cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DrawImpressCommands.xcu \
260cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Factories.xcu \
261cdf0e10cSrcweir    $(MY_XCU)/Office/UI/GenericCategories.xcu \
262cdf0e10cSrcweir    $(MY_XCU)/Office/UI/GenericCommands.xcu \
263cdf0e10cSrcweir    $(MY_XCU)/Office/UI/StartModuleCommands.xcu \
264cdf0e10cSrcweir    $(MY_XCU)/Office/UI/StartModuleWindowState.xcu \
265cdf0e10cSrcweir    $(MY_XCU)/Office/UI.xcu \
266cdf0e10cSrcweir    $(MY_XCU)/Office/Views.xcu \
267cdf0e10cSrcweir    $(MY_XCU)/Office/WebWizard.xcu \
268cdf0e10cSrcweir    $(MY_XCU)/Office/Writer.xcu \
269cdf0e10cSrcweir    $(MY_XCU)/Setup.xcu \
270cdf0e10cSrcweir    $(MY_XCU)/System.xcu \
271cdf0e10cSrcweir    $(MY_XCU)/TypeDetection/UISort.xcu \
272cdf0e10cSrcweir    $(MY_XCU)/UserProfile.xcu \
273cdf0e10cSrcweir    $(MY_XCU)/VCL.xcu \
274cdf0e10cSrcweir    $(MY_XCU)/ucb/Configuration.xcu \
275cdf0e10cSrcweir    $(MY_MOD)/DataAccess/dbase.xcu \
276cdf0e10cSrcweir    $(MY_MOD)/DataAccess/flat.xcu \
277cdf0e10cSrcweir    $(MY_MOD)/DataAccess/mysql.xcu \
278cdf0e10cSrcweir    $(MY_MOD)/DataAccess/odbc.xcu \
279cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_filters.xcu \
280cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_others.xcu \
281cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_types.xcu \
282cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_filters.xcu \
283cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_others.xcu \
284cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_types.xcu \
285cdf0e10cSrcweir    $(MY_MOD)/fcfg_internalgraphics_filters.xcu \
286cdf0e10cSrcweir    $(MY_MOD)/fcfg_internalgraphics_types.xcu \
287cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-chart.xcu \
288cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-start.xcu \
289cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
290cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
291cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
292cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
293cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
294cdf0e10cSrcweir.IF "$(GUIBASE)" == "aqua"
295cdf0e10cSrcweirMY_FILES_main += \
296cdf0e10cSrcweir    $(MY_MOD)/DataAccess/macab.xcu \
297cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-macosx.xcu \
298cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \
299cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-macosx.xcu \
300cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-macosx.xcu
301cdf0e10cSrcweir        # Inet-macosx.xcu must come after Inet.xcu
302cdf0e10cSrcweir.ELIF "$(GUIBASE)" == "unx"
303cdf0e10cSrcweirMY_FILES_main += \
304cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-unixdesktop.xcu \
305cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
306cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
307cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-unixdesktop.xcu \
308cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-unx.xcu \
309cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
310cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
311cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/VCL-unixdesktop.xcu
312cdf0e10cSrcweir        # Inet-unixdesktop.xcu must come after Inet.xcu
313cdf0e10cSrcweir        # VCL-unixdesktop.xcu must come after VCL.xcu
314cdf0e10cSrcweir.ELIF "$(GUIBASE)" == "WIN"
315cdf0e10cSrcweirMY_FILES_main += \
316cdf0e10cSrcweir    $(MY_MOD)/DataAccess/ado.xcu \
317cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-wnt.xcu \
318cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
319cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-wnt.xcu \
320cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu
321cdf0e10cSrcweir        # Inet-wnt.xcu must come after Inet.xcu
322cdf0e10cSrcweir.ELSE
323cdf0e10cSrcweirERROR : unknown-GUIBASE
324cdf0e10cSrcweir.END
325cdf0e10cSrcweir.IF "$(OS)" == "WNT" || "$(OS)" == "LINUX" || \
326cdf0e10cSrcweir        ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "NETBSD"
327cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/adabas.xcu
328cdf0e10cSrcweir.END
329cdf0e10cSrcweir.IF "$(ENABLE_EVOAB2)" == "TRUE"
330cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/evoab2.xcu
331cdf0e10cSrcweir.END
332cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE"
333cdf0e10cSrcweirMY_FILES_main += \
334cdf0e10cSrcweir    $(MY_MOD)/DataAccess/hsqldb.xcu \
335cdf0e10cSrcweir    $(MY_MOD)/DataAccess/jdbc.xcu
336cdf0e10cSrcweir.END
337cdf0e10cSrcweir.IF "$(ENABLE_KAB)" == "TRUE"
338cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/kab.xcu
339cdf0e10cSrcweir.END
340cdf0e10cSrcweir.IF "$(SYSTEM_MOZILLA)" != "YES" && "$(WITH_MOZILLA)" != "NO" && \
341cdf0e10cSrcweir        "$(OS)" != "MACOSX"
342cdf0e10cSrcweir.IF "$(OS)" == "WNT"
343cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/mozab.xcu
344cdf0e10cSrcweir.ELSE
345cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/mozab2.xcu
346cdf0e10cSrcweir.END
347cdf0e10cSrcweir.END
348cdf0e10cSrcweir.IF "$(SYSTEM_LIBTEXTCAT_DATA)" != ""
349cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-externallibtextcatdata.xcu
350cdf0e10cSrcweir.ELSE
351cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-internallibtextcatdata.xcu
352cdf0e10cSrcweir.END
353cdf0e10cSrcweir
354cdf0e10cSrcweirMY_DEPS_math = main
355cdf0e10cSrcweirMY_FILES_math = \
356cdf0e10cSrcweir    $(MY_XCS)/Office/UI/MathCommands.xcs \
357cdf0e10cSrcweir    $(MY_XCS)/Office/UI/MathWindowState.xcs \
358cdf0e10cSrcweir    $(MY_XCU)/Office/UI/MathCommands.xcu \
359cdf0e10cSrcweir    $(MY_XCU)/Office/UI/MathWindowState.xcu \
360cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_filters.xcu \
361cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_types.xcu \
362cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-math.xcu \
363cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-math.xcu \
364cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-math.xcu
365cdf0e10cSrcweir
366cdf0e10cSrcweirMY_DEPS_onlineupdate = main
367cdf0e10cSrcweirMY_FILES_onlineupdate = \
368cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Addons/Addons-onlineupdate.xcu \
369cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-onlineupdate.xcu
370cdf0e10cSrcweir
371cdf0e10cSrcweirMY_DEPS_oooimprovement = main
372cdf0e10cSrcweirMY_FILES_oooimprovement = \
373cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-oooimprovement.xcu \
374cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Logging/Logging-oooimprovement.xcu
375cdf0e10cSrcweir
376cdf0e10cSrcweirMY_DEPS_palm = main
377cdf0e10cSrcweirMY_FILES_palm = \
378cdf0e10cSrcweir    $(MY_MOD)/fcfg_palm_filters.xcu \
379cdf0e10cSrcweir    $(MY_MOD)/fcfg_palm_types.xcu
380cdf0e10cSrcweir
381cdf0e10cSrcweirMY_DEPS_pocketexcel = main
382cdf0e10cSrcweirMY_FILES_pocketexcel = \
383cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketexcel_filters.xcu \
384cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketexcel_types.xcu
385cdf0e10cSrcweir
386cdf0e10cSrcweirMY_DEPS_pocketword = main
387cdf0e10cSrcweirMY_FILES_pocketword = \
388cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketword_filters.xcu \
389cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketword_types.xcu
390cdf0e10cSrcweir
391cdf0e10cSrcweirMY_DEPS_pyuno = main
392cdf0e10cSrcweirMY_FILES_pyuno = \
393cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Scripting-python.xcu
394cdf0e10cSrcweir
395cdf0e10cSrcweirMY_DEPS_w4w = main
396cdf0e10cSrcweirMY_FILES_w4w = \
397cdf0e10cSrcweir    $(MY_MOD)/fcfg_w4w_filters.xcu \
398cdf0e10cSrcweir    $(MY_MOD)/fcfg_w4w_types.xcu
399cdf0e10cSrcweir
400cdf0e10cSrcweirMY_DEPS_writer = main
401cdf0e10cSrcweirMY_FILES_writer = \
402cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterCommands.xcs \
403cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterFormWindowState.xcs \
404cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterGlobalWindowState.xcs \
405cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterReportWindowState.xcs \
406cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterWebWindowState.xcs \
407cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterWindowState.xcs \
408cdf0e10cSrcweir    $(MY_XCS)/Office/UI/XFormsWindowState.xcs \
409cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterCommands.xcu \
410cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterFormWindowState.xcu \
411cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterGlobalWindowState.xcu \
412cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterReportWindowState.xcu \
413cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterWebWindowState.xcu \
414cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterWindowState.xcu \
415cdf0e10cSrcweir    $(MY_XCU)/Office/UI/XFormsWindowState.xcu \
416cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_filters.xcu \
417cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_types.xcu \
418cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_filters.xcu \
419cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_types.xcu \
420cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_filters.xcu \
421cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_types.xcu \
422cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-writer.xcu \
423cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-writer.xcu \
424cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-writer.xcu
425cdf0e10cSrcweir
426cdf0e10cSrcweirMY_DEPS_xsltfilter = main
427cdf0e10cSrcweirMY_FILES_xsltfilter = \
428cdf0e10cSrcweir    $(MY_MOD)/fcfg_xslt_filters.xcu \
429cdf0e10cSrcweir    $(MY_MOD)/fcfg_xslt_types.xcu
430cdf0e10cSrcweir
431cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO"
432cdf0e10cSrcweirMY_XCDS += $(MISC)/binfilter.xcd
433cdf0e10cSrcweirMY_DEPS_binfilter = main
434cdf0e10cSrcweirMY_FILES_binfilter = \
435cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_bf_filters.xcu \
436cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_bf_types.xcu \
437cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_bf_filters.xcu \
438cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_bf_types.xcu \
439cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_bf_filters.xcu \
440cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_bf_types.xcu \
441cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_bf_filters.xcu \
442cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_bf_types.xcu \
443cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_bf_filters.xcu \
444cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_bf_types.xcu \
445cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_bf_filters.xcu \
446cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_bf_types.xcu \
447cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_bf_filters.xcu \
448cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_bf_types.xcu \
449cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_bf_filters.xcu \
450cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_bf_types.xcu
451cdf0e10cSrcweir.END
452cdf0e10cSrcweir
453cdf0e10cSrcweir.IF "$(GUIBASE)" == "unx" && \
454cdf0e10cSrcweir        (("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
455cdf0e10cSrcweir         "$(ENABLE_GIO)" == "TRUE")
456cdf0e10cSrcweirMY_XCDS += $(MISC)/gnome.xcd
457cdf0e10cSrcweirMY_DEPS_gnome = main
458cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES"
459cdf0e10cSrcweirMY_FILES_gnome += \
460cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \
461cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \
462cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/UserProfile-gconflockdown.xcu \
463cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/VCL-gconflockdown.xcu
464cdf0e10cSrcweir.END
465cdf0e10cSrcweir.IF "$(ENABLE_GIO)" == "TRUE"
466cdf0e10cSrcweirMY_FILES_gnome += \
467cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/ucb/Configuration-gio.xcu
468cdf0e10cSrcweir.END
469cdf0e10cSrcweir.END
470cdf0e10cSrcweir
471cdf0e10cSrcweir.IF "$(ENABLE_OPENGL)" == "TRUE"
472cdf0e10cSrcweirMY_XCDS += $(MISC)/ogltrans.xcd
473cdf0e10cSrcweirMY_DEPS_ogltrans = main
474cdf0e10cSrcweirMY_FILES_ogltrans = \
475cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Impress-ogltrans.xcu
476cdf0e10cSrcweir.END
477cdf0e10cSrcweir
478cdf0e10cSrcweir.IF "$(GUIBASE)" == "WIN"
479cdf0e10cSrcweirMY_XCDS += $(MISC)/forcedefault.xcd
480cdf0e10cSrcweirMY_DEPS_forcedefault = main
481cdf0e10cSrcweirMY_FILES_forcedefault = \
482cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu
483cdf0e10cSrcweir.END
484cdf0e10cSrcweir
485cdf0e10cSrcweir.INCLUDE : settings.mk
486cdf0e10cSrcweir.INCLUDE : target.mk
487cdf0e10cSrcweir
488cdf0e10cSrcweirALLTAR : \
489cdf0e10cSrcweir    $(MY_XCDS) \
490cdf0e10cSrcweir    $(MISC)/lang/Langpack-{$(alllangiso)}.xcd \
491cdf0e10cSrcweir    $(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd \
492cdf0e10cSrcweir    $(MISC)/lang/registry_{$(alllangiso)}.xcd
493cdf0e10cSrcweir
494cdf0e10cSrcweir{$(MY_XCDS)} : $$(MY_FILES_$$(@:b):^"$(SOLARXMLDIR)/")
495cdf0e10cSrcweir
496cdf0e10cSrcweir$(MISC)/%.xcd .ERRREMOVE : $(MISC)/%.list
497cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
498cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $<
499cdf0e10cSrcweir
500cdf0e10cSrcweir$(MISC)/%.list : makefile.mk
501cdf0e10cSrcweir    - $(RM) $@
502cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(MY_DEPS_$(@:b)) '<dependency file="$i"/>') \
503cdf0e10cSrcweir        $(foreach,i,$(MY_FILES_$(@:b)) '<filename>$i</filename>') '</list>' > $@
504cdf0e10cSrcweir
505cdf0e10cSrcweir$(MISC)/lang/Langpack-{$(alllangiso)}.xcd : $(SOLARXMLDIR)/$(MY_MOD)/$$(@:b).xcu
506cdf0e10cSrcweir
507cdf0e10cSrcweir$(MISC)/lang/Langpack-%.xcd .ERRREMOVE :
508cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
509cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
510cdf0e10cSrcweir    echo '<list><dependency file="main"/>' \
511cdf0e10cSrcweir        '<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC)/$(@:b).list
512cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
513cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
514cdf0e10cSrcweir
515cdf0e10cSrcweir$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
516cdf0e10cSrcweir
517cdf0e10cSrcweir# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
518cdf0e10cSrcweir# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
519cdf0e10cSrcweir# find shell command below (see issue 110041):
520cdf0e10cSrcweir
521cdf0e10cSrcweir$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
522cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
523cdf0e10cSrcweir    rm -rf $(MISC)/$(@:b).unzip
524cdf0e10cSrcweir    mkdir $(MISC)/$(@:b).unzip
525cdf0e10cSrcweir    cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
526cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
527cdf0e10cSrcweir    # filter out filenames starting with "."
528cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
529cdf0e10cSrcweir        find $(@:b).unzip -name \[!.\]\*.xcu -size +0c -print) \
530cdf0e10cSrcweir        '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
531cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
532cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
533cdf0e10cSrcweir
534cdf0e10cSrcweir$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip \
535cdf0e10cSrcweir        $(SOLARPCKDIR)/fcfg_drivers_$$(@:b:s/registry_//).zip
536cdf0e10cSrcweir
537cdf0e10cSrcweir$(MISC)/lang/registry_%.xcd .ERRREMOVE :
538cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
539cdf0e10cSrcweir    rm -rf $(MISC)/$(@:b).unzip
540cdf0e10cSrcweir    mkdir $(MISC)/$(@:b).unzip
541cdf0e10cSrcweir    cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
542cdf0e10cSrcweir    rm -rf $(MISC)/fcfg_drivers_$*.unzip
543cdf0e10cSrcweir    mkdir $(MISC)/fcfg_drivers_$*.unzip
544cdf0e10cSrcweir    cd $(MISC)/fcfg_drivers_$*.unzip && \
545cdf0e10cSrcweir        unzip $(SOLARPCKDIR)/fcfg_drivers_$*.zip
546cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
547cdf0e10cSrcweir    # filter out filenames starting with "."
548cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
549cdf0e10cSrcweir        find $(@:b).unzip fcfg_drivers_$*.unzip -name \[!.\]\*.xcu -print) \
550cdf0e10cSrcweir        '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
551cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
552cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
553