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 = packregistry
27cdf0e10cSrcweir
28cdf0e10cSrcweirMY_XCS = registry/schema/org/openoffice
29cdf0e10cSrcweirMY_XCU = registry/data/org/openoffice
30cdf0e10cSrcweirMY_MOD = registry/spool
31cdf0e10cSrcweir
32cdf0e10cSrcweirMY_XCDS = \
33cdf0e10cSrcweir    $(MISC)/base.xcd \
34cdf0e10cSrcweir    $(MISC)/brand.xcd \
35cdf0e10cSrcweir    $(MISC)/calc.xcd \
36cdf0e10cSrcweir    $(MISC)/cjk.xcd \
37cdf0e10cSrcweir    $(MISC)/ctl.xcd \
38cdf0e10cSrcweir    $(MISC)/draw.xcd \
39cdf0e10cSrcweir    $(MISC)/graphicfilter.xcd \
40cdf0e10cSrcweir    $(MISC)/impress.xcd \
41cdf0e10cSrcweir    $(MISC)/korea.xcd \
42cdf0e10cSrcweir    $(MISC)/lingucomponent.xcd \
43cdf0e10cSrcweir    $(MISC)/main.xcd \
44cdf0e10cSrcweir    $(MISC)/math.xcd \
45cdf0e10cSrcweir    $(MISC)/oooimprovement.xcd \
46cdf0e10cSrcweir    $(MISC)/palm.xcd \
47cdf0e10cSrcweir    $(MISC)/pocketexcel.xcd \
48cdf0e10cSrcweir    $(MISC)/pocketword.xcd \
49cdf0e10cSrcweir    $(MISC)/pyuno.xcd \
50cdf0e10cSrcweir    $(MISC)/w4w.xcd \
51cdf0e10cSrcweir    $(MISC)/writer.xcd \
52cdf0e10cSrcweir    $(MISC)/xsltfilter.xcd
5335779863SAriel Constenla-Haile.IF "$(ENABLE_ONLINE_UPDATE)" == "YES"
5435779863SAriel Constenla-HaileMY_XCDS += \
5535779863SAriel Constenla-Haile    $(MISC)/onlineupdate.xcd
5635779863SAriel Constenla-Haile.END
57cdf0e10cSrcweir
58cdf0e10cSrcweirMY_DEPS_base = main
59cdf0e10cSrcweirMY_FILES_base = \
60cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_filters.xcu \
61cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_others.xcu \
62cdf0e10cSrcweir    $(MY_MOD)/fcfg_database_types.xcu \
63cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-base.xcu \
64cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-base.xcu
65cdf0e10cSrcweir
66910823aeSJürgen Schmidt#MY_FILES_brand = \
67910823aeSJürgen Schmidt#    $(MY_XCU)/Office/Compatibility.xcu \
68910823aeSJürgen Schmidt#    $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
69910823aeSJürgen Schmidt#    $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
70910823aeSJürgen Schmidt#    $(MY_MOD)/org/openoffice/Setup-brand.xcu
71910823aeSJürgen Schmidt#.IF "$(ENABLE_SVCTAGS)" == "YES"
72910823aeSJürgen Schmidt#MY_FILES_brand += \
73910823aeSJürgen Schmidt#    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
74910823aeSJürgen Schmidt#.END
75cdf0e10cSrcweir
76cdf0e10cSrcweirMY_DEPS_calc = main
77cdf0e10cSrcweirMY_FILES_calc = \
78cdf0e10cSrcweir    $(MY_XCS)/Office/UI/CalcCommands.xcs \
79cdf0e10cSrcweir    $(MY_XCS)/Office/UI/CalcWindowState.xcs \
80cdf0e10cSrcweir    $(MY_XCU)/Office/UI/CalcCommands.xcu \
81cdf0e10cSrcweir    $(MY_XCU)/Office/UI/CalcWindowState.xcu \
82cdf0e10cSrcweir    $(MY_MOD)/DataAccess/calc.xcu \
83cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_filters.xcu \
84cdf0e10cSrcweir    $(MY_MOD)/fcfg_calc_types.xcu \
85cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-calc.xcu \
86cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
87cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-calc.xcu
88cdf0e10cSrcweir
89cdf0e10cSrcweirMY_FILES_cjk = \
90cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
91cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
92cdf0e10cSrcweir
93cdf0e10cSrcweirMY_DEPS_ctl = main
94cdf0e10cSrcweirMY_FILES_ctl = \
95cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-ctl.xcu
96cdf0e10cSrcweir
97cdf0e10cSrcweirMY_DEPS_draw = main
98cdf0e10cSrcweirMY_FILES_draw = \
99cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DrawWindowState.xcs \
100cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DrawWindowState.xcu \
101cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_filters.xcu \
102cdf0e10cSrcweir    $(MY_MOD)/fcfg_draw_types.xcu \
103cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-draw.xcu \
104cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-draw.xcu \
105cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-draw.xcu
106cdf0e10cSrcweir
107cdf0e10cSrcweirMY_DEPS_graphicfilter = main
108cdf0e10cSrcweirMY_FILES_graphicfilter = \
109cdf0e10cSrcweir    $(MY_MOD)/fcfg_drawgraphics_filters.xcu \
110cdf0e10cSrcweir    $(MY_MOD)/fcfg_drawgraphics_types.xcu \
111cdf0e10cSrcweir    $(MY_MOD)/fcfg_impressgraphics_filters.xcu \
112cdf0e10cSrcweir    $(MY_MOD)/fcfg_impressgraphics_types.xcu
113cdf0e10cSrcweir
114cdf0e10cSrcweirMY_DEPS_impress = main
115cdf0e10cSrcweirMY_FILES_impress = \
116cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Effects.xcs \
117cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ImpressWindowState.xcs \
118cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Effects.xcu \
119cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ImpressWindowState.xcu \
120cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_filters.xcu \
121cdf0e10cSrcweir    $(MY_MOD)/fcfg_impress_types.xcu \
122cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-impress.xcu \
123cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
12479e0a548SAriel Constenla-Haile    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-presenterscreen.xcu \
12579e0a548SAriel Constenla-Haile    $(MY_MOD)/org/openoffice/Office/ProtocolHandler/ProtocolHandler-presenterscreen.xcu \
12679e0a548SAriel Constenla-Haile    $(MY_XCS)/Office/PresenterScreen.xcs \
12779e0a548SAriel Constenla-Haile    $(MY_XCU)/Office/PresenterScreen.xcu \
128cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-impress.xcu
129cdf0e10cSrcweir
130cdf0e10cSrcweirMY_FILES_korea = \
131cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-korea.xcu
132cdf0e10cSrcweir
133cdf0e10cSrcweirMY_DEPS_lingucomponent = main
134cdf0e10cSrcweirMY_FILES_lingucomponent = \
135cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-hyphenator.xcu \
136cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-spellchecker.xcu \
137cdf0e10cSrcweir    $(MY_XCU)/Office/Linguistic-lingucomponent-thesaurus.xcu \
138cdf0e10cSrcweir
139cdf0e10cSrcweirMY_FILES_main = \
140cdf0e10cSrcweir    $(MY_XCS)/FirstStartWizard.xcs \
141cdf0e10cSrcweir    $(MY_XCS)/Inet.xcs \
142cdf0e10cSrcweir    $(MY_XCS)/Interaction.xcs \
143cdf0e10cSrcweir    $(MY_XCS)/LDAP.xcs \
144cdf0e10cSrcweir    $(MY_XCS)/Office/Accelerators.xcs \
145cdf0e10cSrcweir    $(MY_XCS)/Office/Addons.xcs \
146cdf0e10cSrcweir    $(MY_XCS)/Office/Calc.xcs \
147cdf0e10cSrcweir    $(MY_XCS)/Office/CalcAddIns.xcs \
148cdf0e10cSrcweir    $(MY_XCS)/Office/Canvas.xcs \
149cdf0e10cSrcweir    $(MY_XCS)/Office/Chart.xcs \
150cdf0e10cSrcweir    $(MY_XCS)/Office/Commands.xcs \
151cdf0e10cSrcweir    $(MY_XCS)/Office/Common.xcs \
152cdf0e10cSrcweir    $(MY_XCS)/Office/Compatibility.xcs \
153cdf0e10cSrcweir    $(MY_XCS)/Office/DataAccess/Drivers.xcs \
154cdf0e10cSrcweir    $(MY_XCS)/Office/DataAccess.xcs \
155cdf0e10cSrcweir    $(MY_XCS)/Office/Draw.xcs \
156cdf0e10cSrcweir    $(MY_XCS)/Office/Embedding.xcs \
157cdf0e10cSrcweir    $(MY_XCS)/Office/Events.xcs \
158cdf0e10cSrcweir    $(MY_XCS)/Office/ExtendedColorScheme.xcs \
1599e813386SMichael Stahl    $(MY_XCS)/Office/ExtensionDependencies.xcs \
160cdf0e10cSrcweir    $(MY_XCS)/Office/ExtensionManager.xcs \
161cdf0e10cSrcweir    $(MY_XCS)/Office/FormWizard.xcs \
162cdf0e10cSrcweir    $(MY_XCS)/Office/Histories.xcs \
163cdf0e10cSrcweir    $(MY_XCS)/Office/Impress.xcs \
164cdf0e10cSrcweir    $(MY_XCS)/Office/Java.xcs \
165cdf0e10cSrcweir    $(MY_XCS)/Office/Jobs.xcs \
166cdf0e10cSrcweir    $(MY_XCS)/Office/Labels.xcs \
167cdf0e10cSrcweir    $(MY_XCS)/Office/Linguistic.xcs \
168cdf0e10cSrcweir    $(MY_XCS)/Office/Logging.xcs \
169cdf0e10cSrcweir    $(MY_XCS)/Office/Math.xcs \
170cdf0e10cSrcweir    $(MY_XCS)/Office/OOoImprovement/Settings.xcs \
171cdf0e10cSrcweir    $(MY_XCS)/Office/OptionsDialog.xcs \
172cdf0e10cSrcweir    $(MY_XCS)/Office/Paths.xcs \
173cdf0e10cSrcweir    $(MY_XCS)/Office/ProtocolHandler.xcs \
174cdf0e10cSrcweir    $(MY_XCS)/Office/Recovery.xcs \
175cdf0e10cSrcweir    $(MY_XCS)/Office/SFX.xcs \
176cdf0e10cSrcweir    $(MY_XCS)/Office/Scripting.xcs \
177cdf0e10cSrcweir    $(MY_XCS)/Office/Security.xcs \
178cdf0e10cSrcweir    $(MY_XCS)/Office/Substitution.xcs \
179cdf0e10cSrcweir    $(MY_XCS)/Office/TabBrowse.xcs \
180cdf0e10cSrcweir    $(MY_XCS)/Office/TableWizard.xcs \
181cdf0e10cSrcweir    $(MY_XCS)/Office/TypeDetection.xcs \
182cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BaseWindowState.xcs \
183cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BasicIDECommands.xcs \
184cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BasicIDEWindowState.xcs \
185cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BibliographyCommands.xcs \
186cdf0e10cSrcweir    $(MY_XCS)/Office/UI/BibliographyWindowState.xcs \
187cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Category.xcs \
188cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ChartCommands.xcs \
189cdf0e10cSrcweir    $(MY_XCS)/Office/UI/ChartWindowState.xcs \
190cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Commands.xcs \
191cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Controller.xcs \
192cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbBrowserWindowState.xcs \
193cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbQueryWindowState.xcs \
194cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbRelationWindowState.xcs \
195cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbTableDataWindowState.xcs \
196cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbTableWindowState.xcs \
197cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DbuCommands.xcs \
198cdf0e10cSrcweir    $(MY_XCS)/Office/UI/DrawImpressCommands.xcs \
199cdf0e10cSrcweir    $(MY_XCS)/Office/UI/Factories.xcs \
200cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GenericCategories.xcs \
201cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GenericCommands.xcs \
202cdf0e10cSrcweir    $(MY_XCS)/Office/UI/GlobalSettings.xcs \
20322de8995SAndre Fischer    $(MY_XCS)/Office/UI/Sidebar.xcs \
204cdf0e10cSrcweir    $(MY_XCS)/Office/UI/StartModuleCommands.xcs \
205cdf0e10cSrcweir    $(MY_XCS)/Office/UI/StartModuleWindowState.xcs \
206cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WindowContentFactories.xcs \
207cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WindowState.xcs \
208cdf0e10cSrcweir    $(MY_XCS)/Office/UI.xcs \
209cdf0e10cSrcweir    $(MY_XCS)/Office/Views.xcs \
210cdf0e10cSrcweir    $(MY_XCS)/Office/WebWizard.xcs \
211cdf0e10cSrcweir    $(MY_XCS)/Office/Writer.xcs \
212cdf0e10cSrcweir    $(MY_XCS)/Office/WriterWeb.xcs \
213cdf0e10cSrcweir    $(MY_XCS)/Setup.xcs \
214cdf0e10cSrcweir    $(MY_XCS)/System.xcs \
215cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Filter.xcs \
216cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/GraphicFilter.xcs \
217cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Misc.xcs \
218cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/Types.xcs \
219cdf0e10cSrcweir    $(MY_XCS)/TypeDetection/UISort.xcs \
220cdf0e10cSrcweir    $(MY_XCS)/UserProfile.xcs \
221cdf0e10cSrcweir    $(MY_XCS)/VCL.xcs \
222cdf0e10cSrcweir    $(MY_XCS)/ucb/Configuration.xcs \
223cdf0e10cSrcweir    $(MY_XCS)/ucb/Hierarchy.xcs \
224cdf0e10cSrcweir    $(MY_XCS)/ucb/InteractionHandler.xcs \
225cdf0e10cSrcweir    $(MY_XCS)/ucb/Store.xcs \
226cdf0e10cSrcweir    $(MY_XCU)/FirstStartWizard.xcu \
227cdf0e10cSrcweir    $(MY_XCU)/Inet.xcu \
228cdf0e10cSrcweir    $(MY_XCU)/Interaction.xcu \
229cdf0e10cSrcweir    $(MY_XCU)/Office/Accelerators.xcu \
230cdf0e10cSrcweir    $(MY_XCU)/Office/Calc.xcu \
231cdf0e10cSrcweir    $(MY_XCU)/Office/Canvas.xcu \
232cdf0e10cSrcweir    $(MY_XCU)/Office/Common.xcu \
233910823aeSJürgen Schmidt    $(MY_XCU)/Office/Compatibility.xcu \
234cdf0e10cSrcweir    $(MY_XCU)/Office/DataAccess.xcu \
235cdf0e10cSrcweir    $(MY_XCU)/Office/Embedding.xcu \
2369e813386SMichael Stahl    $(MY_XCU)/Office/ExtensionDependencies.xcu \
237cdf0e10cSrcweir    $(MY_XCU)/Office/ExtensionManager.xcu \
238cdf0e10cSrcweir    $(MY_XCU)/Office/FormWizard.xcu \
239cdf0e10cSrcweir    $(MY_XCU)/Office/Histories.xcu \
240cdf0e10cSrcweir    $(MY_XCU)/Office/Impress.xcu \
241cdf0e10cSrcweir    $(MY_XCU)/Office/Jobs.xcu \
242cdf0e10cSrcweir    $(MY_XCU)/Office/Labels.xcu \
243cdf0e10cSrcweir    $(MY_XCU)/Office/Logging.xcu \
244cdf0e10cSrcweir    $(MY_XCU)/Office/Math.xcu \
245cdf0e10cSrcweir    $(MY_XCU)/Office/Paths.xcu \
246cdf0e10cSrcweir    $(MY_XCU)/Office/ProtocolHandler.xcu \
247cdf0e10cSrcweir    $(MY_XCU)/Office/SFX.xcu \
248cdf0e10cSrcweir    $(MY_XCU)/Office/Scripting.xcu \
249cdf0e10cSrcweir    $(MY_XCU)/Office/Security.xcu \
250cdf0e10cSrcweir    $(MY_XCU)/Office/TableWizard.xcu \
251cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BaseWindowState.xcu \
252cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BasicIDECommands.xcu \
253cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BasicIDEWindowState.xcu \
254cdf0e10cSrcweir    $(MY_XCU)/Office/UI/BibliographyCommands.xcu \
255cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ChartCommands.xcu \
256cdf0e10cSrcweir    $(MY_XCU)/Office/UI/ChartWindowState.xcu \
257cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Controller.xcu \
258cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbBrowserWindowState.xcu \
259cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbQueryWindowState.xcu \
260cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbRelationWindowState.xcu \
261cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbTableDataWindowState.xcu \
262cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbTableWindowState.xcu \
263cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DbuCommands.xcu \
264cdf0e10cSrcweir    $(MY_XCU)/Office/UI/DrawImpressCommands.xcu \
265cdf0e10cSrcweir    $(MY_XCU)/Office/UI/Factories.xcu \
266cdf0e10cSrcweir    $(MY_XCU)/Office/UI/GenericCategories.xcu \
267cdf0e10cSrcweir    $(MY_XCU)/Office/UI/GenericCommands.xcu \
26822de8995SAndre Fischer    $(MY_XCU)/Office/UI/Sidebar.xcu \
269cdf0e10cSrcweir    $(MY_XCU)/Office/UI/StartModuleCommands.xcu \
270cdf0e10cSrcweir    $(MY_XCU)/Office/UI/StartModuleWindowState.xcu \
271cdf0e10cSrcweir    $(MY_XCU)/Office/UI.xcu \
272cdf0e10cSrcweir    $(MY_XCU)/Office/Views.xcu \
273cdf0e10cSrcweir    $(MY_XCU)/Office/WebWizard.xcu \
274cdf0e10cSrcweir    $(MY_XCU)/Office/Writer.xcu \
275cdf0e10cSrcweir    $(MY_XCU)/Setup.xcu \
276cdf0e10cSrcweir    $(MY_XCU)/System.xcu \
277cdf0e10cSrcweir    $(MY_XCU)/TypeDetection/UISort.xcu \
278cdf0e10cSrcweir    $(MY_XCU)/UserProfile.xcu \
279cdf0e10cSrcweir    $(MY_XCU)/VCL.xcu \
280cdf0e10cSrcweir    $(MY_XCU)/ucb/Configuration.xcu \
281cdf0e10cSrcweir    $(MY_MOD)/DataAccess/dbase.xcu \
282cdf0e10cSrcweir    $(MY_MOD)/DataAccess/flat.xcu \
283cdf0e10cSrcweir    $(MY_MOD)/DataAccess/mysql.xcu \
284cdf0e10cSrcweir    $(MY_MOD)/DataAccess/odbc.xcu \
285cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_filters.xcu \
286cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_others.xcu \
287cdf0e10cSrcweir    $(MY_MOD)/fcfg_base_types.xcu \
288cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_filters.xcu \
289cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_others.xcu \
290cdf0e10cSrcweir    $(MY_MOD)/fcfg_chart_types.xcu \
291cdf0e10cSrcweir    $(MY_MOD)/fcfg_internalgraphics_filters.xcu \
292cdf0e10cSrcweir    $(MY_MOD)/fcfg_internalgraphics_types.xcu \
293910823aeSJürgen Schmidt    $(MY_MOD)/org/openoffice/Office/Common-brand.xcu \
294cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-chart.xcu \
295910823aeSJürgen Schmidt    $(MY_MOD)/org/openoffice/Office/UI-brand.xcu \
296910823aeSJürgen Schmidt    $(MY_MOD)/org/openoffice/Setup-brand.xcu \
297cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-start.xcu \
298cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
299cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
300cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
301cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
302cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
303910823aeSJürgen Schmidt.IF "$(ENABLE_SVCTAGS)" == "YES"
304910823aeSJürgen SchmidtMY_FILES_main += \
305910823aeSJürgen Schmidt    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-registration.xcu
306910823aeSJürgen Schmidt.END
307cdf0e10cSrcweir.IF "$(GUIBASE)" == "aqua"
308cdf0e10cSrcweirMY_FILES_main += \
309cdf0e10cSrcweir    $(MY_MOD)/DataAccess/macab.xcu \
310cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-macosx.xcu \
311cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \
312cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-macosx.xcu \
313cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-macosx.xcu
314cdf0e10cSrcweir        # Inet-macosx.xcu must come after Inet.xcu
315cdf0e10cSrcweir.ELIF "$(GUIBASE)" == "unx"
316cdf0e10cSrcweirMY_FILES_main += \
317cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-unixdesktop.xcu \
318cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
319cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
320cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-unixdesktop.xcu \
321cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-unx.xcu \
322cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
323cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
324cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/VCL-unixdesktop.xcu
325cdf0e10cSrcweir        # Inet-unixdesktop.xcu must come after Inet.xcu
326cdf0e10cSrcweir        # VCL-unixdesktop.xcu must come after VCL.xcu
327cdf0e10cSrcweir.ELIF "$(GUIBASE)" == "WIN"
328cdf0e10cSrcweirMY_FILES_main += \
329cdf0e10cSrcweir    $(MY_MOD)/DataAccess/ado.xcu \
330cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Inet-wnt.xcu \
331cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
332cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-wnt.xcu \
333cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu
334cdf0e10cSrcweir        # Inet-wnt.xcu must come after Inet.xcu
33561aaf8b6SYuri Dario.ELIF "$(GUIBASE)" == "os2"
33661aaf8b6SYuri DarioMY_FILES_main += \
33761aaf8b6SYuri Dario    $(MY_MOD)/org/openoffice/Inet-wnt.xcu \
33861aaf8b6SYuri Dario    $(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
33961aaf8b6SYuri Dario    $(MY_MOD)/org/openoffice/Office/Common-wnt.xcu \
34061aaf8b6SYuri Dario    $(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu
34161aaf8b6SYuri Dario        # Inet-wnt.xcu must come after Inet.xcu
342cdf0e10cSrcweir.ELSE
343cdf0e10cSrcweirERROR : unknown-GUIBASE
344cdf0e10cSrcweir.END
34561aaf8b6SYuri Dario.IF "$(OS)" == "WNT" || "$(OS)" == "LINUX" || "$(OS)" == "OS2" || \
346cdf0e10cSrcweir        ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "NETBSD"
347cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/adabas.xcu
348cdf0e10cSrcweir.END
349cdf0e10cSrcweir.IF "$(ENABLE_EVOAB2)" == "TRUE"
350cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/evoab2.xcu
351cdf0e10cSrcweir.END
352cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE"
353cdf0e10cSrcweirMY_FILES_main += \
354cdf0e10cSrcweir    $(MY_MOD)/DataAccess/hsqldb.xcu \
355cdf0e10cSrcweir    $(MY_MOD)/DataAccess/jdbc.xcu
356cdf0e10cSrcweir.END
357cdf0e10cSrcweir.IF "$(ENABLE_KAB)" == "TRUE"
358cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/DataAccess/kab.xcu
359cdf0e10cSrcweir.END
360*ffd43a0aSHerbert Dürr
361cdf0e10cSrcweir.IF "$(SYSTEM_LIBTEXTCAT_DATA)" != ""
362cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-externallibtextcatdata.xcu
363cdf0e10cSrcweir.ELSE
364cdf0e10cSrcweirMY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-internallibtextcatdata.xcu
365cdf0e10cSrcweir.END
366cdf0e10cSrcweir
367cdf0e10cSrcweirMY_DEPS_math = main
368cdf0e10cSrcweirMY_FILES_math = \
369cdf0e10cSrcweir    $(MY_XCS)/Office/UI/MathCommands.xcs \
370cdf0e10cSrcweir    $(MY_XCS)/Office/UI/MathWindowState.xcs \
371cdf0e10cSrcweir    $(MY_XCU)/Office/UI/MathCommands.xcu \
372cdf0e10cSrcweir    $(MY_XCU)/Office/UI/MathWindowState.xcu \
373cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_filters.xcu \
374cdf0e10cSrcweir    $(MY_MOD)/fcfg_math_types.xcu \
375cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-math.xcu \
376cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-math.xcu \
377cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-math.xcu
378cdf0e10cSrcweir
379cdf0e10cSrcweirMY_DEPS_onlineupdate = main
380cdf0e10cSrcweirMY_FILES_onlineupdate = \
381cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Addons/Addons-onlineupdate.xcu \
382cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-onlineupdate.xcu
383cdf0e10cSrcweir
384cdf0e10cSrcweirMY_DEPS_oooimprovement = main
385cdf0e10cSrcweirMY_FILES_oooimprovement = \
386cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-oooimprovement.xcu \
387cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Logging/Logging-oooimprovement.xcu
388cdf0e10cSrcweir
389cdf0e10cSrcweirMY_DEPS_palm = main
390cdf0e10cSrcweirMY_FILES_palm = \
391cdf0e10cSrcweir    $(MY_MOD)/fcfg_palm_filters.xcu \
392cdf0e10cSrcweir    $(MY_MOD)/fcfg_palm_types.xcu
393cdf0e10cSrcweir
394cdf0e10cSrcweirMY_DEPS_pocketexcel = main
395cdf0e10cSrcweirMY_FILES_pocketexcel = \
396cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketexcel_filters.xcu \
397cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketexcel_types.xcu
398cdf0e10cSrcweir
399cdf0e10cSrcweirMY_DEPS_pocketword = main
400cdf0e10cSrcweirMY_FILES_pocketword = \
401cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketword_filters.xcu \
402cdf0e10cSrcweir    $(MY_MOD)/fcfg_pocketword_types.xcu
403cdf0e10cSrcweir
404cdf0e10cSrcweirMY_DEPS_pyuno = main
405cdf0e10cSrcweirMY_FILES_pyuno = \
406cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Scripting-python.xcu
407cdf0e10cSrcweir
408cdf0e10cSrcweirMY_DEPS_w4w = main
409cdf0e10cSrcweirMY_FILES_w4w = \
410cdf0e10cSrcweir    $(MY_MOD)/fcfg_w4w_filters.xcu \
411cdf0e10cSrcweir    $(MY_MOD)/fcfg_w4w_types.xcu
412cdf0e10cSrcweir
413cdf0e10cSrcweirMY_DEPS_writer = main
414cdf0e10cSrcweirMY_FILES_writer = \
415cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterCommands.xcs \
416cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterFormWindowState.xcs \
417cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterGlobalWindowState.xcs \
418cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterReportWindowState.xcs \
419cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterWebWindowState.xcs \
420cdf0e10cSrcweir    $(MY_XCS)/Office/UI/WriterWindowState.xcs \
421cdf0e10cSrcweir    $(MY_XCS)/Office/UI/XFormsWindowState.xcs \
422cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterCommands.xcu \
423cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterFormWindowState.xcu \
424cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterGlobalWindowState.xcu \
425cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterReportWindowState.xcu \
426cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterWebWindowState.xcu \
427cdf0e10cSrcweir    $(MY_XCU)/Office/UI/WriterWindowState.xcu \
428cdf0e10cSrcweir    $(MY_XCU)/Office/UI/XFormsWindowState.xcu \
429cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_filters.xcu \
430cdf0e10cSrcweir    $(MY_MOD)/fcfg_global_types.xcu \
431cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_filters.xcu \
432cdf0e10cSrcweir    $(MY_MOD)/fcfg_web_types.xcu \
433cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_filters.xcu \
434cdf0e10cSrcweir    $(MY_MOD)/fcfg_writer_types.xcu \
435cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-writer.xcu \
436cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Embedding-writer.xcu \
437cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Setup-writer.xcu
438cdf0e10cSrcweir
439cdf0e10cSrcweirMY_DEPS_xsltfilter = main
440cdf0e10cSrcweirMY_FILES_xsltfilter = \
441cdf0e10cSrcweir    $(MY_MOD)/fcfg_xslt_filters.xcu \
442cdf0e10cSrcweir    $(MY_MOD)/fcfg_xslt_types.xcu
443cdf0e10cSrcweir
444cdf0e10cSrcweir.IF "$(GUIBASE)" == "unx" && \
445cdf0e10cSrcweir        (("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
446cdf0e10cSrcweir         "$(ENABLE_GIO)" == "TRUE")
447cdf0e10cSrcweirMY_XCDS += $(MISC)/gnome.xcd
448cdf0e10cSrcweirMY_DEPS_gnome = main
449cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES"
450cdf0e10cSrcweirMY_FILES_gnome += \
451cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \
452cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \
453cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/UserProfile-gconflockdown.xcu \
454cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/VCL-gconflockdown.xcu
455cdf0e10cSrcweir.END
456cdf0e10cSrcweir.IF "$(ENABLE_GIO)" == "TRUE"
457cdf0e10cSrcweirMY_FILES_gnome += \
458cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/ucb/Configuration-gio.xcu
459cdf0e10cSrcweir.END
460cdf0e10cSrcweir.END
461cdf0e10cSrcweir
462cdf0e10cSrcweir.IF "$(ENABLE_OPENGL)" == "TRUE"
463cdf0e10cSrcweirMY_XCDS += $(MISC)/ogltrans.xcd
464cdf0e10cSrcweirMY_DEPS_ogltrans = main
465cdf0e10cSrcweirMY_FILES_ogltrans = \
466cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Impress-ogltrans.xcu
467cdf0e10cSrcweir.END
468cdf0e10cSrcweir
46961aaf8b6SYuri Dario.IF "$(GUIBASE)" == "WIN" || "$(GUIBASE)" == "os2"
470cdf0e10cSrcweirMY_XCDS += $(MISC)/forcedefault.xcd
471cdf0e10cSrcweirMY_DEPS_forcedefault = main
472cdf0e10cSrcweirMY_FILES_forcedefault = \
473cdf0e10cSrcweir    $(MY_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu
474cdf0e10cSrcweir.END
475cdf0e10cSrcweir
476cdf0e10cSrcweir.INCLUDE : settings.mk
477cdf0e10cSrcweir.INCLUDE : target.mk
478cdf0e10cSrcweir
479cdf0e10cSrcweirALLTAR : \
480cdf0e10cSrcweir    $(MY_XCDS) \
481cdf0e10cSrcweir    $(MISC)/lang/Langpack-{$(alllangiso)}.xcd \
482cdf0e10cSrcweir    $(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd \
483cdf0e10cSrcweir    $(MISC)/lang/registry_{$(alllangiso)}.xcd
484cdf0e10cSrcweir
485cdf0e10cSrcweir{$(MY_XCDS)} : $$(MY_FILES_$$(@:b):^"$(SOLARXMLDIR)/")
486cdf0e10cSrcweir
487cdf0e10cSrcweir$(MISC)/%.xcd .ERRREMOVE : $(MISC)/%.list
488cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
489cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $<
490cdf0e10cSrcweir
491cdf0e10cSrcweir$(MISC)/%.list : makefile.mk
492cdf0e10cSrcweir    - $(RM) $@
493cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(MY_DEPS_$(@:b)) '<dependency file="$i"/>') \
494cdf0e10cSrcweir        $(foreach,i,$(MY_FILES_$(@:b)) '<filename>$i</filename>') '</list>' > $@
495cdf0e10cSrcweir
496cdf0e10cSrcweir$(MISC)/lang/Langpack-{$(alllangiso)}.xcd : $(SOLARXMLDIR)/$(MY_MOD)/$$(@:b).xcu
497cdf0e10cSrcweir
498cdf0e10cSrcweir$(MISC)/lang/Langpack-%.xcd .ERRREMOVE :
499cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
500cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
501cdf0e10cSrcweir    echo '<list><dependency file="main"/>' \
502cdf0e10cSrcweir        '<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC)/$(@:b).list
503cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
504cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
505cdf0e10cSrcweir
506cdf0e10cSrcweir$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
507cdf0e10cSrcweir
508cdf0e10cSrcweir# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
509cdf0e10cSrcweir# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
510cdf0e10cSrcweir# find shell command below (see issue 110041):
511cdf0e10cSrcweir
512cdf0e10cSrcweir$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
513cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
514cdf0e10cSrcweir    rm -rf $(MISC)/$(@:b).unzip
515cdf0e10cSrcweir    mkdir $(MISC)/$(@:b).unzip
516cdf0e10cSrcweir    cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
517cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
518cdf0e10cSrcweir    # filter out filenames starting with "."
519cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
520cdf0e10cSrcweir        find $(@:b).unzip -name \[!.\]\*.xcu -size +0c -print) \
521cdf0e10cSrcweir        '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
522cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
523cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
524cdf0e10cSrcweir
525cdf0e10cSrcweir$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip \
526cdf0e10cSrcweir        $(SOLARPCKDIR)/fcfg_drivers_$$(@:b:s/registry_//).zip
527cdf0e10cSrcweir
528cdf0e10cSrcweir$(MISC)/lang/registry_%.xcd .ERRREMOVE :
529cdf0e10cSrcweir    $(MKDIRHIER) $(@:d)
530cdf0e10cSrcweir    rm -rf $(MISC)/$(@:b).unzip
531cdf0e10cSrcweir    mkdir $(MISC)/$(@:b).unzip
532cdf0e10cSrcweir    cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
533cdf0e10cSrcweir    rm -rf $(MISC)/fcfg_drivers_$*.unzip
534cdf0e10cSrcweir    mkdir $(MISC)/fcfg_drivers_$*.unzip
535cdf0e10cSrcweir    cd $(MISC)/fcfg_drivers_$*.unzip && \
536cdf0e10cSrcweir        unzip $(SOLARPCKDIR)/fcfg_drivers_$*.zip
537cdf0e10cSrcweir    - $(RM) $(MISC)/$(@:b).list
538cdf0e10cSrcweir    # filter out filenames starting with "."
539cdf0e10cSrcweir    echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
540cdf0e10cSrcweir        find $(@:b).unzip fcfg_drivers_$*.unzip -name \[!.\]\*.xcu -print) \
541cdf0e10cSrcweir        '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
542cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
543cdf0e10cSrcweir        $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
544