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