1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_CustomTarget_CustomTarget
,postprocess
/registry
))
16 postprocess_XCS
:= $(call gb_XcsTarget_get_target
,org
/openoffice
)
17 postprocess_XCU
:= $(call gb_XcuDataTarget_get_target
,officecfg
/registry
/data
/org
/openoffice
)
18 postprocess_MOD
:= $(call gb_XcuModuleTarget_get_target
,officecfg
/registry
/data
)
19 postprocess_DRIVERS
:=
37 postprocess_DEPS_base
:= main
38 postprocess_FILES_base
:= \
39 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_database_filters.xcu
) \
40 $(call gb_XcuFilterOthersTarget_get_target
,fcfg_database_others.xcu
) \
41 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_database_types.xcu
) \
42 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-base.xcu \
43 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-base.xcu \
44 $(postprocess_MOD
)/org
/openoffice
/Setup-base.xcu
46 postprocess_DEPS_calc
:= main
47 postprocess_FILES_calc
:= \
48 $(postprocess_XCS
)/Office
/UI
/CalcCommands.xcs \
49 $(postprocess_XCS
)/Office
/UI
/CalcWindowState.xcs \
50 $(postprocess_XCU
)/Office
/UI
/CalcCommands.xcu \
51 $(postprocess_XCU
)/Office
/UI
/CalcWindowState.xcu \
52 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_calc_filters.xcu
) \
53 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_calc_types.xcu
) \
54 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-calc.xcu \
55 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-calc.xcu \
56 $(postprocess_MOD
)/org
/openoffice
/Setup-calc.xcu
58 postprocess_DEPS_cjk
:= main
59 postprocess_FILES_cjk
:= \
60 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-cjk.xcu \
61 $(postprocess_MOD
)/org
/openoffice
/Office
/Writer-cjk.xcu
63 postprocess_DEPS_ctl
:= main
64 postprocess_FILES_ctl
:= \
65 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-ctl.xcu
67 postprocess_DEPS_draw
:= main
68 postprocess_FILES_draw
:= \
69 $(postprocess_XCS
)/Office
/UI
/DrawWindowState.xcs \
70 $(postprocess_XCU
)/Office
/UI
/DrawWindowState.xcu \
71 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_draw_filters.xcu
) \
72 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_draw_types.xcu
) \
73 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-draw.xcu \
74 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-draw.xcu \
75 $(postprocess_MOD
)/org
/openoffice
/Setup-draw.xcu
77 postprocess_DEPS_graphicfilter
:= main
78 postprocess_FILES_graphicfilter
:= \
79 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_drawgraphics_filters.xcu
) \
80 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_drawgraphics_types.xcu
) \
81 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_impressgraphics_filters.xcu
) \
82 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_impressgraphics_types.xcu
) \
83 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_calcgraphics_filters.xcu
) \
84 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_calcgraphics_types.xcu
) \
85 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_writergraphics_filters.xcu
) \
86 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_writergraphics_types.xcu
)
88 postprocess_DEPS_impress
:= main
89 postprocess_FILES_impress
:= \
90 $(postprocess_XCS
)/Office
/PresentationMinimizer.xcs \
91 $(postprocess_XCS
)/Office
/PresenterScreen.xcs \
92 $(postprocess_XCS
)/Office
/UI
/Effects.xcs \
93 $(postprocess_XCS
)/Office
/UI
/ImpressWindowState.xcs \
94 $(postprocess_XCU
)/Office
/PresentationMinimizer.xcu \
95 $(postprocess_XCU
)/Office
/PresenterScreen.xcu \
96 $(postprocess_XCU
)/Office
/UI
/Effects.xcu \
97 $(postprocess_XCU
)/Office
/UI
/ImpressWindowState.xcu \
98 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_impress_filters.xcu
) \
99 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_impress_types.xcu
) \
100 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-impress.xcu \
101 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-impress.xcu \
102 $(postprocess_MOD
)/org
/openoffice
/Office
/Jobs-impress.xcu \
103 $(postprocess_MOD
)/org
/openoffice
/Office
/ProtocolHandler-impress.xcu \
104 $(postprocess_MOD
)/org
/openoffice
/Setup-impress.xcu
106 ifeq (LIBRELOGO
,$(filter LIBRELOGO
,$(BUILD_TYPE
)))
107 postprocess_XCDS
+= librelogo.xcd
108 postprocess_DEPS_librelogo
:= main writer
109 postprocess_FILES_librelogo
:= \
110 $(postprocess_MOD
)/org
/openoffice
/Office
/Addons-librelogo.xcu \
111 $(postprocess_MOD
)/org
/openoffice
/Office
/UI
/WriterCommands-librelogo.xcu \
112 $(postprocess_MOD
)/org
/openoffice
/Office
/UI
/WriterWindowState-librelogo.xcu
115 postprocess_DEPS_lingucomponent
:= main
116 postprocess_FILES_lingucomponent
:= \
117 $(SRCDIR
)/lingucomponent
/config
/Linguistic-lingucomponent-hyphenator.xcu \
118 $(SRCDIR
)/lingucomponent
/config
/Linguistic-lingucomponent-spellchecker.xcu \
119 $(SRCDIR
)/lingucomponent
/config
/Linguistic-lingucomponent-grammarchecker.xcu \
120 $(SRCDIR
)/lingucomponent
/config
/Linguistic-lingucomponent-thesaurus.xcu \
122 postprocess_FILES_main
:= \
123 $(postprocess_XCS
)/Inet.xcs \
124 $(postprocess_XCS
)/Interaction.xcs \
125 $(postprocess_XCS
)/LDAP.xcs \
126 $(postprocess_XCS
)/Office
/Accelerators.xcs \
127 $(postprocess_XCS
)/Office
/Addons.xcs \
128 $(postprocess_XCS
)/Office
/BasicIDE.xcs \
129 $(postprocess_XCS
)/Office
/Calc.xcs \
130 $(postprocess_XCS
)/Office
/CalcAddIns.xcs \
131 $(postprocess_XCS
)/Office
/Canvas.xcs \
132 $(postprocess_XCS
)/Office
/Chart.xcs \
133 $(postprocess_XCS
)/Office
/Commands.xcs \
134 $(postprocess_XCS
)/Office
/Common.xcs \
135 $(postprocess_XCS
)/Office
/Compatibility.xcs \
136 $(postprocess_XCS
)/Office
/DataAccess
/Drivers.xcs \
137 $(postprocess_XCS
)/Office
/DataAccess.xcs \
138 $(postprocess_XCS
)/Office
/Draw.xcs \
139 $(postprocess_XCS
)/Office
/Embedding.xcs \
140 $(postprocess_XCS
)/Office
/Events.xcs \
141 $(postprocess_XCS
)/Office
/ExtendedColorScheme.xcs \
142 $(postprocess_XCS
)/Office
/ExtensionDependencies.xcs \
143 $(postprocess_XCS
)/Office
/ExtensionManager.xcs \
144 $(postprocess_XCS
)/Office
/FormWizard.xcs \
145 $(postprocess_XCS
)/Office
/Histories.xcs \
146 $(postprocess_XCS
)/Office
/Impress.xcs \
147 $(postprocess_XCS
)/Office
/Java.xcs \
148 $(postprocess_XCS
)/Office
/Jobs.xcs \
149 $(postprocess_XCS
)/Office
/Labels.xcs \
150 $(postprocess_XCS
)/Office
/Linguistic.xcs \
151 $(postprocess_XCS
)/Office
/Logging.xcs \
152 $(postprocess_XCS
)/Office
/Math.xcs \
153 $(postprocess_XCS
)/Office
/OptionsDialog.xcs \
154 $(postprocess_XCS
)/Office
/Paths.xcs \
155 $(postprocess_XCS
)/Office
/ProtocolHandler.xcs \
156 $(postprocess_XCS
)/Office
/Recovery.xcs \
157 $(postprocess_XCS
)/Office
/Scripting.xcs \
158 $(postprocess_XCS
)/Office
/Security.xcs \
159 $(postprocess_XCS
)/Office
/TableWizard.xcs \
160 $(postprocess_XCS
)/Office
/TypeDetection.xcs \
161 $(postprocess_XCS
)/Office
/UI
/BaseWindowState.xcs \
162 $(postprocess_XCS
)/Office
/UI
/BasicIDECommands.xcs \
163 $(postprocess_XCS
)/Office
/UI
/BasicIDEWindowState.xcs \
164 $(postprocess_XCS
)/Office
/UI
/BibliographyCommands.xcs \
165 $(postprocess_XCS
)/Office
/UI
/BibliographyWindowState.xcs \
166 $(postprocess_XCS
)/Office
/UI
/Category.xcs \
167 $(postprocess_XCS
)/Office
/UI
/ChartCommands.xcs \
168 $(postprocess_XCS
)/Office
/UI
/ChartWindowState.xcs \
169 $(postprocess_XCS
)/Office
/UI
/Commands.xcs \
170 $(postprocess_XCS
)/Office
/UI
/Controller.xcs \
171 $(postprocess_XCS
)/Office
/UI
/DbBrowserWindowState.xcs \
172 $(postprocess_XCS
)/Office
/UI
/DbQueryWindowState.xcs \
173 $(postprocess_XCS
)/Office
/UI
/DbRelationWindowState.xcs \
174 $(postprocess_XCS
)/Office
/UI
/DbTableDataWindowState.xcs \
175 $(postprocess_XCS
)/Office
/UI
/DbTableWindowState.xcs \
176 $(postprocess_XCS
)/Office
/UI
/DbuCommands.xcs \
177 $(postprocess_XCS
)/Office
/UI
/DrawImpressCommands.xcs \
178 $(postprocess_XCS
)/Office
/UI
/Factories.xcs \
179 $(postprocess_XCS
)/Office
/UI
/GenericCategories.xcs \
180 $(postprocess_XCS
)/Office
/UI
/GenericCommands.xcs \
181 $(postprocess_XCS
)/Office
/UI
/GlobalSettings.xcs \
182 $(postprocess_XCS
)/Office
/UI
/Infobar.xcs \
183 $(postprocess_XCS
)/Office
/UI
/Sidebar.xcs \
184 $(postprocess_XCS
)/Office
/UI
/StartModuleCommands.xcs \
185 $(postprocess_XCS
)/Office
/UI
/StartModuleWindowState.xcs \
186 $(postprocess_XCS
)/Office
/UI
/ToolbarMode.xcs \
187 $(postprocess_XCS
)/Office
/UI
/WindowContentFactories.xcs \
188 $(postprocess_XCS
)/Office
/UI
/WindowState.xcs \
189 $(postprocess_XCS
)/Office
/UI.xcs \
190 $(postprocess_XCS
)/Office
/Update.xcs \
191 $(postprocess_XCS
)/Office
/Views.xcs \
192 $(postprocess_XCS
)/Office
/Writer.xcs \
193 $(postprocess_XCS
)/Office
/WriterWeb.xcs \
194 $(postprocess_XCS
)/Setup.xcs \
195 $(postprocess_XCS
)/System.xcs \
196 $(postprocess_XCS
)/TypeDetection
/Filter.xcs \
197 $(postprocess_XCS
)/TypeDetection
/GraphicFilter.xcs \
198 $(postprocess_XCS
)/TypeDetection
/Misc.xcs \
199 $(postprocess_XCS
)/TypeDetection
/Types.xcs \
200 $(postprocess_XCS
)/TypeDetection
/UISort.xcs \
201 $(postprocess_XCS
)/UserProfile.xcs \
202 $(postprocess_XCS
)/VCL.xcs \
203 $(postprocess_XCS
)/ucb
/Configuration.xcs \
204 $(postprocess_XCS
)/ucb
/Hierarchy.xcs \
205 $(postprocess_XCS
)/ucb
/InteractionHandler.xcs \
206 $(postprocess_XCS
)/ucb
/Store.xcs \
207 $(postprocess_XCU
)/Inet.xcu \
208 $(postprocess_XCU
)/Interaction.xcu \
209 $(postprocess_XCU
)/Office
/Accelerators.xcu \
210 $(postprocess_XCU
)/Office
/BasicIDE.xcu \
211 $(postprocess_XCU
)/Office
/Calc.xcu \
212 $(postprocess_XCU
)/Office
/Canvas.xcu \
213 $(postprocess_XCU
)/Office
/Common.xcu \
214 $(postprocess_XCU
)/Office
/Compatibility.xcu \
215 $(postprocess_XCU
)/Office
/DataAccess.xcu \
216 $(postprocess_XCU
)/Office
/Embedding.xcu \
217 $(postprocess_XCU
)/Office
/ExtensionDependencies.xcu \
218 $(postprocess_XCU
)/Office
/ExtensionManager.xcu \
219 $(postprocess_XCU
)/Office
/FormWizard.xcu \
220 $(postprocess_XCU
)/Office
/Histories.xcu \
221 $(postprocess_XCU
)/Office
/Impress.xcu \
222 $(postprocess_XCU
)/Office
/Jobs.xcu \
223 $(postprocess_XCU
)/Office
/Logging.xcu \
224 $(postprocess_XCU
)/Office
/Math.xcu \
225 $(postprocess_XCU
)/Office
/Paths.xcu \
226 $(postprocess_XCU
)/Office
/ProtocolHandler.xcu \
227 $(postprocess_XCU
)/Office
/Scripting.xcu \
228 $(postprocess_XCU
)/Office
/Security.xcu \
229 $(postprocess_XCU
)/Office
/TableWizard.xcu \
230 $(postprocess_XCU
)/Office
/UI
/BaseWindowState.xcu \
231 $(postprocess_XCU
)/Office
/UI
/BasicIDECommands.xcu \
232 $(postprocess_XCU
)/Office
/UI
/BasicIDEWindowState.xcu \
233 $(postprocess_XCU
)/Office
/UI
/BibliographyCommands.xcu \
234 $(postprocess_XCU
)/Office
/UI
/ChartCommands.xcu \
235 $(postprocess_XCU
)/Office
/UI
/ChartWindowState.xcu \
236 $(postprocess_XCU
)/Office
/UI
/Controller.xcu \
237 $(postprocess_XCU
)/Office
/UI
/DbBrowserWindowState.xcu \
238 $(postprocess_XCU
)/Office
/UI
/DbQueryWindowState.xcu \
239 $(postprocess_XCU
)/Office
/UI
/DbRelationWindowState.xcu \
240 $(postprocess_XCU
)/Office
/UI
/DbTableDataWindowState.xcu \
241 $(postprocess_XCU
)/Office
/UI
/DbTableWindowState.xcu \
242 $(postprocess_XCU
)/Office
/UI
/DbuCommands.xcu \
243 $(postprocess_XCU
)/Office
/UI
/DrawImpressCommands.xcu \
244 $(postprocess_XCU
)/Office
/UI
/Factories.xcu \
245 $(postprocess_XCU
)/Office
/UI
/GenericCategories.xcu \
246 $(postprocess_XCU
)/Office
/UI
/GenericCommands.xcu \
247 $(postprocess_XCU
)/Office
/UI
/Sidebar.xcu \
248 $(postprocess_XCU
)/Office
/UI
/StartModuleWindowState.xcu \
249 $(postprocess_XCU
)/Office
/UI
/ToolbarMode.xcu \
250 $(postprocess_XCU
)/Office
/UI.xcu \
251 $(postprocess_XCU
)/Office
/Views.xcu \
252 $(postprocess_XCU
)/Office
/Writer.xcu \
253 $(postprocess_XCU
)/Setup.xcu \
254 $(postprocess_XCU
)/System.xcu \
255 $(postprocess_XCU
)/TypeDetection
/UISort.xcu \
256 $(postprocess_XCU
)/UserProfile.xcu \
257 $(postprocess_XCU
)/VCL.xcu \
258 $(postprocess_XCU
)/ucb
/Configuration.xcu \
259 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_base_filters.xcu
) \
260 $(call gb_XcuFilterOthersTarget_get_target
,fcfg_base_others.xcu
) \
261 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_base_types.xcu
) \
262 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_chart_filters.xcu
) \
263 $(call gb_XcuFilterOthersTarget_get_target
,fcfg_chart_others.xcu
) \
264 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_chart_types.xcu
) \
265 $(call gb_XcuFilterInternalTarget_get_target
,fcfg_internalgraphics_filters.xcu
) \
266 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_internalgraphics_types.xcu
) \
267 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-chart.xcu \
268 $(postprocess_MOD
)/org
/openoffice
/Setup-start.xcu \
269 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-calc.xcu \
270 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-draw.xcu \
271 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-impress.xcu \
272 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-math.xcu \
273 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-writer.xcu
276 postprocess_FILES_main
+= \
277 $(postprocess_MOD
)/org
/openoffice
/Inet-macosx.xcu \
278 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-macosx.xcu \
279 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-macosx.xcu \
280 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-macosx.xcu
281 # Inet-macosx.xcu must come after Inet.xcu
283 else ifeq ($(USING_X11
), TRUE
)
284 postprocess_FILES_main
+= \
285 $(postprocess_MOD
)/org
/openoffice
/Inet-unixdesktop.xcu \
286 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
287 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-UseOOoFileDialogs.xcu \
288 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-unixdesktop.xcu \
289 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-unx.xcu \
290 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unixdesktop.xcu \
291 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu \
292 $(postprocess_MOD
)/org
/openoffice
/UserProfile-unixdesktop.xcu \
293 $(postprocess_MOD
)/org
/openoffice
/VCL-unixdesktop.xcu
294 # Inet-unixdesktop.xcu must come after Inet.xcu
295 # VCL-unixdesktop.xcu must come after VCL.xcu
296 else ifeq (WNT
,$(OS
))
297 postprocess_FILES_main
+= \
298 $(postprocess_MOD
)/org
/openoffice
/Inet-wnt.xcu \
299 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
300 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-wnt.xcu \
301 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu \
302 $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-win.xcu
303 # Inet-wnt.xcu must come after Inet.xcu
306 ifneq ($(WITH_WEBDAV
),)
307 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-webdav.xcu
310 ifneq ($(ENABLE_MACOSX_SANDBOX
),)
311 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/UI
/Infobar-macosxsandbox.xcu
314 ifneq (,$(SYSTEM_LIBEXTTEXTCAT_DATA
))
315 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-externallibexttextcatdata.xcu
317 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-internallibexttextcatdata.xcu
320 ifneq (,$(SYSTEM_LIBNUMBERTEXT_DATA
))
321 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-externallibnumbertextdata.xcu
323 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-internallibnumbertextdata.xcu
326 ifneq ($(filter POWERPC INTEL ARM HPPA MIPS M68K SPARC S390
,$(CPUNAME
)),)
327 postprocess_FILES_main
+= \
328 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-32bit.xcu
331 postprocess_DEPS_math
:= main
332 postprocess_FILES_math
:= \
333 $(postprocess_XCS
)/Office
/UI
/MathCommands.xcs \
334 $(postprocess_XCS
)/Office
/UI
/MathWindowState.xcs \
335 $(postprocess_XCU
)/Office
/UI
/MathCommands.xcu \
336 $(postprocess_XCU
)/Office
/UI
/MathWindowState.xcu \
337 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_math_filters.xcu
) \
338 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_math_types.xcu
) \
339 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-math.xcu \
340 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-math.xcu \
341 $(postprocess_MOD
)/org
/openoffice
/Setup-math.xcu
343 postprocess_DEPS_pyuno
:= main
344 postprocess_FILES_pyuno
:= \
345 $(postprocess_MOD
)/org
/openoffice
/Office
/Scripting-python.xcu
347 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
348 postprocess_XCDS
+= reportbuilder.xcd
349 postprocess_DEPS_reportbuilder
:= main
350 postprocess_FILES_reportbuilder
:= \
351 $(postprocess_XCS
)/Office
/ReportDesign.xcs \
352 $(postprocess_XCS
)/Office
/UI
/DbReportWindowState.xcs \
353 $(postprocess_XCS
)/Office
/UI
/ReportCommands.xcs \
354 $(postprocess_XCU
)/Office
/ExtendedColorScheme.xcu \
355 $(postprocess_XCU
)/Office
/ReportDesign.xcu \
356 $(postprocess_XCU
)/Office
/UI
/DbReportWindowState.xcu \
357 $(postprocess_XCU
)/Office
/UI
/ReportCommands.xcu \
358 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_reportbuilder_filters.xcu
) \
359 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_reportbuilder_types.xcu
) \
360 $(postprocess_MOD
)/org
/openoffice
/Setup-reportbuilder.xcu \
361 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-reportbuilder.xcu \
362 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess-reportbuilder.xcu \
363 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-reportbuilder.xcu \
364 $(postprocess_MOD
)/org
/openoffice
/Office
/UI
/Controller-reportbuilder.xcu
367 postprocess_DEPS_writer
:= main
368 postprocess_FILES_writer
:= \
369 $(postprocess_XCS
)/Office
/UI
/WriterCommands.xcs \
370 $(postprocess_XCS
)/Office
/UI
/WriterFormWindowState.xcs \
371 $(postprocess_XCS
)/Office
/UI
/WriterGlobalWindowState.xcs \
372 $(postprocess_XCS
)/Office
/UI
/WriterReportWindowState.xcs \
373 $(postprocess_XCS
)/Office
/UI
/WriterWebWindowState.xcs \
374 $(postprocess_XCS
)/Office
/UI
/WriterWindowState.xcs \
375 $(postprocess_XCS
)/Office
/UI
/XFormsWindowState.xcs \
376 $(postprocess_XCU
)/Office
/UI
/WriterCommands.xcu \
377 $(postprocess_XCU
)/Office
/UI
/WriterFormWindowState.xcu \
378 $(postprocess_XCU
)/Office
/UI
/WriterGlobalWindowState.xcu \
379 $(postprocess_XCU
)/Office
/UI
/WriterReportWindowState.xcu \
380 $(postprocess_XCU
)/Office
/UI
/WriterWebWindowState.xcu \
381 $(postprocess_XCU
)/Office
/UI
/WriterWindowState.xcu \
382 $(postprocess_XCU
)/Office
/UI
/XFormsWindowState.xcu \
383 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_global_filters.xcu
) \
384 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_global_types.xcu
) \
385 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_web_filters.xcu
) \
386 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_web_types.xcu
) \
387 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_writer_filters.xcu
) \
388 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_writer_types.xcu
) \
389 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-writer.xcu \
390 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-writer.xcu \
391 $(postprocess_MOD
)/org
/openoffice
/Setup-writer.xcu
393 postprocess_DEPS_xsltfilter
:= main
394 postprocess_OPTDEPS_xsltfilter
:= calc writer
395 postprocess_FILES_xsltfilter
:= \
396 $(call gb_XcuFilterFiltersTarget_get_target
,fcfg_xslt_filters.xcu
) \
397 $(call gb_XcuFilterTypesTarget_get_target
,fcfg_xslt_types.xcu
)
399 ifneq (,$(and
$(USING_X11
), $(ENABLE_GIO
)))
400 postprocess_XCDS
+= gnome.xcd
401 postprocess_DEPS_gnome
:= main
402 postprocess_FILES_gnome
+= $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-gio.xcu
405 ifeq ($(ENABLE_ONLINE_UPDATE
),TRUE
)
406 postprocess_XCDS
+= onlineupdate.xcd
407 postprocess_DEPS_onlineupdate
:= main
408 postprocess_FILES_onlineupdate
:= \
409 $(call gb_XcuModuleTarget_get_target
,extensions
/source
/update
/check)/org
/openoffice
/Office
/Addons-onlineupdate.xcu \
410 $(call gb_XcuModuleTarget_get_target
,extensions
/source
/update
/check)/org
/openoffice
/Office
/Jobs-onlineupdate.xcu
413 ifeq ($(ENABLE_OPENGL_TRANSITIONS
),TRUE
)
414 postprocess_XCDS
+= ogltrans.xcd
415 postprocess_DEPS_ogltrans
:= main
416 postprocess_FILES_ogltrans
:= \
417 $(postprocess_MOD
)/org
/openoffice
/Office
/Impress-ogltrans.xcu
420 ifeq ($(ENABLE_PDFIMPORT
),TRUE
)
421 postprocess_XCDS
+= pdfimport.xcd
422 postprocess_OPTDEPS_pdfimport
:= calc draw impress math writer
423 # HACK: for all fcfg_X_types.xcu in filter/Configuration_filter.mk that
424 # include pdf_Portable_Document_Format (i.e., X in calc, draw, global,
425 # impress, math, web, writer), add optional dependencies on those XCDS that
426 # include those fcfg_X_types.xcu
427 postprocess_FILES_pdfimport
:= \
428 $(SRCDIR
)/sdext
/source
/pdfimport
/config
/pdf_import_filter.xcu \
429 $(SRCDIR
)/sdext
/source
/pdfimport
/config
/pdf_types.xcu
433 postprocess_XCDS
+= forcedefault.xcd
434 postprocess_DEPS_forcedefault
:= main
435 postprocess_FILES_forcedefault
:= \
436 $(postprocess_MOD
)/org
/openoffice
/Office
/Linguistic-ForceDefaultLanguage.xcu
440 # All DBCONNECTIVITY handling (including OS specifics!)
442 ifneq (,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
444 postprocess_FILES_main
+= \
445 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/dbase
)/org
/openoffice
/Office
/DataAccess
/Drivers-dbase.xcu \
446 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/flat
)/org
/openoffice
/Office
/DataAccess
/Drivers-flat.xcu \
447 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/odbc
)/org
/openoffice
/Office
/DataAccess
/Drivers-odbc.xcu
448 postprocess_DRIVERS
+= dbase flat odbc
450 ifeq ($(gb_Side
),host
)
452 postprocess_FILES_writer
+= \
453 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/writer
)/org
/openoffice
/Office
/DataAccess
/Drivers-writer.xcu
454 postprocess_DRIVERS
+= writer
456 postprocess_FILES_calc
+= \
457 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/calc
)/org
/openoffice
/Office
/DataAccess
/Drivers-calc.xcu
458 postprocess_DRIVERS
+= calc
460 ifeq ($(ENABLE_EVOAB2
),TRUE
)
461 postprocess_FILES_main
+= \
462 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/evoab2
)/org
/openoffice
/Office
/DataAccess
/Drivers-evoab2.xcu \
463 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess-evoab2.xcu
464 postprocess_DRIVERS
+= evoab
467 ifeq ($(ENABLE_JAVA
),TRUE
)
468 postprocess_FILES_main
+= \
469 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/hsqldb
)/org
/openoffice
/Office
/DataAccess
/Drivers-hsqldb.xcu \
470 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/jdbc
)/org
/openoffice
/Office
/DataAccess
/Drivers-jdbc.xcu \
471 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/mysql_jdbc
)/org
/openoffice
/Office
/DataAccess
/Drivers-mysql_jdbc.xcu
472 postprocess_DRIVERS
+= hsqldb jdbc mysql_jdbc
475 ifeq ($(ENABLE_FIREBIRD_SDBC
),TRUE
)
476 postprocess_FILES_main
+= \
477 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/firebird
)/org
/openoffice
/Office
/DataAccess
/Drivers-firebird.xcu
478 postprocess_DRIVERS
+= firebird_sdbc
481 ifeq ($(ENABLE_MARIADBC
),TRUE
)
482 postprocess_FILES_main
+= \
483 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/mysqlc
)/org
/openoffice
/Office
/DataAccess
/Drivers-mysqlc.xcu
484 postprocess_DRIVERS
+= mysqlc
487 ifeq ($(BUILD_POSTGRESQL_SDBC
),TRUE
)
488 postprocess_XCDS
+= postgresql.xcd
489 postprocess_DEPS_postgresql
:= main
490 postprocess_FILES_postgresql
:= \
491 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/postgresql
)/org
/openoffice
/Office
/DataAccess
/Drivers-postgresql.xcu
492 postprocess_DRIVERS
+= postgresql
496 postprocess_FILES_main
+= \
497 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/macab
)/org
/openoffice
/Office
/DataAccess
/Drivers-macab.xcu
498 postprocess_DRIVERS
+= macab
500 else ifeq (WNT
,$(OS
))
501 postprocess_FILES_main
+= \
502 $(call gb_XcuModuleTarget_get_target
,connectivity
/registry
/ado
)/org
/openoffice
/Office
/DataAccess
/Drivers-ado.xcu
503 postprocess_DRIVERS
+= ado
507 endif # DBCONNECTIVITY
509 postprocess_DRIVERS
:= $(foreach driver
,$(postprocess_DRIVERS
),driver_
$(driver
))
515 $(call gb_CustomTarget_get_target
,postprocess
/registry
) : \
516 $(foreach target
,$(postprocess_XCDS
) \
517 $(foreach lang
,$(gb_Configuration_LANGS
), \
518 Langpack-
$(lang
).xcd \
519 fcfg_langpack_
$(lang
).xcd \
520 registry_
$(lang
).xcd \
522 ,$(call gb_XcdTarget_get_target
,$(target
)))
528 define postprocess_xcd_deps
529 $(call gb_XcdTarget_get_target
,$(1)).xcd
: \
530 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/$(1).list
532 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/$(1).list
: \
533 $(postprocess_FILES_
$(1)) \
534 $(SRCDIR
)/postprocess
/CustomTarget_registry.mk \
535 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
538 $(foreach xcd
,$(postprocess_XCDS
),$(eval
$(call postprocess_xcd_deps
,$(basename $(xcd
)))))
540 define postprocess_lang_deps
541 $(call gb_XcdTarget_get_target
,Langpack-
$(1).xcd
) : \
542 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
$(1).list
544 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
$(1).list
: \
545 $(call gb_XcuLangpackTarget_get_target
,Langpack-
$(1).xcu
) \
546 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
548 $(call gb_XcdTarget_get_target
,fcfg_langpack_
$(1).xcd
) : \
549 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
$(1).list \
550 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
552 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
$(1).list
: \
553 $(call gb_Configuration_get_target
,fcfg_langpack
) \
554 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
556 $(call gb_XcdTarget_get_target
,registry_
$(1).xcd
) : \
557 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
$(1).list
559 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
$(1).list
: \
560 $(call gb_Configuration_get_target
,registry
) \
561 $(if
$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)),\
562 $(foreach driver
,$(postprocess_DRIVERS
),$(call gb_Configuration_get_target
,$(driver
))) \
564 $(if
$(filter TRUE
,$(ENABLE_ONLINE_UPDATE
)),$(call gb_Configuration_get_target
,updchk
)) \
565 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
568 $(foreach lang
,$(gb_Configuration_LANGS
),$(eval
$(call postprocess_lang_deps
,$(lang
))))
574 postprocess_main_SED
:= \
575 -e
's,$${ABOUTBOXPRODUCTVERSION},$(LIBO_VERSION_MAJOR).$(LIBO_VERSION_MINOR).$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX),g' \
576 -e
's,$${ABOUTBOXPRODUCTVERSIONSUFFIX},$(LIBO_VERSION_SUFFIX_SUFFIX),g' \
577 -e
's,$${OOOVENDOR},$(if $(OOO_VENDOR),$(subst $(COMMA),\x2c,$(OOO_VENDOR)),The Document Foundation),g' \
578 -e
's,$${PRODUCTNAME},$(PRODUCTNAME),g' \
579 -e
's,$${PRODUCTVERSION},$(PRODUCTVERSION),g' \
580 -e
's,$${PRODUCTEXTENSION},.$(LIBO_VERSION_MICRO).$(LIBO_VERSION_PATCH)$(LIBO_VERSION_SUFFIX),g' \
581 -e
's,$${STARTCENTER_ADDFEATURE_URL},https://extensions.libreoffice.org/,g' \
582 -e
's,$${STARTCENTER_INFO_URL},https://collaboraoffice.com,g' \
583 -e
's,$${STARTCENTER_TEMPLREP_URL},https://extensions.libreoffice.org/template-center/,g' \
584 -e
's,$${SYSTEM_LIBEXTTEXTCAT_DATA},$(SYSTEM_LIBEXTTEXTCAT_DATA),g' \
585 -e
's,$${SYSTEM_LIBNUMBERTEXT_DATA},$(SYSTEM_LIBNUMBERTEXT_DATA),g' \
586 -e
's,$${PRIVACY_POLICY_URL},$(PRIVACY_POLICY_URL),g' \
588 $(call gb_XcdTarget_get_target
,main.xcd
) \
589 : $(BUILDDIR
)/config_host.mk.stamp \
590 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
591 $(call gb_Output_announce
,main
,$(true
),XCD
,3)
592 $(call gb_Trace_StartRange
,main
,XCD
)
593 $(call gb_Helper_abbreviate_dirs
, \
594 mkdir
-p
$(dir $@
) && \
595 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
596 $(SRCDIR
)/solenv
/bin
/packregistry.xslt \
597 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/main.list \
598 | sed
$(postprocess_main_SED
) > $@ \
600 $(call gb_Trace_EndRange
,main
,XCD
)
602 $(call gb_XcdTarget_get_target
,%.xcd
) : \
603 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
604 $(call gb_Output_announce
,$*,$(true
),XCD
,3)
605 $(call gb_Trace_StartRange
,$*,XCD
)
606 $(call gb_Helper_abbreviate_dirs
, \
607 mkdir
-p
$(dir $@
) && \
608 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
609 -o
$@
$(SRCDIR
)/solenv
/bin
/packregistry.xslt
$< \
611 $(call gb_Trace_EndRange
,$*,XCD
)
613 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
%.list
:
614 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
615 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),ECH
)
616 echo
'<list><dependency file="main"/><filename>$(call gb_XcuLangpackTarget_get_target,Langpack-$*.xcu)</filename></list>' > $@
617 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),ECH
)
619 # It can happen that localized fcfg_langpack_*.zip contains
620 # zero-sized org/openoffice/TypeDetection/Filter.xcu; filter them out in the
621 # find shell command below (see issue 110041):
622 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
%.list
:
623 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),AWK
,2)
624 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),AWK
)
625 $(call gb_Helper_abbreviate_dirs
,\
626 $(FIND
) $(call gb_XcuResTarget_get_target
,fcfg_langpack
/$*/) \
627 -name
"*.xcu" -size
+0c \
629 |
$(gb_AWK
) 'BEGIN{print "<list>"} \
630 {print "<filename>"$$0"</filename>"} \
631 END {print "</list>"}' > $@ \
633 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),AWK
)
635 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
%.list
:
636 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),AWK
,2)
637 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),AWK
)
638 $(call gb_Helper_abbreviate_dirs
,\
639 $(FIND
) $(call gb_XcuResTarget_get_target
,registry
/$*/) \
640 $(if
$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)),\
641 $(foreach driver
,$(postprocess_DRIVERS
),\
642 $(call gb_XcuResTarget_get_target
,$(driver
)/$*/)))\
643 $(if
$(filter TRUE
,$(ENABLE_ONLINE_UPDATE
)),\
644 $(call gb_XcuResTarget_get_target
,updchk
/$*/))\
647 |
$(gb_AWK
) 'BEGIN{print "<list>"} \
648 {print "<filename>"$$0"</filename>"} \
649 END {print "</list>"}' > $@ \
651 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),AWK
)
653 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/%.list
:
654 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
655 $(call gb_Trace_StartRange
,$(subst $(WORKDIR
)/,,$@
),ECH
)
656 $(file
>$@
,<list
> $(foreach i
,$(postprocess_DEPS_
$*), <dependency file
='$i'/>) \
657 $(foreach i
,$(postprocess_OPTDEPS_
$*), <dependency file
='$i' optional
='true'/>) \
658 $(foreach i
,$(postprocess_FILES_
$*), <filename
>$(i
)</filename
>) </list
>)
659 $(call gb_Trace_EndRange
,$(subst $(WORKDIR
)/,,$@
),ECH
)
661 # vim: set noet sw=4 ts=4: