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