1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #***********************************************************************/
32 MY_XCS
= registry
/schema
/org
/openoffice
33 MY_XCU
= registry
/data
/org
/openoffice
34 MY_MOD
= registry
/spool
43 $(MISC
)/graphicfilter.xcd \
46 $(MISC
)/lingucomponent.xcd \
49 $(MISC
)/onlineupdate.xcd \
50 $(MISC
)/oooimprovement.xcd \
52 $(MISC
)/pocketexcel.xcd \
53 $(MISC
)/pocketword.xcd \
57 $(MISC
)/xsltfilter.xcd
61 $(MY_MOD
)/fcfg_database_filters.xcu \
62 $(MY_MOD
)/fcfg_database_others.xcu \
63 $(MY_MOD
)/fcfg_database_types.xcu \
64 $(MY_MOD
)/org
/openoffice
/Office
/Common-base.xcu \
65 $(MY_MOD
)/org
/openoffice
/Setup-base.xcu
68 $(MY_XCU
)/Office
/Compatibility.xcu \
69 $(MY_MOD
)/org
/openoffice
/Office
/Common-brand.xcu \
70 $(MY_MOD
)/org
/openoffice
/Office
/UI-brand.xcu \
71 $(MY_MOD
)/org
/openoffice
/Setup-brand.xcu
72 .IF
"$(ENABLE_SVCTAGS)" == "YES"
74 $(MY_MOD
)/org
/openoffice
/Office
/Jobs
/Jobs-registration.xcu
79 $(MY_XCS
)/Office
/UI
/CalcCommands.xcs \
80 $(MY_XCS
)/Office
/UI
/CalcWindowState.xcs \
81 $(MY_XCU
)/Office
/UI
/CalcCommands.xcu \
82 $(MY_XCU
)/Office
/UI
/CalcWindowState.xcu \
83 $(MY_MOD
)/DataAccess
/calc.xcu \
84 $(MY_MOD
)/fcfg_calc_filters.xcu \
85 $(MY_MOD
)/fcfg_calc_types.xcu \
86 $(MY_MOD
)/org
/openoffice
/Office
/Common-calc.xcu \
87 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-calc.xcu \
88 $(MY_MOD
)/org
/openoffice
/Setup-calc.xcu
91 $(MY_MOD
)/org
/openoffice
/Office
/Common-cjk.xcu \
92 $(MY_MOD
)/org
/openoffice
/Office
/Writer-cjk.xcu
96 $(MY_MOD
)/org
/openoffice
/Office
/Common-ctl.xcu
100 $(MY_XCS
)/Office
/UI
/DrawWindowState.xcs \
101 $(MY_XCU
)/Office
/UI
/DrawWindowState.xcu \
102 $(MY_MOD
)/fcfg_draw_filters.xcu \
103 $(MY_MOD
)/fcfg_draw_types.xcu \
104 $(MY_MOD
)/org
/openoffice
/Office
/Common-draw.xcu \
105 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-draw.xcu \
106 $(MY_MOD
)/org
/openoffice
/Setup-draw.xcu
108 MY_DEPS_graphicfilter
= main
109 MY_FILES_graphicfilter
= \
110 $(MY_MOD
)/fcfg_drawgraphics_filters.xcu \
111 $(MY_MOD
)/fcfg_drawgraphics_types.xcu \
112 $(MY_MOD
)/fcfg_impressgraphics_filters.xcu \
113 $(MY_MOD
)/fcfg_impressgraphics_types.xcu
115 MY_DEPS_impress
= main
117 $(MY_XCS
)/Office
/UI
/Effects.xcs \
118 $(MY_XCS
)/Office
/UI
/ImpressWindowState.xcs \
119 $(MY_XCU
)/Office
/UI
/Effects.xcu \
120 $(MY_XCU
)/Office
/UI
/ImpressWindowState.xcu \
121 $(MY_MOD
)/fcfg_impress_filters.xcu \
122 $(MY_MOD
)/fcfg_impress_types.xcu \
123 $(MY_MOD
)/org
/openoffice
/Office
/Common-impress.xcu \
124 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-impress.xcu \
125 $(MY_MOD
)/org
/openoffice
/Setup-impress.xcu
128 $(MY_MOD
)/org
/openoffice
/Office
/Common-korea.xcu
130 MY_DEPS_lingucomponent
= main
131 MY_FILES_lingucomponent
= \
132 $(MY_XCU
)/Office
/Linguistic-lingucomponent-hyphenator.xcu \
133 $(MY_XCU
)/Office
/Linguistic-lingucomponent-spellchecker.xcu \
134 $(MY_XCU
)/Office
/Linguistic-lingucomponent-thesaurus.xcu \
137 $(MY_XCS
)/FirstStartWizard.xcs \
139 $(MY_XCS
)/Interaction.xcs \
141 $(MY_XCS
)/Office
/Accelerators.xcs \
142 $(MY_XCS
)/Office
/Addons.xcs \
143 $(MY_XCS
)/Office
/Calc.xcs \
144 $(MY_XCS
)/Office
/CalcAddIns.xcs \
145 $(MY_XCS
)/Office
/Canvas.xcs \
146 $(MY_XCS
)/Office
/Chart.xcs \
147 $(MY_XCS
)/Office
/Commands.xcs \
148 $(MY_XCS
)/Office
/Common.xcs \
149 $(MY_XCS
)/Office
/Compatibility.xcs \
150 $(MY_XCS
)/Office
/DataAccess
/Drivers.xcs \
151 $(MY_XCS
)/Office
/DataAccess.xcs \
152 $(MY_XCS
)/Office
/Draw.xcs \
153 $(MY_XCS
)/Office
/Embedding.xcs \
154 $(MY_XCS
)/Office
/Events.xcs \
155 $(MY_XCS
)/Office
/ExtendedColorScheme.xcs \
156 $(MY_XCS
)/Office
/ExtensionManager.xcs \
157 $(MY_XCS
)/Office
/FormWizard.xcs \
158 $(MY_XCS
)/Office
/Histories.xcs \
159 $(MY_XCS
)/Office
/Impress.xcs \
160 $(MY_XCS
)/Office
/Java.xcs \
161 $(MY_XCS
)/Office
/Jobs.xcs \
162 $(MY_XCS
)/Office
/Labels.xcs \
163 $(MY_XCS
)/Office
/Linguistic.xcs \
164 $(MY_XCS
)/Office
/Logging.xcs \
165 $(MY_XCS
)/Office
/Math.xcs \
166 $(MY_XCS
)/Office
/OOoImprovement
/Settings.xcs \
167 $(MY_XCS
)/Office
/OptionsDialog.xcs \
168 $(MY_XCS
)/Office
/Paths.xcs \
169 $(MY_XCS
)/Office
/ProtocolHandler.xcs \
170 $(MY_XCS
)/Office
/Recovery.xcs \
171 $(MY_XCS
)/Office
/SFX.xcs \
172 $(MY_XCS
)/Office
/Scripting.xcs \
173 $(MY_XCS
)/Office
/Security.xcs \
174 $(MY_XCS
)/Office
/Substitution.xcs \
175 $(MY_XCS
)/Office
/TabBrowse.xcs \
176 $(MY_XCS
)/Office
/TableWizard.xcs \
177 $(MY_XCS
)/Office
/TypeDetection.xcs \
178 $(MY_XCS
)/Office
/UI
/BaseWindowState.xcs \
179 $(MY_XCS
)/Office
/UI
/BasicIDECommands.xcs \
180 $(MY_XCS
)/Office
/UI
/BasicIDEWindowState.xcs \
181 $(MY_XCS
)/Office
/UI
/BibliographyCommands.xcs \
182 $(MY_XCS
)/Office
/UI
/BibliographyWindowState.xcs \
183 $(MY_XCS
)/Office
/UI
/Category.xcs \
184 $(MY_XCS
)/Office
/UI
/ChartCommands.xcs \
185 $(MY_XCS
)/Office
/UI
/ChartWindowState.xcs \
186 $(MY_XCS
)/Office
/UI
/Commands.xcs \
187 $(MY_XCS
)/Office
/UI
/Controller.xcs \
188 $(MY_XCS
)/Office
/UI
/DbBrowserWindowState.xcs \
189 $(MY_XCS
)/Office
/UI
/DbQueryWindowState.xcs \
190 $(MY_XCS
)/Office
/UI
/DbRelationWindowState.xcs \
191 $(MY_XCS
)/Office
/UI
/DbTableDataWindowState.xcs \
192 $(MY_XCS
)/Office
/UI
/DbTableWindowState.xcs \
193 $(MY_XCS
)/Office
/UI
/DbuCommands.xcs \
194 $(MY_XCS
)/Office
/UI
/DrawImpressCommands.xcs \
195 $(MY_XCS
)/Office
/UI
/Factories.xcs \
196 $(MY_XCS
)/Office
/UI
/GenericCategories.xcs \
197 $(MY_XCS
)/Office
/UI
/GenericCommands.xcs \
198 $(MY_XCS
)/Office
/UI
/GlobalSettings.xcs \
199 $(MY_XCS
)/Office
/UI
/StartModuleCommands.xcs \
200 $(MY_XCS
)/Office
/UI
/StartModuleWindowState.xcs \
201 $(MY_XCS
)/Office
/UI
/WindowContentFactories.xcs \
202 $(MY_XCS
)/Office
/UI
/WindowState.xcs \
203 $(MY_XCS
)/Office
/UI.xcs \
204 $(MY_XCS
)/Office
/Views.xcs \
205 $(MY_XCS
)/Office
/WebWizard.xcs \
206 $(MY_XCS
)/Office
/Writer.xcs \
207 $(MY_XCS
)/Office
/WriterWeb.xcs \
208 $(MY_XCS
)/Setup.xcs \
209 $(MY_XCS
)/System.xcs \
210 $(MY_XCS
)/TypeDetection
/Filter.xcs \
211 $(MY_XCS
)/TypeDetection
/GraphicFilter.xcs \
212 $(MY_XCS
)/TypeDetection
/Misc.xcs \
213 $(MY_XCS
)/TypeDetection
/Types.xcs \
214 $(MY_XCS
)/TypeDetection
/UISort.xcs \
215 $(MY_XCS
)/UserProfile.xcs \
217 $(MY_XCS
)/ucb
/Configuration.xcs \
218 $(MY_XCS
)/ucb
/Hierarchy.xcs \
219 $(MY_XCS
)/ucb
/InteractionHandler.xcs \
220 $(MY_XCS
)/ucb
/Store.xcs \
221 $(MY_XCU
)/FirstStartWizard.xcu \
223 $(MY_XCU
)/Interaction.xcu \
224 $(MY_XCU
)/Office
/Accelerators.xcu \
225 $(MY_XCU
)/Office
/Calc.xcu \
226 $(MY_XCU
)/Office
/Canvas.xcu \
227 $(MY_XCU
)/Office
/Common.xcu \
228 $(MY_XCU
)/Office
/DataAccess.xcu \
229 $(MY_XCU
)/Office
/Embedding.xcu \
230 $(MY_XCU
)/Office
/ExtensionManager.xcu \
231 $(MY_XCU
)/Office
/FormWizard.xcu \
232 $(MY_XCU
)/Office
/Histories.xcu \
233 $(MY_XCU
)/Office
/Impress.xcu \
234 $(MY_XCU
)/Office
/Jobs.xcu \
235 $(MY_XCU
)/Office
/Labels.xcu \
236 $(MY_XCU
)/Office
/Logging.xcu \
237 $(MY_XCU
)/Office
/Math.xcu \
238 $(MY_XCU
)/Office
/Paths.xcu \
239 $(MY_XCU
)/Office
/ProtocolHandler.xcu \
240 $(MY_XCU
)/Office
/SFX.xcu \
241 $(MY_XCU
)/Office
/Scripting.xcu \
242 $(MY_XCU
)/Office
/Security.xcu \
243 $(MY_XCU
)/Office
/TableWizard.xcu \
244 $(MY_XCU
)/Office
/UI
/BaseWindowState.xcu \
245 $(MY_XCU
)/Office
/UI
/BasicIDECommands.xcu \
246 $(MY_XCU
)/Office
/UI
/BasicIDEWindowState.xcu \
247 $(MY_XCU
)/Office
/UI
/BibliographyCommands.xcu \
248 $(MY_XCU
)/Office
/UI
/ChartCommands.xcu \
249 $(MY_XCU
)/Office
/UI
/ChartWindowState.xcu \
250 $(MY_XCU
)/Office
/UI
/Controller.xcu \
251 $(MY_XCU
)/Office
/UI
/DbBrowserWindowState.xcu \
252 $(MY_XCU
)/Office
/UI
/DbQueryWindowState.xcu \
253 $(MY_XCU
)/Office
/UI
/DbRelationWindowState.xcu \
254 $(MY_XCU
)/Office
/UI
/DbTableDataWindowState.xcu \
255 $(MY_XCU
)/Office
/UI
/DbTableWindowState.xcu \
256 $(MY_XCU
)/Office
/UI
/DbuCommands.xcu \
257 $(MY_XCU
)/Office
/UI
/DrawImpressCommands.xcu \
258 $(MY_XCU
)/Office
/UI
/Factories.xcu \
259 $(MY_XCU
)/Office
/UI
/GenericCategories.xcu \
260 $(MY_XCU
)/Office
/UI
/GenericCommands.xcu \
261 $(MY_XCU
)/Office
/UI
/StartModuleCommands.xcu \
262 $(MY_XCU
)/Office
/UI
/StartModuleWindowState.xcu \
263 $(MY_XCU
)/Office
/UI.xcu \
264 $(MY_XCU
)/Office
/Views.xcu \
265 $(MY_XCU
)/Office
/WebWizard.xcu \
266 $(MY_XCU
)/Office
/Writer.xcu \
267 $(MY_XCU
)/Setup.xcu \
268 $(MY_XCU
)/System.xcu \
269 $(MY_XCU
)/TypeDetection
/UISort.xcu \
270 $(MY_XCU
)/UserProfile.xcu \
272 $(MY_XCU
)/ucb
/Configuration.xcu \
273 $(MY_MOD
)/DataAccess
/dbase.xcu \
274 $(MY_MOD
)/DataAccess
/flat.xcu \
275 $(MY_MOD
)/DataAccess
/mysql.xcu \
276 $(MY_MOD
)/DataAccess
/odbc.xcu \
277 $(MY_MOD
)/fcfg_base_filters.xcu \
278 $(MY_MOD
)/fcfg_base_others.xcu \
279 $(MY_MOD
)/fcfg_base_types.xcu \
280 $(MY_MOD
)/fcfg_chart_filters.xcu \
281 $(MY_MOD
)/fcfg_chart_others.xcu \
282 $(MY_MOD
)/fcfg_chart_types.xcu \
283 $(MY_MOD
)/fcfg_internalgraphics_filters.xcu \
284 $(MY_MOD
)/fcfg_internalgraphics_types.xcu \
285 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-chart.xcu \
286 $(MY_MOD
)/org
/openoffice
/Setup-start.xcu \
287 $(MY_MOD
)/org
/openoffice
/TypeDetection
/UISort-calc.xcu \
288 $(MY_MOD
)/org
/openoffice
/TypeDetection
/UISort-draw.xcu \
289 $(MY_MOD
)/org
/openoffice
/TypeDetection
/UISort-impress.xcu \
290 $(MY_MOD
)/org
/openoffice
/TypeDetection
/UISort-math.xcu \
291 $(MY_MOD
)/org
/openoffice
/TypeDetection
/UISort-writer.xcu
292 .IF
"$(GUIBASE)" == "aqua"
294 $(MY_MOD
)/DataAccess
/macab.xcu \
295 $(MY_MOD
)/org
/openoffice
/Inet-macosx.xcu \
296 $(MY_MOD
)/org
/openoffice
/Office
/Accelerators-macosx.xcu \
297 $(MY_MOD
)/org
/openoffice
/Office
/Common-macosx.xcu \
298 $(MY_MOD
)/org
/openoffice
/Office
/Paths-macosx.xcu
299 # Inet-macosx.xcu must come after Inet.xcu
300 .ELIF
"$(GUIBASE)" == "unx"
302 $(MY_MOD
)/org
/openoffice
/Inet-unixdesktop.xcu \
303 $(MY_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
304 $(MY_MOD
)/org
/openoffice
/Office
/Common-UseOOoFileDialogs.xcu \
305 $(MY_MOD
)/org
/openoffice
/Office
/Common-unixdesktop.xcu \
306 $(MY_MOD
)/org
/openoffice
/Office
/Common-unx.xcu \
307 $(MY_MOD
)/org
/openoffice
/Office
/Paths-unixdesktop.xcu \
308 $(MY_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu \
309 $(MY_MOD
)/org
/openoffice
/VCL-unixdesktop.xcu
310 # Inet-unixdesktop.xcu must come after Inet.xcu
311 # VCL-unixdesktop.xcu must come after VCL.xcu
312 .ELIF
"$(GUIBASE)" == "WIN"
314 $(MY_MOD
)/DataAccess
/ado.xcu \
315 $(MY_MOD
)/org
/openoffice
/Inet-wnt.xcu \
316 $(MY_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
317 $(MY_MOD
)/org
/openoffice
/Office
/Common-wnt.xcu \
318 $(MY_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu
319 # Inet-wnt.xcu must come after Inet.xcu
321 ERROR
: unknown-GUIBASE
323 .IF
"$(OS)" == "WNT" ||
"$(OS)" == "LINUX" || \
324 ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") ||
"$(OS)" == "NETBSD"
325 MY_FILES_main
+= $(MY_MOD
)/DataAccess
/adabas.xcu
327 .IF
"$(ENABLE_EVOAB2)" == "TRUE"
328 MY_FILES_main
+= $(MY_MOD
)/DataAccess
/evoab2.xcu
330 .IF
"$(SOLAR_JAVA)" == "TRUE"
332 $(MY_MOD
)/DataAccess
/hsqldb.xcu \
333 $(MY_MOD
)/DataAccess
/jdbc.xcu
335 .IF
"$(ENABLE_KAB)" == "TRUE"
336 MY_FILES_main
+= $(MY_MOD
)/DataAccess
/kab.xcu
338 .IF
"$(SYSTEM_MOZILLA)" != "YES" && "$(WITH_MOZILLA)" != "NO" && \
341 MY_FILES_main
+= $(MY_MOD
)/DataAccess
/mozab.xcu
343 MY_FILES_main
+= $(MY_MOD
)/DataAccess
/mozab2.xcu
346 .IF
"$(SYSTEM_LIBTEXTCAT_DATA)" != ""
347 MY_FILES_main
+= $(MY_MOD
)/org
/openoffice
/Office
/Paths-externallibtextcatdata.xcu
349 MY_FILES_main
+= $(MY_MOD
)/org
/openoffice
/Office
/Paths-internallibtextcatdata.xcu
354 $(MY_XCS
)/Office
/UI
/MathCommands.xcs \
355 $(MY_XCS
)/Office
/UI
/MathWindowState.xcs \
356 $(MY_XCU
)/Office
/UI
/MathCommands.xcu \
357 $(MY_XCU
)/Office
/UI
/MathWindowState.xcu \
358 $(MY_MOD
)/fcfg_math_filters.xcu \
359 $(MY_MOD
)/fcfg_math_types.xcu \
360 $(MY_MOD
)/org
/openoffice
/Office
/Common-math.xcu \
361 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-math.xcu \
362 $(MY_MOD
)/org
/openoffice
/Setup-math.xcu
364 MY_DEPS_onlineupdate
= main
365 MY_FILES_onlineupdate
= \
366 $(MY_MOD
)/org
/openoffice
/Office
/Addons
/Addons-onlineupdate.xcu \
367 $(MY_MOD
)/org
/openoffice
/Office
/Jobs
/Jobs-onlineupdate.xcu
369 MY_DEPS_oooimprovement
= main
370 MY_FILES_oooimprovement
= \
371 $(MY_MOD
)/org
/openoffice
/Office
/Jobs
/Jobs-oooimprovement.xcu \
372 $(MY_MOD
)/org
/openoffice
/Office
/Logging
/Logging-oooimprovement.xcu
376 $(MY_MOD
)/fcfg_palm_filters.xcu \
377 $(MY_MOD
)/fcfg_palm_types.xcu
379 MY_DEPS_pocketexcel
= main
380 MY_FILES_pocketexcel
= \
381 $(MY_MOD
)/fcfg_pocketexcel_filters.xcu \
382 $(MY_MOD
)/fcfg_pocketexcel_types.xcu
384 MY_DEPS_pocketword
= main
385 MY_FILES_pocketword
= \
386 $(MY_MOD
)/fcfg_pocketword_filters.xcu \
387 $(MY_MOD
)/fcfg_pocketword_types.xcu
391 $(MY_MOD
)/org
/openoffice
/Office
/Scripting-python.xcu
395 $(MY_MOD
)/fcfg_w4w_filters.xcu \
396 $(MY_MOD
)/fcfg_w4w_types.xcu
398 MY_DEPS_writer
= main
400 $(MY_XCS
)/Office
/UI
/WriterCommands.xcs \
401 $(MY_XCS
)/Office
/UI
/WriterFormWindowState.xcs \
402 $(MY_XCS
)/Office
/UI
/WriterGlobalWindowState.xcs \
403 $(MY_XCS
)/Office
/UI
/WriterReportWindowState.xcs \
404 $(MY_XCS
)/Office
/UI
/WriterWebWindowState.xcs \
405 $(MY_XCS
)/Office
/UI
/WriterWindowState.xcs \
406 $(MY_XCS
)/Office
/UI
/XFormsWindowState.xcs \
407 $(MY_XCU
)/Office
/UI
/WriterCommands.xcu \
408 $(MY_XCU
)/Office
/UI
/WriterFormWindowState.xcu \
409 $(MY_XCU
)/Office
/UI
/WriterGlobalWindowState.xcu \
410 $(MY_XCU
)/Office
/UI
/WriterReportWindowState.xcu \
411 $(MY_XCU
)/Office
/UI
/WriterWebWindowState.xcu \
412 $(MY_XCU
)/Office
/UI
/WriterWindowState.xcu \
413 $(MY_XCU
)/Office
/UI
/XFormsWindowState.xcu \
414 $(MY_MOD
)/fcfg_global_filters.xcu \
415 $(MY_MOD
)/fcfg_global_types.xcu \
416 $(MY_MOD
)/fcfg_web_filters.xcu \
417 $(MY_MOD
)/fcfg_web_types.xcu \
418 $(MY_MOD
)/fcfg_writer_filters.xcu \
419 $(MY_MOD
)/fcfg_writer_types.xcu \
420 $(MY_MOD
)/org
/openoffice
/Office
/Common-writer.xcu \
421 $(MY_MOD
)/org
/openoffice
/Office
/Embedding-writer.xcu \
422 $(MY_MOD
)/org
/openoffice
/Setup-writer.xcu
424 MY_DEPS_xsltfilter
= main
425 MY_FILES_xsltfilter
= \
426 $(MY_MOD
)/fcfg_xslt_filters.xcu \
427 $(MY_MOD
)/fcfg_xslt_types.xcu
429 .IF
"$(WITH_BINFILTER)" != "NO"
430 MY_XCDS
+= $(MISC
)/binfilter.xcd
431 MY_DEPS_binfilter
= main
432 MY_FILES_binfilter
= \
433 $(MY_MOD
)/fcfg_chart_bf_filters.xcu \
434 $(MY_MOD
)/fcfg_chart_bf_types.xcu \
435 $(MY_MOD
)/fcfg_calc_bf_filters.xcu \
436 $(MY_MOD
)/fcfg_calc_bf_types.xcu \
437 $(MY_MOD
)/fcfg_draw_bf_filters.xcu \
438 $(MY_MOD
)/fcfg_draw_bf_types.xcu \
439 $(MY_MOD
)/fcfg_global_bf_filters.xcu \
440 $(MY_MOD
)/fcfg_global_bf_types.xcu \
441 $(MY_MOD
)/fcfg_impress_bf_filters.xcu \
442 $(MY_MOD
)/fcfg_impress_bf_types.xcu \
443 $(MY_MOD
)/fcfg_math_bf_filters.xcu \
444 $(MY_MOD
)/fcfg_math_bf_types.xcu \
445 $(MY_MOD
)/fcfg_web_bf_filters.xcu \
446 $(MY_MOD
)/fcfg_web_bf_types.xcu \
447 $(MY_MOD
)/fcfg_writer_bf_filters.xcu \
448 $(MY_MOD
)/fcfg_writer_bf_types.xcu
451 .IF
"$(GUIBASE)" == "unx" && \
452 (("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
453 "$(ENABLE_GIO)" == "TRUE")
454 MY_XCDS
+= $(MISC
)/gnome.xcd
456 .IF
"$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES"
458 $(MY_MOD
)/org
/openoffice
/Office
/Common-gconflockdown.xcu \
459 $(MY_MOD
)/org
/openoffice
/Office
/Recovery-gconflockdown.xcu \
460 $(MY_MOD
)/org
/openoffice
/UserProfile-gconflockdown.xcu \
461 $(MY_MOD
)/org
/openoffice
/VCL-gconflockdown.xcu
463 .IF
"$(ENABLE_GIO)" == "TRUE"
465 $(MY_MOD
)/org
/openoffice
/ucb
/Configuration-gio.xcu
469 .IF
"$(ENABLE_OPENGL)" == "TRUE"
470 MY_XCDS
+= $(MISC
)/ogltrans.xcd
471 MY_DEPS_ogltrans
= main
472 MY_FILES_ogltrans
= \
473 $(MY_MOD
)/org
/openoffice
/Office
/Impress-ogltrans.xcu
476 .IF
"$(GUIBASE)" == "WIN"
477 MY_XCDS
+= $(MISC
)/forcedefault.xcd
478 MY_DEPS_forcedefault
= main
479 MY_FILES_forcedefault
= \
480 $(MY_MOD
)/org
/openoffice
/Office
/Linguistic-ForceDefaultLanguage.xcu
483 .INCLUDE
: settings.mk
488 $(MISC
)/lang
/Langpack-
{$(alllangiso
)}.xcd \
489 $(MISC
)/lang
/fcfg_langpack_
{$(alllangiso
)}.xcd \
490 $(MISC
)/lang
/registry_
{$(alllangiso
)}.xcd
492 {$(MY_XCDS
)} : $$(MY_FILES_
$$(@
:b
):^
"$(SOLARXMLDIR)/")
494 $(MISC
)/%.xcd .ERRREMOVE
: $(MISC
)/%.list
495 $(XSLTPROC
) --nonet
--stringparam
prefix $(SOLARXMLDIR
)/ -o
$@ \
496 $(SOLARENV
)/bin
/packregistry.xslt
$<
498 $(MISC
)/%.list
: makefile.mk
500 echo
'<list>' $(foreach,i
,$(MY_DEPS_
$(@
:b
)) '<dependency file="$i"/>') \
501 $(foreach,i
,$(MY_FILES_
$(@
:b
)) '<filename>$i</filename>') '</list>' > $@
503 $(MISC
)/lang
/Langpack-
{$(alllangiso
)}.xcd
: $(SOLARXMLDIR
)/$(MY_MOD
)/$$(@
:b
).xcu
505 $(MISC
)/lang
/Langpack-
%.xcd .ERRREMOVE
:
507 - $(RM
) $(MISC
)/$(@
:b
).list
508 echo
'<list><dependency file="main"/>' \
509 '<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC
)/$(@
:b
).list
510 $(XSLTPROC
) --nonet
--stringparam
prefix $(SOLARXMLDIR
)/ -o
$@ \
511 $(SOLARENV
)/bin
/packregistry.xslt
$(MISC
)/$(@
:b
).list
513 $(MISC
)/lang
/fcfg_langpack_
{$(alllangiso
)}.xcd
: $(SOLARPCKDIR
)/$$(@
:b
).zip
515 # It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
516 # zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
517 # find shell command below (see issue 110041):
518 $(MISC
)/lang
/fcfg_langpack_
%.xcd .ERRREMOVE
:
520 rm -rf
$(MISC
)/$(@
:b
).unzip
521 mkdir
$(MISC
)/$(@
:b
).unzip
522 cd
$(MISC
)/$(@
:b
).unzip
&& unzip
$(SOLARPCKDIR
)/$(@
:b
).zip
523 - $(RM
) $(MISC
)/$(@
:b
).list
524 echo
'<list>' $(foreach,i
,$(shell cd
$(MISC
) && \
525 find
$(@
:b
).unzip
-name
[^.
]\
*.xcu
-size
+0c
-print) \
526 '<filename>$i</filename>') '</list>' > $(MISC
)/$(@
:b
).list
527 $(XSLTPROC
) --nonet
--stringparam
prefix $(PWD
)/$(MISC
)/ -o
$@ \
528 $(SOLARENV
)/bin
/packregistry.xslt
$(MISC
)/$(@
:b
).list
530 $(MISC
)/lang
/registry_
{$(alllangiso
)}.xcd
: $(SOLARPCKDIR
)/$$(@
:b
).zip \
531 $(SOLARPCKDIR
)/fcfg_drivers_
$$(@
:b
:s
/registry_
//).zip
533 $(MISC
)/lang
/registry_
%.xcd .ERRREMOVE
:
535 rm -rf
$(MISC
)/$(@
:b
).unzip
536 mkdir
$(MISC
)/$(@
:b
).unzip
537 cd
$(MISC
)/$(@
:b
).unzip
&& unzip
$(SOLARPCKDIR
)/$(@
:b
).zip
538 rm -rf
$(MISC
)/fcfg_drivers_
$*.unzip
539 mkdir
$(MISC
)/fcfg_drivers_
$*.unzip
540 cd
$(MISC
)/fcfg_drivers_
$*.unzip
&& \
541 unzip
$(SOLARPCKDIR
)/fcfg_drivers_
$*.zip
542 - $(RM
) $(MISC
)/$(@
:b
).list
543 echo
'<list>' $(foreach,i
,$(shell cd
$(MISC
) && \
544 find
$(@
:b
).unzip fcfg_drivers_
$*.unzip
-name
[^.
]\
*.xcu
-print) \
545 '<filename>$i</filename>') '</list>' > $(MISC
)/$(@
:b
).list
546 $(XSLTPROC
) --nonet
--stringparam
prefix $(PWD
)/$(MISC
)/ -o
$@ \
547 $(SOLARENV
)/bin
/packregistry.xslt
$(MISC
)/$(@
:b
).list