1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
|
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
PRJ = ..
PRJNAME = postprocess
TARGET = packregistry
MY_XCS = registry/schema/org/openoffice
MY_XCU = registry/data/org/openoffice
MY_MOD = registry/spool
MY_DRIVERS =
MY_XCDS = \
$(MISC)/base.xcd \
$(MISC)/calc.xcd \
$(MISC)/cjk.xcd \
$(MISC)/ctl.xcd \
$(MISC)/ctlseqcheck.xcd \
$(MISC)/draw.xcd \
$(MISC)/graphicfilter.xcd \
$(MISC)/impress.xcd \
$(MISC)/librelogo.xcd \
$(MISC)/korea.xcd \
$(MISC)/lingucomponent.xcd \
$(MISC)/main.xcd \
$(MISC)/math.xcd \
$(MISC)/palm.xcd \
$(MISC)/pocketexcel.xcd \
$(MISC)/pocketword.xcd \
$(MISC)/pyuno.xcd \
$(MISC)/writer.xcd \
$(MISC)/xsltfilter.xcd
MY_DEPS_base = main
MY_FILES_base = \
$(MY_MOD)/fcfg_database_filters.xcu \
$(MY_MOD)/fcfg_database_others.xcu \
$(MY_MOD)/fcfg_database_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-base.xcu \
$(MY_MOD)/org/openoffice/Setup-base.xcu
MY_DEPS_calc = main
MY_FILES_calc = \
$(MY_XCS)/Office/UI/CalcCommands.xcs \
$(MY_XCS)/Office/UI/CalcWindowState.xcs \
$(MY_XCU)/Office/UI/CalcCommands.xcu \
$(MY_XCU)/Office/UI/CalcWindowState.xcu \
$(MY_MOD)/fcfg_calc_filters.xcu \
$(MY_MOD)/fcfg_calc_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-calc.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-calc.xcu \
$(MY_MOD)/org/openoffice/Setup-calc.xcu
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
MY_FILES_calc += \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-calc.xcu
MY_DRIVERS += calc
.ENDIF
MY_DEPS_cjk = main
MY_FILES_cjk = \
$(MY_MOD)/org/openoffice/Office/Common-cjk.xcu \
$(MY_MOD)/org/openoffice/Office/Writer-cjk.xcu
MY_DEPS_ctl = main
MY_FILES_ctl = \
$(MY_MOD)/org/openoffice/Office/Common-ctl.xcu
MY_DEPS_draw = main
MY_FILES_draw = \
$(MY_XCS)/Office/UI/DrawWindowState.xcs \
$(MY_XCU)/Office/UI/DrawWindowState.xcu \
$(MY_MOD)/fcfg_draw_filters.xcu \
$(MY_MOD)/fcfg_draw_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-draw.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-draw.xcu \
$(MY_MOD)/org/openoffice/Setup-draw.xcu
MY_DEPS_graphicfilter = main
MY_FILES_graphicfilter = \
$(MY_MOD)/fcfg_drawgraphics_filters.xcu \
$(MY_MOD)/fcfg_drawgraphics_types.xcu \
$(MY_MOD)/fcfg_impressgraphics_filters.xcu \
$(MY_MOD)/fcfg_impressgraphics_types.xcu
MY_DEPS_impress = main
MY_FILES_impress = \
$(MY_XCS)/Office/PresenterScreen.xcs \
$(MY_XCS)/Office/UI/Effects.xcs \
$(MY_XCS)/Office/UI/ImpressWindowState.xcs \
$(MY_XCU)/Office/PresenterScreen.xcu \
$(MY_XCU)/Office/UI/Effects.xcu \
$(MY_XCU)/Office/UI/ImpressWindowState.xcu \
$(MY_MOD)/fcfg_impress_filters.xcu \
$(MY_MOD)/fcfg_impress_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-impress.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-impress.xcu \
$(MY_MOD)/org/openoffice/Office/Jobs-impress.xcu \
$(MY_MOD)/org/openoffice/Office/ProtocolHandler-impress.xcu \
$(MY_MOD)/org/openoffice/Setup-impress.xcu
MY_DEPS_librelogo = main writer
MY_FILES_librelogo = \
$(MY_MOD)/org/openoffice/Office/Addons-librelogo.xcu \
$(MY_MOD)/org/openoffice/Office/UI/WriterWindowState-librelogo.xcu
MY_DEPS_korea = main
MY_FILES_korea = \
$(MY_MOD)/org/openoffice/Office/Common-korea.xcu
MY_DEPS_lingucomponent = main
MY_FILES_lingucomponent = \
$(MY_XCU)/Office/Linguistic-lingucomponent-hyphenator.xcu \
$(MY_XCU)/Office/Linguistic-lingucomponent-spellchecker.xcu \
$(MY_XCU)/Office/Linguistic-lingucomponent-thesaurus.xcu \
MY_FILES_main = \
$(MY_XCS)/FirstStartWizard.xcs \
$(MY_XCS)/Inet.xcs \
$(MY_XCS)/Interaction.xcs \
$(MY_XCS)/LDAP.xcs \
$(MY_XCS)/Office/Accelerators.xcs \
$(MY_XCS)/Office/Addons.xcs \
$(MY_XCS)/Office/Calc.xcs \
$(MY_XCS)/Office/CalcAddIns.xcs \
$(MY_XCS)/Office/Canvas.xcs \
$(MY_XCS)/Office/Chart.xcs \
$(MY_XCS)/Office/Commands.xcs \
$(MY_XCS)/Office/Common.xcs \
$(MY_XCS)/Office/Compatibility.xcs \
$(MY_XCS)/Office/DataAccess/Drivers.xcs \
$(MY_XCS)/Office/DataAccess.xcs \
$(MY_XCS)/Office/Draw.xcs \
$(MY_XCS)/Office/Embedding.xcs \
$(MY_XCS)/Office/Events.xcs \
$(MY_XCS)/Office/ExtendedColorScheme.xcs \
$(MY_XCS)/Office/ExtensionDependencies.xcs \
$(MY_XCS)/Office/ExtensionManager.xcs \
$(MY_XCS)/Office/FormWizard.xcs \
$(MY_XCS)/Office/Histories.xcs \
$(MY_XCS)/Office/Impress.xcs \
$(MY_XCS)/Office/Java.xcs \
$(MY_XCS)/Office/Jobs.xcs \
$(MY_XCS)/Office/Labels.xcs \
$(MY_XCS)/Office/Linguistic.xcs \
$(MY_XCS)/Office/Logging.xcs \
$(MY_XCS)/Office/Math.xcs \
$(MY_XCS)/Office/OOoImprovement/Settings.xcs \
$(MY_XCS)/Office/OptionsDialog.xcs \
$(MY_XCS)/Office/Paths.xcs \
$(MY_XCS)/Office/ProtocolHandler.xcs \
$(MY_XCS)/Office/Recovery.xcs \
$(MY_XCS)/Office/SFX.xcs \
$(MY_XCS)/Office/Scripting.xcs \
$(MY_XCS)/Office/Security.xcs \
$(MY_XCS)/Office/Substitution.xcs \
$(MY_XCS)/Office/TabBrowse.xcs \
$(MY_XCS)/Office/TableWizard.xcs \
$(MY_XCS)/Office/TypeDetection.xcs \
$(MY_XCS)/Office/UI/BaseWindowState.xcs \
$(MY_XCS)/Office/UI/BasicIDECommands.xcs \
$(MY_XCS)/Office/UI/BasicIDEWindowState.xcs \
$(MY_XCS)/Office/UI/BibliographyCommands.xcs \
$(MY_XCS)/Office/UI/BibliographyWindowState.xcs \
$(MY_XCS)/Office/UI/Category.xcs \
$(MY_XCS)/Office/UI/ChartCommands.xcs \
$(MY_XCS)/Office/UI/ChartWindowState.xcs \
$(MY_XCS)/Office/UI/Commands.xcs \
$(MY_XCS)/Office/UI/Controller.xcs \
$(MY_XCS)/Office/UI/DbBrowserWindowState.xcs \
$(MY_XCS)/Office/UI/DbQueryWindowState.xcs \
$(MY_XCS)/Office/UI/DbRelationWindowState.xcs \
$(MY_XCS)/Office/UI/DbTableDataWindowState.xcs \
$(MY_XCS)/Office/UI/DbTableWindowState.xcs \
$(MY_XCS)/Office/UI/DbuCommands.xcs \
$(MY_XCS)/Office/UI/DrawImpressCommands.xcs \
$(MY_XCS)/Office/UI/Factories.xcs \
$(MY_XCS)/Office/UI/GenericCategories.xcs \
$(MY_XCS)/Office/UI/GenericCommands.xcs \
$(MY_XCS)/Office/UI/GlobalSettings.xcs \
$(MY_XCS)/Office/UI/StartModuleCommands.xcs \
$(MY_XCS)/Office/UI/StartModuleWindowState.xcs \
$(MY_XCS)/Office/UI/WindowContentFactories.xcs \
$(MY_XCS)/Office/UI/WindowState.xcs \
$(MY_XCS)/Office/UI.xcs \
$(MY_XCS)/Office/Views.xcs \
$(MY_XCS)/Office/WebWizard.xcs \
$(MY_XCS)/Office/Writer.xcs \
$(MY_XCS)/Office/WriterWeb.xcs \
$(MY_XCS)/Setup.xcs \
$(MY_XCS)/System.xcs \
$(MY_XCS)/TypeDetection/Filter.xcs \
$(MY_XCS)/TypeDetection/GraphicFilter.xcs \
$(MY_XCS)/TypeDetection/Misc.xcs \
$(MY_XCS)/TypeDetection/Types.xcs \
$(MY_XCS)/TypeDetection/UISort.xcs \
$(MY_XCS)/UserProfile.xcs \
$(MY_XCS)/VCL.xcs \
$(MY_XCS)/ucb/Configuration.xcs \
$(MY_XCS)/ucb/Hierarchy.xcs \
$(MY_XCS)/ucb/InteractionHandler.xcs \
$(MY_XCS)/ucb/Store.xcs \
$(MY_XCU)/FirstStartWizard.xcu \
$(MY_XCU)/Inet.xcu \
$(MY_XCU)/Interaction.xcu \
$(MY_XCU)/Office/Accelerators.xcu \
$(MY_XCU)/Office/Calc.xcu \
$(MY_XCU)/Office/Canvas.xcu \
$(MY_XCU)/Office/Common.xcu \
$(MY_XCU)/Office/Compatibility.xcu \
$(MY_XCU)/Office/DataAccess.xcu \
$(MY_XCU)/Office/Embedding.xcu \
$(MY_XCU)/Office/ExtensionDependencies.xcu \
$(MY_XCU)/Office/ExtensionManager.xcu \
$(MY_XCU)/Office/FormWizard.xcu \
$(MY_XCU)/Office/Histories.xcu \
$(MY_XCU)/Office/Impress.xcu \
$(MY_XCU)/Office/Jobs.xcu \
$(MY_XCU)/Office/Labels.xcu \
$(MY_XCU)/Office/Logging.xcu \
$(MY_XCU)/Office/Math.xcu \
$(MY_XCU)/Office/Paths.xcu \
$(MY_XCU)/Office/ProtocolHandler.xcu \
$(MY_XCU)/Office/SFX.xcu \
$(MY_XCU)/Office/Scripting.xcu \
$(MY_XCU)/Office/Security.xcu \
$(MY_XCU)/Office/TableWizard.xcu \
$(MY_XCU)/Office/UI/BaseWindowState.xcu \
$(MY_XCU)/Office/UI/BasicIDECommands.xcu \
$(MY_XCU)/Office/UI/BasicIDEWindowState.xcu \
$(MY_XCU)/Office/UI/BibliographyCommands.xcu \
$(MY_XCU)/Office/UI/ChartCommands.xcu \
$(MY_XCU)/Office/UI/ChartWindowState.xcu \
$(MY_XCU)/Office/UI/Controller.xcu \
$(MY_XCU)/Office/UI/DbBrowserWindowState.xcu \
$(MY_XCU)/Office/UI/DbQueryWindowState.xcu \
$(MY_XCU)/Office/UI/DbRelationWindowState.xcu \
$(MY_XCU)/Office/UI/DbTableDataWindowState.xcu \
$(MY_XCU)/Office/UI/DbTableWindowState.xcu \
$(MY_XCU)/Office/UI/DbuCommands.xcu \
$(MY_XCU)/Office/UI/DrawImpressCommands.xcu \
$(MY_XCU)/Office/UI/Factories.xcu \
$(MY_XCU)/Office/UI/GenericCategories.xcu \
$(MY_XCU)/Office/UI/GenericCommands.xcu \
$(MY_XCU)/Office/UI/StartModuleCommands.xcu \
$(MY_XCU)/Office/UI/StartModuleWindowState.xcu \
$(MY_XCU)/Office/UI.xcu \
$(MY_XCU)/Office/Views.xcu \
$(MY_XCU)/Office/WebWizard.xcu \
$(MY_XCU)/Office/Writer.xcu \
$(MY_XCU)/Setup.xcu \
$(MY_XCU)/System.xcu \
$(MY_XCU)/TypeDetection/UISort.xcu \
$(MY_XCU)/UserProfile.xcu \
$(MY_XCU)/VCL.xcu \
$(MY_XCU)/ucb/Configuration.xcu \
$(MY_MOD)/fcfg_base_filters.xcu \
$(MY_MOD)/fcfg_base_others.xcu \
$(MY_MOD)/fcfg_base_types.xcu \
$(MY_MOD)/fcfg_chart_filters.xcu \
$(MY_MOD)/fcfg_chart_others.xcu \
$(MY_MOD)/fcfg_chart_types.xcu \
$(MY_MOD)/fcfg_internalgraphics_filters.xcu \
$(MY_MOD)/fcfg_internalgraphics_types.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-chart.xcu \
$(MY_MOD)/org/openoffice/Setup-start.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-calc.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-draw.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-impress.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-math.xcu \
$(MY_MOD)/org/openoffice/TypeDetection/UISort-writer.xcu
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
MY_FILES_main += \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-dbase.xcu \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-flat.xcu \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mysql.xcu \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-odbc.xcu
MY_DRIVERS += dbase flat mysql odbc
.ENDIF
.IF "$(GUIBASE)" == "aqua"
MY_FILES_main += \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-macab.xcu \
$(MY_MOD)/org/openoffice/Inet-macosx.xcu \
$(MY_MOD)/org/openoffice/Office/Accelerators-macosx.xcu \
$(MY_MOD)/org/openoffice/Office/Common-macosx.xcu \
$(MY_MOD)/org/openoffice/Office/Paths-macosx.xcu
# Inet-macosx.xcu must come after Inet.xcu
MY_DRIVERS += macab
.ELIF "$(GUIBASE)" == "unx"
MY_FILES_main += \
$(MY_MOD)/org/openoffice/Inet-unixdesktop.xcu \
$(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
$(MY_MOD)/org/openoffice/Office/Common-UseOOoFileDialogs.xcu \
$(MY_MOD)/org/openoffice/Office/Common-unixdesktop.xcu \
$(MY_MOD)/org/openoffice/Office/Common-unx.xcu \
$(MY_MOD)/org/openoffice/Office/Paths-unixdesktop.xcu \
$(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
$(MY_MOD)/org/openoffice/UserProfile-unixdesktop.xcu \
$(MY_MOD)/org/openoffice/VCL-unixdesktop.xcu
# Inet-unixdesktop.xcu must come after Inet.xcu
# VCL-unixdesktop.xcu must come after VCL.xcu
.ELIF "$(GUIBASE)" == "WIN"
MY_FILES_main += \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-ado.xcu \
$(MY_MOD)/org/openoffice/Inet-wnt.xcu \
$(MY_MOD)/org/openoffice/Office/Accelerators-unxwnt.xcu \
$(MY_MOD)/org/openoffice/Office/Common-wnt.xcu \
$(MY_MOD)/org/openoffice/Office/Paths-unxwnt.xcu \
$(MY_MOD)/org/openoffice/ucb/Configuration-win.xcu
# Inet-wnt.xcu must come after Inet.xcu
MY_DRIVERS += ado
.ELIF "$(GUIBASE)" == "cocoatouch"
# ?
.ELIF "$(GUIBASE)" == "android"
# ?
.ELIF "$(GUIBASE)" == "headless"
# ?
.ELSE
ERROR : unknown-GUIBASE
.END
.IF "$(DISABLE_NEON)" != "TRUE"
MY_FILES_main += $(MY_MOD)/org/openoffice/ucb/Configuration-neon.xcu
.END
.IF "$(ENABLE_EVOAB2)" == "TRUE"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
MY_DRIVERS += evoab
.END
.IF "$(SOLAR_JAVA)" == "TRUE"
MY_FILES_main += \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \
$(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu
MY_DRIVERS += hsqldb jdbc
.END
.IF "$(ENABLE_TDEAB)" == "TRUE"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-tdeab.xcu
.END
.IF "$(ENABLE_KAB)" == "TRUE"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-kab.xcu
MY_DRIVERS += kab
.END
.IF "$(OS)" == "WNT"
.IF "$(WITH_MOZAB4WIN)" == "YES"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mozab.xcu
MY_DRIVERS += mozab
.END
.ELIF "$(OS)" != "ANDROID" && "$(OS)" != "IOS"
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-mork.xcu
MY_DRIVERS += mork
.END
.IF "$(SYSTEM_LIBEXTTEXTCAT_DATA)" != ""
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-externallibexttextcatdata.xcu
.ELSE
MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-internallibexttextcatdata.xcu
.END
MY_DEPS_math = main
MY_FILES_math = \
$(MY_XCS)/Office/UI/MathCommands.xcs \
$(MY_XCS)/Office/UI/MathWindowState.xcs \
$(MY_XCU)/Office/UI/MathCommands.xcu \
$(MY_XCU)/Office/UI/MathWindowState.xcu \
$(MY_MOD)/fcfg_math_filters.xcu \
$(MY_MOD)/fcfg_math_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-math.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-math.xcu \
$(MY_MOD)/org/openoffice/Setup-math.xcu
MY_DEPS_palm = main
MY_FILES_palm = \
$(MY_MOD)/fcfg_palm_filters.xcu \
$(MY_MOD)/fcfg_palm_types.xcu
MY_DEPS_pocketexcel = main
MY_FILES_pocketexcel = \
$(MY_MOD)/fcfg_pocketexcel_filters.xcu \
$(MY_MOD)/fcfg_pocketexcel_types.xcu
MY_DEPS_pocketword = main
MY_FILES_pocketword = \
$(MY_MOD)/fcfg_pocketword_filters.xcu \
$(MY_MOD)/fcfg_pocketword_types.xcu
MY_DEPS_pyuno = main
MY_FILES_pyuno = \
$(MY_MOD)/org/openoffice/Office/Scripting-python.xcu
MY_DEPS_writer = main
MY_FILES_writer = \
$(MY_XCS)/Office/UI/WriterCommands.xcs \
$(MY_XCS)/Office/UI/WriterFormWindowState.xcs \
$(MY_XCS)/Office/UI/WriterGlobalWindowState.xcs \
$(MY_XCS)/Office/UI/WriterReportWindowState.xcs \
$(MY_XCS)/Office/UI/WriterWebWindowState.xcs \
$(MY_XCS)/Office/UI/WriterWindowState.xcs \
$(MY_XCS)/Office/UI/XFormsWindowState.xcs \
$(MY_XCU)/Office/UI/WriterCommands.xcu \
$(MY_XCU)/Office/UI/WriterFormWindowState.xcu \
$(MY_XCU)/Office/UI/WriterGlobalWindowState.xcu \
$(MY_XCU)/Office/UI/WriterReportWindowState.xcu \
$(MY_XCU)/Office/UI/WriterWebWindowState.xcu \
$(MY_XCU)/Office/UI/WriterWindowState.xcu \
$(MY_XCU)/Office/UI/XFormsWindowState.xcu \
$(MY_MOD)/fcfg_global_filters.xcu \
$(MY_MOD)/fcfg_global_types.xcu \
$(MY_MOD)/fcfg_web_filters.xcu \
$(MY_MOD)/fcfg_web_types.xcu \
$(MY_MOD)/fcfg_writer_filters.xcu \
$(MY_MOD)/fcfg_writer_types.xcu \
$(MY_MOD)/org/openoffice/Office/Common-writer.xcu \
$(MY_MOD)/org/openoffice/Office/Embedding-writer.xcu \
$(MY_MOD)/org/openoffice/Setup-writer.xcu
MY_DEPS_xsltfilter = main
MY_FILES_xsltfilter = \
$(MY_MOD)/fcfg_xslt_filters.xcu \
$(MY_MOD)/fcfg_xslt_types.xcu
.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES"
MY_XCDS += $(MISC)/postgresqlsdbc.xcd
MY_DEPS_postgresqlsdbc = main
MY_FILES_postgresqlsdbc = $(MY_MOD)/org/openoffice/Office/DataAccess/Drivers-postgresql.xcu
MY_DRIVERS += postgresql
.END
.IF "$(GUIBASE)" == "unx" && \
(("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
"$(ENABLE_GIO)" == "TRUE")
MY_XCDS += $(MISC)/gnome.xcd
MY_DEPS_gnome = main
.IF "$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES"
MY_FILES_gnome += \
$(MY_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \
$(MY_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \
$(MY_MOD)/org/openoffice/VCL-gconflockdown.xcu
.END
.IF "$(ENABLE_GIO)" == "TRUE"
MY_FILES_gnome += \
$(MY_MOD)/org/openoffice/ucb/Configuration-gio.xcu
.END
.END
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
MY_XCDS += $(MISC)/onlineupdate.xcd
MY_DEPS_onlineupdate = main
MY_FILES_onlineupdate = \
$(MY_MOD)/org/openoffice/Office/Addons-onlineupdate.xcu \
$(MY_MOD)/org/openoffice/Office/Jobs-onlineupdate.xcu
.ENDIF
.IF "$(ENABLE_OPENGL)" == "TRUE"
MY_XCDS += $(MISC)/ogltrans.xcd
MY_DEPS_ogltrans = main
MY_FILES_ogltrans = \
$(MY_MOD)/org/openoffice/Office/Impress-ogltrans.xcu
.END
.IF "$(ENABLE_PDFIMPORT)" == "TRUE"
MY_XCDS += $(MISC)/pdfimport.xcd
MY_OPTDEPS_pdfimport = calc draw impress math writer
# HACK: for all fcfg_X_types.xcu in filter/Configuration_filter.mk that
# include pdf_Portable_Document_Format (i.e., X in calc, draw, global,
# impress, math, web, writer), add optional dependencies on those XCDS that
# include those fcfg_X_types.xcu
MY_FILES_pdfimport = pdfimport/pdf_import_filter.xcu pdfimport/pdf_types.xcu
.END
.IF "$(GUIBASE)" == "WIN"
MY_XCDS += $(MISC)/forcedefault.xcd
MY_DEPS_forcedefault = main
MY_FILES_forcedefault = \
$(MY_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu
.END
DRIVERS = driver_{$(MY_DRIVERS)}
.INCLUDE : settings.mk
.INCLUDE : target.mk
ALLTAR : \
$(MY_XCDS) \
$(MISC)/lang/Langpack-{$(alllangiso)}.xcd \
$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd \
$(MISC)/lang/registry_{$(alllangiso)}.xcd
{$(MY_XCDS)} : $$(MY_FILES_$$(@:b):^"$(SOLARXMLDIR)/")
$(MISC)/%.xcd .ERRREMOVE : $(MISC)/%.list
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
$(SOLARENV)/bin/packregistry.xslt $<
$(MISC)/%.list : makefile.mk
- $(RM) $@
echo '<list>' $(foreach,i,$(MY_DEPS_$(@:b)) '<dependency file="$i"/>') \
$(foreach,i,$(MY_OPTDEPS_$(@:b)) \
'<dependency file="$i" optional="true"/>') \
$(foreach,i,$(MY_FILES_$(@:b)) '<filename>$i</filename>') '</list>' > $@
$(MISC)/lang/Langpack-{$(alllangiso)}.xcd : $(SOLARXMLDIR)/$(MY_MOD)/$$(@:b).xcu
$(MISC)/lang/Langpack-%.xcd .ERRREMOVE :
$(MKDIRHIER) $(@:d)
- $(RM) $(MISC)/$(@:b).list
echo '<list><dependency file="main"/>' \
'<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC)/$(@:b).list
$(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain
# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
# find shell command below (see issue 110041):
$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE :
$(MKDIRHIER) $(@:d)
rm -rf $(MISC)/$(@:b).unzip
mkdir $(MISC)/$(@:b).unzip
cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
- $(RM) $(MISC)/$(@:b).list
# filter out filenames starting with "."
echo '<list>' $(foreach,i,$(shell cd $(MISC) && \
find $(@:b).unzip -name \[!.\]\*.xcu -size +0c -print) \
'<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list
$(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/{$(DRIVERS)}_$$(@:b:s/registry_//).zip
.END
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
$(MISC)/lang/registry_{$(alllangiso)}.xcd : \
$(SOLARPCKDIR)/updchk_$$(@:b:s/registry_//).zip
.END
$(MISC)/lang/registry_%.xcd .ERRREMOVE :
$(MKDIRHIER) $(@:d)
- $(RM) $(MISC)/$(@:b).list
echo '<list>' > $(MISC)/$(@:b).list
# Add registry_*.zip content to *.list:
rm -rf $(MISC)/$(@:b).unzip
mkdir $(MISC)/$(@:b).unzip
cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip
# Filter out filenames starting with ".":
echo $(foreach,i,$(shell cd $(MISC) && \
find $(@:b).unzip -name \[!.\]\*.xcu -print) \
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
.IF "$(BUILD_TYPE)" != "$(BUILD_TYPE:s/DBCONNECTIVITY//)"
# Add fcfg_drivers_*.zip content to *.list:
rm -rf $(MISC)/{$(DRIVERS)}_$*.unzip
mkdir $(MISC)/{$(DRIVERS)}_$*.unzip
cd $(MISC) \
$(foreach,driver,$(DRIVERS) \
&& cd $(driver)_$*.unzip && \
unzip $(SOLARPCKDIR)/$(driver)_$*.zip && \
cd ..)
echo $(foreach,i,$(shell cd $(MISC) && \
find $(@:b).unzip {$(DRIVERS)}_$*.unzip -name \[!.\]\*.xcu -print) \
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
.END
.IF "$(ENABLE_ONLINE_UPDATE)" == "TRUE"
# Add updchk_*.zip content to *.list:
rm -rf $(MISC)/updchk_$*.unzip
mkdir $(MISC)/updchk_$*.unzip
cd $(MISC)/updchk_$*.unzip && unzip $(SOLARPCKDIR)/updchk_$*.zip
# Filter out filenames starting with ".":
echo $(foreach,i,$(shell cd $(MISC) && \
find updchk_$*.unzip -name \[!.\]\*.xcu -print) \
'<filename>$i</filename>') >> $(MISC)/$(@:b).list
.END
echo '</list>' >> $(MISC)/$(@:b).list
$(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
$(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list
|