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
:= registry
/schema
/org
/openoffice
17 postprocess_XCU
:= registry
/data
/org
/openoffice
18 postprocess_MOD
:= registry
/spool
19 postprocess_DRIVERS
:=
39 postprocess_DEPS_base
:= main
40 postprocess_FILES_base
:= \
41 $(postprocess_MOD
)/fcfg_database_filters.xcu \
42 $(postprocess_MOD
)/fcfg_database_others.xcu \
43 $(postprocess_MOD
)/fcfg_database_types.xcu \
44 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-base.xcu \
45 $(postprocess_MOD
)/org
/openoffice
/Setup-base.xcu
47 postprocess_DEPS_calc
:= main
48 postprocess_FILES_calc
:= \
49 $(postprocess_XCS
)/Office
/UI
/CalcCommands.xcs \
50 $(postprocess_XCS
)/Office
/UI
/CalcWindowState.xcs \
51 $(postprocess_XCU
)/Office
/UI
/CalcCommands.xcu \
52 $(postprocess_XCU
)/Office
/UI
/CalcWindowState.xcu \
53 $(postprocess_MOD
)/fcfg_calc_filters.xcu \
54 $(postprocess_MOD
)/fcfg_calc_types.xcu \
55 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-calc.xcu \
56 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-calc.xcu \
57 $(postprocess_MOD
)/org
/openoffice
/Setup-calc.xcu
59 ifeq (DBCONNECTIVITY
,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
60 postprocess_FILES_calc
+= \
61 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-calc.xcu
62 postprocess_DRIVERS
+= calc
65 postprocess_DEPS_cjk
:= main
66 postprocess_FILES_cjk
:= \
67 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-cjk.xcu \
68 $(postprocess_MOD
)/org
/openoffice
/Office
/Writer-cjk.xcu
70 postprocess_DEPS_ctl
:= main
71 postprocess_FILES_ctl
:= \
72 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-ctl.xcu
74 postprocess_DEPS_draw
:= main
75 postprocess_FILES_draw
:= \
76 $(postprocess_XCS
)/Office
/UI
/DrawWindowState.xcs \
77 $(postprocess_XCU
)/Office
/UI
/DrawWindowState.xcu \
78 $(postprocess_MOD
)/fcfg_draw_filters.xcu \
79 $(postprocess_MOD
)/fcfg_draw_types.xcu \
80 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-draw.xcu \
81 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-draw.xcu \
82 $(postprocess_MOD
)/org
/openoffice
/Setup-draw.xcu
84 postprocess_DEPS_graphicfilter
:= main
85 postprocess_FILES_graphicfilter
:= \
86 $(postprocess_MOD
)/fcfg_drawgraphics_filters.xcu \
87 $(postprocess_MOD
)/fcfg_drawgraphics_types.xcu \
88 $(postprocess_MOD
)/fcfg_impressgraphics_filters.xcu \
89 $(postprocess_MOD
)/fcfg_impressgraphics_types.xcu \
90 $(postprocess_MOD
)/fcfg_writergraphics_filters.xcu \
91 $(postprocess_MOD
)/fcfg_writergraphics_types.xcu
93 postprocess_DEPS_impress
:= main
94 postprocess_FILES_impress
:= \
95 $(postprocess_XCS
)/Office
/PresenterScreen.xcs \
96 $(postprocess_XCS
)/Office
/UI
/Effects.xcs \
97 $(postprocess_XCS
)/Office
/UI
/ImpressWindowState.xcs \
98 $(postprocess_XCU
)/Office
/PresenterScreen.xcu \
99 $(postprocess_XCU
)/Office
/UI
/Effects.xcu \
100 $(postprocess_XCU
)/Office
/UI
/ImpressWindowState.xcu \
101 $(postprocess_MOD
)/fcfg_impress_filters.xcu \
102 $(postprocess_MOD
)/fcfg_impress_types.xcu \
103 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-impress.xcu \
104 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-impress.xcu \
105 $(postprocess_MOD
)/org
/openoffice
/Office
/Jobs-impress.xcu \
106 $(postprocess_MOD
)/org
/openoffice
/Office
/ProtocolHandler-impress.xcu \
107 $(postprocess_MOD
)/org
/openoffice
/Setup-impress.xcu
109 postprocess_DEPS_librelogo
:= main writer
110 postprocess_FILES_librelogo
:= \
111 $(postprocess_MOD
)/org
/openoffice
/Office
/Addons-librelogo.xcu \
112 $(postprocess_MOD
)/org
/openoffice
/Office
/UI
/WriterWindowState-librelogo.xcu
114 postprocess_DEPS_korea
:= main
115 postprocess_FILES_korea
:= \
116 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-korea.xcu
118 postprocess_DEPS_lingucomponent
:= main
119 postprocess_FILES_lingucomponent
:= \
120 $(postprocess_XCU
)/Office
/Linguistic-lingucomponent-hyphenator.xcu \
121 $(postprocess_XCU
)/Office
/Linguistic-lingucomponent-spellchecker.xcu \
122 $(postprocess_XCU
)/Office
/Linguistic-lingucomponent-thesaurus.xcu \
124 postprocess_FILES_main
:= \
125 $(postprocess_XCS
)/FirstStartWizard.xcs \
126 $(postprocess_XCS
)/Inet.xcs \
127 $(postprocess_XCS
)/Interaction.xcs \
128 $(postprocess_XCS
)/LDAP.xcs \
129 $(postprocess_XCS
)/Office
/Accelerators.xcs \
130 $(postprocess_XCS
)/Office
/Addons.xcs \
131 $(postprocess_XCS
)/Office
/Calc.xcs \
132 $(postprocess_XCS
)/Office
/CalcAddIns.xcs \
133 $(postprocess_XCS
)/Office
/Canvas.xcs \
134 $(postprocess_XCS
)/Office
/Chart.xcs \
135 $(postprocess_XCS
)/Office
/Commands.xcs \
136 $(postprocess_XCS
)/Office
/Common.xcs \
137 $(postprocess_XCS
)/Office
/Compatibility.xcs \
138 $(postprocess_XCS
)/Office
/DataAccess
/Drivers.xcs \
139 $(postprocess_XCS
)/Office
/DataAccess.xcs \
140 $(postprocess_XCS
)/Office
/Draw.xcs \
141 $(postprocess_XCS
)/Office
/Embedding.xcs \
142 $(postprocess_XCS
)/Office
/Events.xcs \
143 $(postprocess_XCS
)/Office
/ExtendedColorScheme.xcs \
144 $(postprocess_XCS
)/Office
/ExtensionDependencies.xcs \
145 $(postprocess_XCS
)/Office
/ExtensionManager.xcs \
146 $(postprocess_XCS
)/Office
/FormWizard.xcs \
147 $(postprocess_XCS
)/Office
/Histories.xcs \
148 $(postprocess_XCS
)/Office
/Impress.xcs \
149 $(postprocess_XCS
)/Office
/Java.xcs \
150 $(postprocess_XCS
)/Office
/Jobs.xcs \
151 $(postprocess_XCS
)/Office
/Labels.xcs \
152 $(postprocess_XCS
)/Office
/Linguistic.xcs \
153 $(postprocess_XCS
)/Office
/Logging.xcs \
154 $(postprocess_XCS
)/Office
/Math.xcs \
155 $(postprocess_XCS
)/Office
/OOoImprovement
/Settings.xcs \
156 $(postprocess_XCS
)/Office
/OptionsDialog.xcs \
157 $(postprocess_XCS
)/Office
/Paths.xcs \
158 $(postprocess_XCS
)/Office
/ProtocolHandler.xcs \
159 $(postprocess_XCS
)/Office
/Recovery.xcs \
160 $(postprocess_XCS
)/Office
/Scripting.xcs \
161 $(postprocess_XCS
)/Office
/Security.xcs \
162 $(postprocess_XCS
)/Office
/Substitution.xcs \
163 $(postprocess_XCS
)/Office
/TabBrowse.xcs \
164 $(postprocess_XCS
)/Office
/TableWizard.xcs \
165 $(postprocess_XCS
)/Office
/TypeDetection.xcs \
166 $(postprocess_XCS
)/Office
/UI
/BaseWindowState.xcs \
167 $(postprocess_XCS
)/Office
/UI
/BasicIDECommands.xcs \
168 $(postprocess_XCS
)/Office
/UI
/BasicIDEWindowState.xcs \
169 $(postprocess_XCS
)/Office
/UI
/BibliographyCommands.xcs \
170 $(postprocess_XCS
)/Office
/UI
/BibliographyWindowState.xcs \
171 $(postprocess_XCS
)/Office
/UI
/Category.xcs \
172 $(postprocess_XCS
)/Office
/UI
/ChartCommands.xcs \
173 $(postprocess_XCS
)/Office
/UI
/ChartWindowState.xcs \
174 $(postprocess_XCS
)/Office
/UI
/Commands.xcs \
175 $(postprocess_XCS
)/Office
/UI
/Controller.xcs \
176 $(postprocess_XCS
)/Office
/UI
/DbBrowserWindowState.xcs \
177 $(postprocess_XCS
)/Office
/UI
/DbQueryWindowState.xcs \
178 $(postprocess_XCS
)/Office
/UI
/DbRelationWindowState.xcs \
179 $(postprocess_XCS
)/Office
/UI
/DbTableDataWindowState.xcs \
180 $(postprocess_XCS
)/Office
/UI
/DbTableWindowState.xcs \
181 $(postprocess_XCS
)/Office
/UI
/DbuCommands.xcs \
182 $(postprocess_XCS
)/Office
/UI
/DrawImpressCommands.xcs \
183 $(postprocess_XCS
)/Office
/UI
/Factories.xcs \
184 $(postprocess_XCS
)/Office
/UI
/GenericCategories.xcs \
185 $(postprocess_XCS
)/Office
/UI
/GenericCommands.xcs \
186 $(postprocess_XCS
)/Office
/UI
/GlobalSettings.xcs \
187 $(postprocess_XCS
)/Office
/UI
/Sidebar.xcs \
188 $(postprocess_XCS
)/Office
/UI
/StartModuleCommands.xcs \
189 $(postprocess_XCS
)/Office
/UI
/StartModuleWindowState.xcs \
190 $(postprocess_XCS
)/Office
/UI
/WindowContentFactories.xcs \
191 $(postprocess_XCS
)/Office
/UI
/WindowState.xcs \
192 $(postprocess_XCS
)/Office
/UI.xcs \
193 $(postprocess_XCS
)/Office
/Views.xcs \
194 $(postprocess_XCS
)/Office
/WebWizard.xcs \
195 $(postprocess_XCS
)/Office
/Writer.xcs \
196 $(postprocess_XCS
)/Office
/WriterWeb.xcs \
197 $(postprocess_XCS
)/Setup.xcs \
198 $(postprocess_XCS
)/System.xcs \
199 $(postprocess_XCS
)/TypeDetection
/Filter.xcs \
200 $(postprocess_XCS
)/TypeDetection
/GraphicFilter.xcs \
201 $(postprocess_XCS
)/TypeDetection
/Misc.xcs \
202 $(postprocess_XCS
)/TypeDetection
/Types.xcs \
203 $(postprocess_XCS
)/TypeDetection
/UISort.xcs \
204 $(postprocess_XCS
)/UserProfile.xcs \
205 $(postprocess_XCS
)/VCL.xcs \
206 $(postprocess_XCS
)/ucb
/Configuration.xcs \
207 $(postprocess_XCS
)/ucb
/Hierarchy.xcs \
208 $(postprocess_XCS
)/ucb
/InteractionHandler.xcs \
209 $(postprocess_XCS
)/ucb
/Store.xcs \
210 $(postprocess_XCU
)/FirstStartWizard.xcu \
211 $(postprocess_XCU
)/Inet.xcu \
212 $(postprocess_XCU
)/Interaction.xcu \
213 $(postprocess_XCU
)/Office
/Accelerators.xcu \
214 $(postprocess_XCU
)/Office
/Calc.xcu \
215 $(postprocess_XCU
)/Office
/Canvas.xcu \
216 $(postprocess_XCU
)/Office
/Common.xcu \
217 $(postprocess_XCU
)/Office
/Compatibility.xcu \
218 $(postprocess_XCU
)/Office
/DataAccess.xcu \
219 $(postprocess_XCU
)/Office
/Embedding.xcu \
220 $(postprocess_XCU
)/Office
/ExtensionDependencies.xcu \
221 $(postprocess_XCU
)/Office
/ExtensionManager.xcu \
222 $(postprocess_XCU
)/Office
/FormWizard.xcu \
223 $(postprocess_XCU
)/Office
/Histories.xcu \
224 $(postprocess_XCU
)/Office
/Impress.xcu \
225 $(postprocess_XCU
)/Office
/Jobs.xcu \
226 $(postprocess_XCU
)/Office
/Logging.xcu \
227 $(postprocess_XCU
)/Office
/Math.xcu \
228 $(postprocess_XCU
)/Office
/Paths.xcu \
229 $(postprocess_XCU
)/Office
/ProtocolHandler.xcu \
230 $(postprocess_XCU
)/Office
/Scripting.xcu \
231 $(postprocess_XCU
)/Office
/Security.xcu \
232 $(postprocess_XCU
)/Office
/TableWizard.xcu \
233 $(postprocess_XCU
)/Office
/UI
/BaseWindowState.xcu \
234 $(postprocess_XCU
)/Office
/UI
/BasicIDECommands.xcu \
235 $(postprocess_XCU
)/Office
/UI
/BasicIDEWindowState.xcu \
236 $(postprocess_XCU
)/Office
/UI
/BibliographyCommands.xcu \
237 $(postprocess_XCU
)/Office
/UI
/ChartCommands.xcu \
238 $(postprocess_XCU
)/Office
/UI
/ChartWindowState.xcu \
239 $(postprocess_XCU
)/Office
/UI
/Controller.xcu \
240 $(postprocess_XCU
)/Office
/UI
/DbBrowserWindowState.xcu \
241 $(postprocess_XCU
)/Office
/UI
/DbQueryWindowState.xcu \
242 $(postprocess_XCU
)/Office
/UI
/DbRelationWindowState.xcu \
243 $(postprocess_XCU
)/Office
/UI
/DbTableDataWindowState.xcu \
244 $(postprocess_XCU
)/Office
/UI
/DbTableWindowState.xcu \
245 $(postprocess_XCU
)/Office
/UI
/DbuCommands.xcu \
246 $(postprocess_XCU
)/Office
/UI
/DrawImpressCommands.xcu \
247 $(postprocess_XCU
)/Office
/UI
/Factories.xcu \
248 $(postprocess_XCU
)/Office
/UI
/GenericCategories.xcu \
249 $(postprocess_XCU
)/Office
/UI
/GenericCommands.xcu \
250 $(postprocess_XCU
)/Office
/UI
/Sidebar.xcu \
251 $(postprocess_XCU
)/Office
/UI
/StartModuleCommands.xcu \
252 $(postprocess_XCU
)/Office
/UI
/StartModuleWindowState.xcu \
253 $(postprocess_XCU
)/Office
/UI.xcu \
254 $(postprocess_XCU
)/Office
/Views.xcu \
255 $(postprocess_XCU
)/Office
/WebWizard.xcu \
256 $(postprocess_XCU
)/Office
/Writer.xcu \
257 $(postprocess_XCU
)/Setup.xcu \
258 $(postprocess_XCU
)/System.xcu \
259 $(postprocess_XCU
)/TypeDetection
/UISort.xcu \
260 $(postprocess_XCU
)/UserProfile.xcu \
261 $(postprocess_XCU
)/VCL.xcu \
262 $(postprocess_XCU
)/ucb
/Configuration.xcu \
263 $(postprocess_MOD
)/fcfg_base_filters.xcu \
264 $(postprocess_MOD
)/fcfg_base_others.xcu \
265 $(postprocess_MOD
)/fcfg_base_types.xcu \
266 $(postprocess_MOD
)/fcfg_chart_filters.xcu \
267 $(postprocess_MOD
)/fcfg_chart_others.xcu \
268 $(postprocess_MOD
)/fcfg_chart_types.xcu \
269 $(postprocess_MOD
)/fcfg_internalgraphics_filters.xcu \
270 $(postprocess_MOD
)/fcfg_internalgraphics_types.xcu \
271 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-chart.xcu \
272 $(postprocess_MOD
)/org
/openoffice
/Setup-start.xcu \
273 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-calc.xcu \
274 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-draw.xcu \
275 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-impress.xcu \
276 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-math.xcu \
277 $(postprocess_MOD
)/org
/openoffice
/TypeDetection
/UISort-writer.xcu
278 ifeq (DBCONNECTIVITY
,$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)))
279 postprocess_FILES_main
+= \
280 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-dbase.xcu \
281 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-flat.xcu \
282 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-mysql.xcu \
283 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-odbc.xcu
284 postprocess_DRIVERS
+= dbase flat mysql odbc
286 ifeq ($(WITH_MOZAB4WIN
),YES
)
287 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-mozab.xcu
288 postprocess_DRIVERS
+= mozab
290 else ifeq (DESKTOP
,$(filter DESKTOP
,$(BUILD_TYPE
)))
291 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-mork.xcu
292 postprocess_DRIVERS
+= mork
296 postprocess_FILES_main
+= \
297 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-macab.xcu \
298 $(postprocess_MOD
)/org
/openoffice
/Inet-macosx.xcu \
299 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-macosx.xcu \
300 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-macosx.xcu \
301 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-macosx.xcu
302 # Inet-macosx.xcu must come after Inet.xcu
303 postprocess_DRIVERS
+= macab
304 else ifeq (unx
,$(GUIBASE
))
305 postprocess_FILES_main
+= \
306 $(postprocess_MOD
)/org
/openoffice
/Inet-unixdesktop.xcu \
307 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
308 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-UseOOoFileDialogs.xcu \
309 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-unixdesktop.xcu \
310 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-unx.xcu \
311 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unixdesktop.xcu \
312 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu \
313 $(postprocess_MOD
)/org
/openoffice
/UserProfile-unixdesktop.xcu \
314 $(postprocess_MOD
)/org
/openoffice
/VCL-unixdesktop.xcu
315 # Inet-unixdesktop.xcu must come after Inet.xcu
316 # VCL-unixdesktop.xcu must come after VCL.xcu
317 else ifeq (WNT
,$(OS
))
318 postprocess_FILES_main
+= \
319 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-ado.xcu \
320 $(postprocess_MOD
)/org
/openoffice
/Inet-wnt.xcu \
321 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-unxwnt.xcu \
322 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-wnt.xcu \
323 $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-unxwnt.xcu \
324 $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-win.xcu
325 # Inet-wnt.xcu must come after Inet.xcu
326 postprocess_DRIVERS
+= ado
328 ifeq ($(DISABLE_NEON
),$(false
))
329 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-neon.xcu
331 ifeq ($(ENABLE_EVOAB2
),TRUE
)
332 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-evoab2.xcu
333 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess-evoab2.xcu
334 postprocess_DRIVERS
+= evoab
336 ifeq ($(SOLAR_JAVA
),TRUE
)
337 postprocess_FILES_main
+= \
338 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-hsqldb.xcu \
339 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-jdbc.xcu
340 postprocess_DRIVERS
+= hsqldb jdbc
342 ifeq ($(ENABLE_TDEAB
),TRUE
)
343 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-tdeab.xcu
345 ifeq ($(ENABLE_KAB
),TRUE
)
346 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-kab.xcu
347 postprocess_DRIVERS
+= kab
350 ifneq (,$(SYSTEM_LIBEXTTEXTCAT_DATA
))
351 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-externallibexttextcatdata.xcu
353 postprocess_FILES_main
+= $(postprocess_MOD
)/org
/openoffice
/Office
/Paths-internallibexttextcatdata.xcu
356 postprocess_DEPS_math
:= main
357 postprocess_FILES_math
:= \
358 $(postprocess_XCS
)/Office
/UI
/MathCommands.xcs \
359 $(postprocess_XCS
)/Office
/UI
/MathWindowState.xcs \
360 $(postprocess_XCU
)/Office
/UI
/MathCommands.xcu \
361 $(postprocess_XCU
)/Office
/UI
/MathWindowState.xcu \
362 $(postprocess_MOD
)/fcfg_math_filters.xcu \
363 $(postprocess_MOD
)/fcfg_math_types.xcu \
364 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-math.xcu \
365 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-math.xcu \
366 $(postprocess_MOD
)/org
/openoffice
/Setup-math.xcu
368 postprocess_DEPS_pyuno
:= main
369 postprocess_FILES_pyuno
:= \
370 $(postprocess_MOD
)/org
/openoffice
/Office
/Scripting-python.xcu
372 ifeq ($(ENABLE_REPORTBUILDER
),TRUE
)
373 postprocess_XCDS
+= reportbuilder.xcd
374 postprocess_DEPS_reportbuilder
:= main
375 postprocess_FILES_reportbuilder
:= \
376 $(postprocess_XCS
)/Office
/ReportDesign.xcs \
377 $(postprocess_XCS
)/Office
/UI
/DbReportWindowState.xcs \
378 $(postprocess_XCS
)/Office
/UI
/ReportCommands.xcs \
379 $(postprocess_XCU
)/Office
/ExtendedColorScheme.xcu \
380 $(postprocess_XCU
)/Office
/ReportDesign.xcu \
381 $(postprocess_XCU
)/Office
/UI
/DbReportWindowState.xcu \
382 $(postprocess_XCU
)/Office
/UI
/ReportCommands.xcu \
383 $(postprocess_XCU
)/TypeDetection
/Filter.xcu \
384 $(postprocess_XCU
)/TypeDetection
/Types.xcu \
385 $(postprocess_MOD
)/org
/openoffice
/Setup-reportbuilder.xcu \
386 $(postprocess_MOD
)/org
/openoffice
/Office
/Accelerators-reportbuilder.xcu \
387 $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess-reportbuilder.xcu \
388 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-reportbuilder.xcu
391 postprocess_DEPS_writer
:= main
392 postprocess_FILES_writer
:= \
393 $(postprocess_XCS
)/Office
/UI
/WriterCommands.xcs \
394 $(postprocess_XCS
)/Office
/UI
/WriterFormWindowState.xcs \
395 $(postprocess_XCS
)/Office
/UI
/WriterGlobalWindowState.xcs \
396 $(postprocess_XCS
)/Office
/UI
/WriterReportWindowState.xcs \
397 $(postprocess_XCS
)/Office
/UI
/WriterWebWindowState.xcs \
398 $(postprocess_XCS
)/Office
/UI
/WriterWindowState.xcs \
399 $(postprocess_XCS
)/Office
/UI
/XFormsWindowState.xcs \
400 $(postprocess_XCU
)/Office
/UI
/WriterCommands.xcu \
401 $(postprocess_XCU
)/Office
/UI
/WriterFormWindowState.xcu \
402 $(postprocess_XCU
)/Office
/UI
/WriterGlobalWindowState.xcu \
403 $(postprocess_XCU
)/Office
/UI
/WriterReportWindowState.xcu \
404 $(postprocess_XCU
)/Office
/UI
/WriterWebWindowState.xcu \
405 $(postprocess_XCU
)/Office
/UI
/WriterWindowState.xcu \
406 $(postprocess_XCU
)/Office
/UI
/XFormsWindowState.xcu \
407 $(postprocess_MOD
)/fcfg_global_filters.xcu \
408 $(postprocess_MOD
)/fcfg_global_types.xcu \
409 $(postprocess_MOD
)/fcfg_web_filters.xcu \
410 $(postprocess_MOD
)/fcfg_web_types.xcu \
411 $(postprocess_MOD
)/fcfg_writer_filters.xcu \
412 $(postprocess_MOD
)/fcfg_writer_types.xcu \
413 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-writer.xcu \
414 $(postprocess_MOD
)/org
/openoffice
/Office
/Embedding-writer.xcu \
415 $(postprocess_MOD
)/org
/openoffice
/Setup-writer.xcu
417 postprocess_DEPS_xsltfilter
:= main
418 postprocess_FILES_xsltfilter
:= \
419 $(postprocess_MOD
)/fcfg_xslt_filters.xcu \
420 $(postprocess_MOD
)/fcfg_xslt_types.xcu
422 ifeq ($(BUILD_POSTGRESQL_SDBC
),YES
)
423 postprocess_XCDS
+= postgresqlsdbc.xcd
424 postprocess_DEPS_postgresqlsdbc
:= main
425 postprocess_FILES_postgresqlsdbc
:= $(postprocess_MOD
)/org
/openoffice
/Office
/DataAccess
/Drivers-postgresql.xcu
426 postprocess_DRIVERS
+= postgresql
429 ifeq (unx
,$(GUIBASE
))
430 ifneq (,$(or
$(filter TRUEYES
,$(ENABLE_GCONF
)$(ENABLE_LOCKDOWN
))$(filter TRUE
,$(ENABLE_GIO
))))
431 postprocess_XCDS
+= gnome.xcd
432 postprocess_DEPS_gnome
:= main
433 ifeq ($(ENABLE_GCONF
)$(ENABLE_LOCKDOWN
),TRUEYES
)
434 postprocess_FILES_gnome
+= \
435 $(postprocess_MOD
)/org
/openoffice
/Office
/Common-gconflockdown.xcu \
436 $(postprocess_MOD
)/org
/openoffice
/Office
/Recovery-gconflockdown.xcu \
437 $(postprocess_MOD
)/org
/openoffice
/VCL-gconflockdown.xcu
439 ifeq ($(ENABLE_GIO
),TRUE
)
440 postprocess_FILES_gnome
+= \
441 $(postprocess_MOD
)/org
/openoffice
/ucb
/Configuration-gio.xcu
444 endif # unx == $(GUIBASE)
446 ifeq ($(ENABLE_ONLINE_UPDATE
),TRUE
)
447 postprocess_XCDS
+= onlineupdate.xcd
448 postprocess_DEPS_onlineupdate
:= main
449 postprocess_FILES_onlineupdate
:= \
450 $(postprocess_MOD
)/org
/openoffice
/Office
/Addons-onlineupdate.xcu \
451 $(postprocess_MOD
)/org
/openoffice
/Office
/Jobs-onlineupdate.xcu
454 ifeq ($(ENABLE_OPENGL
),TRUE
)
455 postprocess_XCDS
+= ogltrans.xcd
456 postprocess_DEPS_ogltrans
:= main
457 postprocess_FILES_ogltrans
:= \
458 $(postprocess_MOD
)/org
/openoffice
/Office
/Impress-ogltrans.xcu
461 ifeq ($(ENABLE_PDFIMPORT
),TRUE
)
462 postprocess_XCDS
+= pdfimport.xcd
463 postprocess_OPTDEPS_pdfimport
:= calc draw impress math writer
464 # HACK: for all fcfg_X_types.xcu in filter/Configuration_filter.mk that
465 # include pdf_Portable_Document_Format (i.e., X in calc, draw, global,
466 # impress, math, web, writer), add optional dependencies on those XCDS that
467 # include those fcfg_X_types.xcu
468 postprocess_FILES_pdfimport
:= pdfimport
/pdf_import_filter.xcu pdfimport
/pdf_types.xcu
472 postprocess_XCDS
+= forcedefault.xcd
473 postprocess_DEPS_forcedefault
:= main
474 postprocess_FILES_forcedefault
:= \
475 $(postprocess_MOD
)/org
/openoffice
/Office
/Linguistic-ForceDefaultLanguage.xcu
478 postprocess_DRIVERS
:= $(foreach driver
,$(postprocess_DRIVERS
),driver_
$(driver
))
484 $(eval
$(call gb_CustomTarget_register_targets
,postprocess
/registry
,\
485 $(postprocess_XCDS
) \
486 $(foreach lang
,$(gb_Configuration_LANGS
), \
487 Langpack-
$(lang
).xcd \
488 fcfg_langpack_
$(lang
).xcd \
489 registry_
$(lang
).xcd \
497 define postprocess_xcd_deps
498 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/$(1).xcd
: \
499 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/$(1).list
501 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/$(1).list
: \
502 $(foreach file
,$(postprocess_FILES_
$(1)),$(OUTDIR
)/xml
/$(file
)) \
503 $(SRCDIR
)/postprocess
/CustomTarget_registry.mk \
504 $(call gb_Postprocess_get_target
,AllPackages
) \
505 |
$(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/.
dir
508 $(foreach xcd
,$(postprocess_XCDS
),$(eval
$(call postprocess_xcd_deps
,$(basename $(xcd
)))))
510 define postprocess_lang_deps
511 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
$(1).xcd
: \
512 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
$(1).list
514 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
$(1).list
: \
515 $(call gb_XcuLangpackTarget_get_outdir_target
,Langpack-
$(1).xcu
)
517 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
$(1).xcd
: \
518 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
$(1).list
520 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
$(1).list
: \
521 $(call gb_Configuration_get_target
,fcfg_langpack
)
523 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
$(1).xcd
: \
524 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
$(1).list
526 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
$(1).list
: \
527 $(call gb_Configuration_get_target
,registry
) \
528 $(if
$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)),\
529 $(foreach driver
,$(postprocess_DRIVERS
),$(call gb_Configuration_get_target
,$(driver
))) \
531 $(if
$(filter TRUE
,$(ENABLE_ONLINE_UPDATE
)),$(call gb_Configuration_get_target
,updchk
))
534 $(foreach lang
,$(gb_Configuration_LANGS
),$(eval
$(call postprocess_lang_deps
,$(lang
))))
540 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
%.xcd
: \
541 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
542 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),XCD
,3)
543 $(call gb_Helper_abbreviate_dirs
, \
544 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet
-o
$@ \
545 $(SOLARENV
)/bin
/packregistry.xslt
$< \
548 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/Langpack-
%.list
:
549 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
550 echo
'<list><dependency file="main"/><filename>$(call gb_XcuLangpackTarget_get_outdir_target,Langpack-$*.xcu)</filename></list>' > $@
552 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
%.xcd
: \
553 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
554 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),XCD
,3)
555 $(call gb_Helper_abbreviate_dirs
, \
556 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
557 -o
$@
$(SOLARENV
)/bin
/packregistry.xslt
$< \
560 # It can happen that localized fcfg_langpack_*.zip contains
561 # zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the
562 # find shell command below (see issue 110041):
563 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/fcfg_langpack_
%.list
:
564 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
565 $(call gb_Helper_abbreviate_dirs
, \
567 && ( find
$(call gb_XcuResTarget_get_target
,fcfg_langpack
/$*/) -name
*.xcu
-size
+0c
-print0 | xargs
-n1
-0 -I
'{}' echo
'<filename>{}</filename>') >> $@ \
568 && echo
'</list>' >> $@ \
571 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
%.xcd
: \
572 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
573 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),XCD
,3)
574 $(call gb_Helper_abbreviate_dirs
, \
575 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
576 -o
$@
$(SOLARENV
)/bin
/packregistry.xslt
$< \
579 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/registry_
%.list
:
580 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
582 && $(call gb_Helper_abbreviate_dirs
, \
583 (find
$(call gb_XcuResTarget_get_target
,registry
/$*/) -name
*.xcu
-print0 | xargs
-n1
-0 -I
'{}' echo
'<filename>{}</filename>') >> $@ \
584 $(if
$(filter DBCONNECTIVITY
,$(BUILD_TYPE
)),\
585 $(foreach driver
,$(postprocess_DRIVERS
), \
586 && (find
$(call gb_XcuResTarget_get_target
,$(driver
)/$*/) -name
*.xcu
-print0 | xargs
-n1
-0 -I
'{}' echo
'<filename>{}</filename>') >> $@ \
589 $(if
$(filter TRUE
,$(ENABLE_ONLINE_UPDATE
)),\
590 && (find
$(call gb_XcuResTarget_get_target
,updchk
/$*/) -name
*.xcu
-print0 | xargs
-n1
-0 -I
'{}' echo
'<filename>{}</filename>') >> $@ \
593 && echo
'</list>' >> $@
595 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/%.xcd
: \
596 |
$(call gb_ExternalExecutable_get_dependencies
,xsltproc
)
597 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),XCD
,3)
598 $(call gb_Helper_abbreviate_dirs
, \
599 $(call gb_ExternalExecutable_get_command
,xsltproc
) --nonet \
600 -o
$@
$(SOLARENV
)/bin
/packregistry.xslt
$< \
603 $(call gb_CustomTarget_get_workdir
,postprocess
/registry
)/%.list
:
604 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),ECH
,2)
605 echo
'<list>' $(foreach i
,$(postprocess_DEPS_
$*), '<dependency file="$i"/>') \
606 $(foreach i
,$(postprocess_OPTDEPS_
$*), '<dependency file="$i" optional="true"/>') \
607 $(foreach i
,$(postprocess_FILES_
$*), '<filename>$(OUTDIR)/xml/$(i)</filename>') '</list>' > $@
609 # vim: set noet sw=4 ts=4: