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.ELSE 319ERROR : unknown-GUIBASE 320.END 321.IF "$(OS)" == "WNT" || "$(OS)" == "LINUX" || \ 322 ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "NETBSD" 323MY_FILES_main += $(MY_MOD)/DataAccess/adabas.xcu 324.END 325.IF "$(ENABLE_EVOAB2)" == "TRUE" 326MY_FILES_main += $(MY_MOD)/DataAccess/evoab2.xcu 327.END 328.IF "$(SOLAR_JAVA)" == "TRUE" 329MY_FILES_main += \ 330 $(MY_MOD)/DataAccess/hsqldb.xcu \ 331 $(MY_MOD)/DataAccess/jdbc.xcu 332.END 333.IF "$(ENABLE_KAB)" == "TRUE" 334MY_FILES_main += $(MY_MOD)/DataAccess/kab.xcu 335.END 336.IF "$(SYSTEM_MOZILLA)" != "YES" && "$(WITH_MOZILLA)" != "NO" && \ 337 "$(OS)" != "MACOSX" 338.IF "$(OS)" == "WNT" 339MY_FILES_main += $(MY_MOD)/DataAccess/mozab.xcu 340.ELSE 341MY_FILES_main += $(MY_MOD)/DataAccess/mozab2.xcu 342.END 343.END 344.IF "$(SYSTEM_LIBTEXTCAT_DATA)" != "" 345MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-externallibtextcatdata.xcu 346.ELSE 347MY_FILES_main += $(MY_MOD)/org/openoffice/Office/Paths-internallibtextcatdata.xcu 348.END 349 350MY_DEPS_math = main 351MY_FILES_math = \ 352 $(MY_XCS)/Office/UI/MathCommands.xcs \ 353 $(MY_XCS)/Office/UI/MathWindowState.xcs \ 354 $(MY_XCU)/Office/UI/MathCommands.xcu \ 355 $(MY_XCU)/Office/UI/MathWindowState.xcu \ 356 $(MY_MOD)/fcfg_math_filters.xcu \ 357 $(MY_MOD)/fcfg_math_types.xcu \ 358 $(MY_MOD)/org/openoffice/Office/Common-math.xcu \ 359 $(MY_MOD)/org/openoffice/Office/Embedding-math.xcu \ 360 $(MY_MOD)/org/openoffice/Setup-math.xcu 361 362MY_DEPS_onlineupdate = main 363MY_FILES_onlineupdate = \ 364 $(MY_MOD)/org/openoffice/Office/Addons/Addons-onlineupdate.xcu \ 365 $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-onlineupdate.xcu 366 367MY_DEPS_oooimprovement = main 368MY_FILES_oooimprovement = \ 369 $(MY_MOD)/org/openoffice/Office/Jobs/Jobs-oooimprovement.xcu \ 370 $(MY_MOD)/org/openoffice/Office/Logging/Logging-oooimprovement.xcu 371 372MY_DEPS_palm = main 373MY_FILES_palm = \ 374 $(MY_MOD)/fcfg_palm_filters.xcu \ 375 $(MY_MOD)/fcfg_palm_types.xcu 376 377MY_DEPS_pocketexcel = main 378MY_FILES_pocketexcel = \ 379 $(MY_MOD)/fcfg_pocketexcel_filters.xcu \ 380 $(MY_MOD)/fcfg_pocketexcel_types.xcu 381 382MY_DEPS_pocketword = main 383MY_FILES_pocketword = \ 384 $(MY_MOD)/fcfg_pocketword_filters.xcu \ 385 $(MY_MOD)/fcfg_pocketword_types.xcu 386 387MY_DEPS_pyuno = main 388MY_FILES_pyuno = \ 389 $(MY_MOD)/org/openoffice/Office/Scripting-python.xcu 390 391MY_DEPS_w4w = main 392MY_FILES_w4w = \ 393 $(MY_MOD)/fcfg_w4w_filters.xcu \ 394 $(MY_MOD)/fcfg_w4w_types.xcu 395 396MY_DEPS_writer = main 397MY_FILES_writer = \ 398 $(MY_XCS)/Office/UI/WriterCommands.xcs \ 399 $(MY_XCS)/Office/UI/WriterFormWindowState.xcs \ 400 $(MY_XCS)/Office/UI/WriterGlobalWindowState.xcs \ 401 $(MY_XCS)/Office/UI/WriterReportWindowState.xcs \ 402 $(MY_XCS)/Office/UI/WriterWebWindowState.xcs \ 403 $(MY_XCS)/Office/UI/WriterWindowState.xcs \ 404 $(MY_XCS)/Office/UI/XFormsWindowState.xcs \ 405 $(MY_XCU)/Office/UI/WriterCommands.xcu \ 406 $(MY_XCU)/Office/UI/WriterFormWindowState.xcu \ 407 $(MY_XCU)/Office/UI/WriterGlobalWindowState.xcu \ 408 $(MY_XCU)/Office/UI/WriterReportWindowState.xcu \ 409 $(MY_XCU)/Office/UI/WriterWebWindowState.xcu \ 410 $(MY_XCU)/Office/UI/WriterWindowState.xcu \ 411 $(MY_XCU)/Office/UI/XFormsWindowState.xcu \ 412 $(MY_MOD)/fcfg_global_filters.xcu \ 413 $(MY_MOD)/fcfg_global_types.xcu \ 414 $(MY_MOD)/fcfg_web_filters.xcu \ 415 $(MY_MOD)/fcfg_web_types.xcu \ 416 $(MY_MOD)/fcfg_writer_filters.xcu \ 417 $(MY_MOD)/fcfg_writer_types.xcu \ 418 $(MY_MOD)/org/openoffice/Office/Common-writer.xcu \ 419 $(MY_MOD)/org/openoffice/Office/Embedding-writer.xcu \ 420 $(MY_MOD)/org/openoffice/Setup-writer.xcu 421 422MY_DEPS_xsltfilter = main 423MY_FILES_xsltfilter = \ 424 $(MY_MOD)/fcfg_xslt_filters.xcu \ 425 $(MY_MOD)/fcfg_xslt_types.xcu 426 427.IF "$(WITH_BINFILTER)" != "NO" 428MY_XCDS += $(MISC)/binfilter.xcd 429MY_DEPS_binfilter = main 430MY_FILES_binfilter = \ 431 $(MY_MOD)/fcfg_chart_bf_filters.xcu \ 432 $(MY_MOD)/fcfg_chart_bf_types.xcu \ 433 $(MY_MOD)/fcfg_calc_bf_filters.xcu \ 434 $(MY_MOD)/fcfg_calc_bf_types.xcu \ 435 $(MY_MOD)/fcfg_draw_bf_filters.xcu \ 436 $(MY_MOD)/fcfg_draw_bf_types.xcu \ 437 $(MY_MOD)/fcfg_global_bf_filters.xcu \ 438 $(MY_MOD)/fcfg_global_bf_types.xcu \ 439 $(MY_MOD)/fcfg_impress_bf_filters.xcu \ 440 $(MY_MOD)/fcfg_impress_bf_types.xcu \ 441 $(MY_MOD)/fcfg_math_bf_filters.xcu \ 442 $(MY_MOD)/fcfg_math_bf_types.xcu \ 443 $(MY_MOD)/fcfg_web_bf_filters.xcu \ 444 $(MY_MOD)/fcfg_web_bf_types.xcu \ 445 $(MY_MOD)/fcfg_writer_bf_filters.xcu \ 446 $(MY_MOD)/fcfg_writer_bf_types.xcu 447.END 448 449.IF "$(GUIBASE)" == "unx" && \ 450 (("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \ 451 "$(ENABLE_GIO)" == "TRUE") 452MY_XCDS += $(MISC)/gnome.xcd 453MY_DEPS_gnome = main 454.IF "$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES" 455MY_FILES_gnome += \ 456 $(MY_MOD)/org/openoffice/Office/Common-gconflockdown.xcu \ 457 $(MY_MOD)/org/openoffice/Office/Recovery-gconflockdown.xcu \ 458 $(MY_MOD)/org/openoffice/UserProfile-gconflockdown.xcu \ 459 $(MY_MOD)/org/openoffice/VCL-gconflockdown.xcu 460.END 461.IF "$(ENABLE_GIO)" == "TRUE" 462MY_FILES_gnome += \ 463 $(MY_MOD)/org/openoffice/ucb/Configuration-gio.xcu 464.END 465.END 466 467.IF "$(ENABLE_OPENGL)" == "TRUE" 468MY_XCDS += $(MISC)/ogltrans.xcd 469MY_DEPS_ogltrans = main 470MY_FILES_ogltrans = \ 471 $(MY_MOD)/org/openoffice/Office/Impress-ogltrans.xcu 472.END 473 474.IF "$(GUIBASE)" == "WIN" 475MY_XCDS += $(MISC)/forcedefault.xcd 476MY_DEPS_forcedefault = main 477MY_FILES_forcedefault = \ 478 $(MY_MOD)/org/openoffice/Office/Linguistic-ForceDefaultLanguage.xcu 479.END 480 481.INCLUDE : settings.mk 482.INCLUDE : target.mk 483 484ALLTAR : \ 485 $(MY_XCDS) \ 486 $(MISC)/lang/Langpack-{$(alllangiso)}.xcd \ 487 $(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd \ 488 $(MISC)/lang/registry_{$(alllangiso)}.xcd 489 490{$(MY_XCDS)} : $$(MY_FILES_$$(@:b):^"$(SOLARXMLDIR)/") 491 492$(MISC)/%.xcd .ERRREMOVE : $(MISC)/%.list 493 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 494 $(SOLARENV)/bin/packregistry.xslt $< 495 496$(MISC)/%.list : makefile.mk 497 - $(RM) $@ 498 echo '<list>' $(foreach,i,$(MY_DEPS_$(@:b)) '<dependency file="$i"/>') \ 499 $(foreach,i,$(MY_FILES_$(@:b)) '<filename>$i</filename>') '</list>' > $@ 500 501$(MISC)/lang/Langpack-{$(alllangiso)}.xcd : $(SOLARXMLDIR)/$(MY_MOD)/$$(@:b).xcu 502 503$(MISC)/lang/Langpack-%.xcd .ERRREMOVE : 504 $(MKDIRHIER) $(@:d) 505 - $(RM) $(MISC)/$(@:b).list 506 echo '<list><dependency file="main"/>' \ 507 '<filename>$(MY_MOD)/$(@:b).xcu</filename></list>' > $(MISC)/$(@:b).list 508 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 509 $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list 510 511$(MISC)/lang/fcfg_langpack_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip 512 513# It can happen that localized $(SOLARPCKDIR)/fcfg_langpack_*.zip contain 514# zero-sized org/openoffice/TypeDectection/Filter.xcu; filter them out in the 515# find shell command below (see issue 110041): 516 517$(MISC)/lang/fcfg_langpack_%.xcd .ERRREMOVE : 518 $(MKDIRHIER) $(@:d) 519 rm -rf $(MISC)/$(@:b).unzip 520 mkdir $(MISC)/$(@:b).unzip 521 cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip 522 - $(RM) $(MISC)/$(@:b).list 523 # filter out filenames starting with "." 524 echo '<list>' $(foreach,i,$(shell cd $(MISC) && \ 525 find $(@:b).unzip -name \[!.\]\*.xcu -size +0c -print) \ 526 '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list 527 $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \ 528 $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list 529 530$(MISC)/lang/registry_{$(alllangiso)}.xcd : $(SOLARPCKDIR)/$$(@:b).zip \ 531 $(SOLARPCKDIR)/fcfg_drivers_$$(@:b:s/registry_//).zip 532 533$(MISC)/lang/registry_%.xcd .ERRREMOVE : 534 $(MKDIRHIER) $(@:d) 535 rm -rf $(MISC)/$(@:b).unzip 536 mkdir $(MISC)/$(@:b).unzip 537 cd $(MISC)/$(@:b).unzip && unzip $(SOLARPCKDIR)/$(@:b).zip 538 rm -rf $(MISC)/fcfg_drivers_$*.unzip 539 mkdir $(MISC)/fcfg_drivers_$*.unzip 540 cd $(MISC)/fcfg_drivers_$*.unzip && \ 541 unzip $(SOLARPCKDIR)/fcfg_drivers_$*.zip 542 - $(RM) $(MISC)/$(@:b).list 543 # filter out filenames starting with "." 544 echo '<list>' $(foreach,i,$(shell cd $(MISC) && \ 545 find $(@:b).unzip fcfg_drivers_$*.unzip -name \[!.\]\*.xcu -print) \ 546 '<filename>$i</filename>') '</list>' > $(MISC)/$(@:b).list 547 $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \ 548 $(SOLARENV)/bin/packregistry.xslt $(MISC)/$(@:b).list 549