12407af08SAndrew Rist#************************************************************** 22407af08SAndrew Rist# 32407af08SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 42407af08SAndrew Rist# or more contributor license agreements. See the NOTICE file 52407af08SAndrew Rist# distributed with this work for additional information 62407af08SAndrew Rist# regarding copyright ownership. The ASF licenses this file 72407af08SAndrew Rist# to you under the Apache License, Version 2.0 (the 82407af08SAndrew Rist# "License"); you may not use this file except in compliance 92407af08SAndrew Rist# with the License. You may obtain a copy of the License at 102407af08SAndrew Rist# 112407af08SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 122407af08SAndrew Rist# 132407af08SAndrew Rist# Unless required by applicable law or agreed to in writing, 142407af08SAndrew Rist# software distributed under the License is distributed on an 152407af08SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 162407af08SAndrew Rist# KIND, either express or implied. See the License for the 172407af08SAndrew Rist# specific language governing permissions and limitations 182407af08SAndrew Rist# under the License. 192407af08SAndrew Rist# 202407af08SAndrew Rist#************************************************************** 212407af08SAndrew Rist 222407af08SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweirPRJ = .. 25cdf0e10cSrcweirPRJNAME = postprocess 26cdf0e10cSrcweirTARGET = packcomponents 27cdf0e10cSrcweir 28cdf0e10cSrcweir.INCLUDE: settings.mk 29cdf0e10cSrcweir 30cdf0e10cSrcweir#TODO (copied from scp2/source/ooo/makefile.mk): 31cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_GTK)" != "" 32cdf0e10cSrcweirPKGCONFIG_MODULES=gtk+-2.0 33cdf0e10cSrcweir.INCLUDE: pkg_config.mk 34cdf0e10cSrcweirGTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES) 35cdf0e10cSrcweir.END 36cdf0e10cSrcweir 37cdf0e10cSrcweirmy_components = \ 38cdf0e10cSrcweir abp \ 39cdf0e10cSrcweir adabasui \ 40cdf0e10cSrcweir analysis \ 41cdf0e10cSrcweir animcore \ 42cdf0e10cSrcweir avmedia \ 43cdf0e10cSrcweir basctl \ 44cdf0e10cSrcweir basprov \ 45cdf0e10cSrcweir bib \ 46cdf0e10cSrcweir cached1 \ 47cdf0e10cSrcweir calc \ 48cdf0e10cSrcweir canvasfactory \ 49cdf0e10cSrcweir chartcontroller \ 50cdf0e10cSrcweir chartmodel \ 51cdf0e10cSrcweir charttools \ 52cdf0e10cSrcweir chartview \ 53cdf0e10cSrcweir component/comphelper/util/comphelp \ 54*b2b569f2SArmin Le Grand component/cui/util/cui \ 55ddde725dSArmin Le Grand component/drawinglayer/drawinglayer \ 56cdf0e10cSrcweir component/framework/util/fwk \ 57cdf0e10cSrcweir component/framework/util/fwl \ 58cdf0e10cSrcweir component/framework/util/fwm \ 59cdf0e10cSrcweir component/vbahelper/util/msforms \ 60cdf0e10cSrcweir component/sfx2/util/sfx \ 61cdf0e10cSrcweir component/sot/util/sot \ 62ddde725dSArmin Le Grand component/svgio/svgio \ 63cdf0e10cSrcweir component/svl/source/fsstor/fsstorage \ 64cdf0e10cSrcweir component/svl/source/passwordcontainer/passwordcontainer \ 65cdf0e10cSrcweir component/svl/util/svl \ 66cdf0e10cSrcweir component/svtools/source/hatchwindow/hatchwindowfactory \ 67cdf0e10cSrcweir component/svtools/source/productregistration/productregistration.uno \ 68cdf0e10cSrcweir component/svtools/util/svt \ 69cdf0e10cSrcweir component/svx/util/svx \ 70cdf0e10cSrcweir component/svx/util/svxcore \ 71cdf0e10cSrcweir component/svx/util/textconversiondlgs \ 72cdf0e10cSrcweir component/sw/util/msword \ 73cdf0e10cSrcweir component/sw/util/sw \ 74cdf0e10cSrcweir component/sw/util/swd \ 75cdf0e10cSrcweir component/sw/util/vbaswobj \ 76cdf0e10cSrcweir component/toolkit/util/tk \ 77cdf0e10cSrcweir component/unoxml/source/rdf/unordf \ 78cdf0e10cSrcweir component/unoxml/source/service/unoxml \ 79cdf0e10cSrcweir component/xmloff/source/transform/xof \ 80cdf0e10cSrcweir component/xmloff/util/xo \ 81cdf0e10cSrcweir configmgr \ 82cdf0e10cSrcweir ctl \ 83cdf0e10cSrcweir date \ 84cdf0e10cSrcweir dba \ 85cdf0e10cSrcweir dbase \ 86cdf0e10cSrcweir dbaxml \ 87cdf0e10cSrcweir dbmm \ 88cdf0e10cSrcweir dbp \ 89cdf0e10cSrcweir dbpool2 \ 90cdf0e10cSrcweir dbtools \ 91cdf0e10cSrcweir dbu \ 92cdf0e10cSrcweir deployment \ 93cdf0e10cSrcweir deploymentgui \ 94cdf0e10cSrcweir dlgprov \ 95cdf0e10cSrcweir embobj \ 96cdf0e10cSrcweir evtatt \ 97cdf0e10cSrcweir fastsax \ 98cdf0e10cSrcweir fileacc \ 99cdf0e10cSrcweir filterconfig1 \ 100cdf0e10cSrcweir flash \ 101cdf0e10cSrcweir flat \ 102cdf0e10cSrcweir for \ 103cdf0e10cSrcweir fpicker \ 104cdf0e10cSrcweir fps_office \ 105cdf0e10cSrcweir frm \ 106cdf0e10cSrcweir guesslang \ 107cdf0e10cSrcweir hwp \ 108cdf0e10cSrcweir i18npool \ 109cdf0e10cSrcweir i18nsearch \ 110cdf0e10cSrcweir lng \ 111a44fea77SAriel Constenla-Haile lnth \ 112cdf0e10cSrcweir localebe1 \ 113cdf0e10cSrcweir log \ 114cdf0e10cSrcweir mcnttype \ 115cdf0e10cSrcweir migrationoo2 \ 116cdf0e10cSrcweir msfilter \ 117cdf0e10cSrcweir mysql \ 118cdf0e10cSrcweir odbc \ 119cdf0e10cSrcweir offacc \ 120cdf0e10cSrcweir oooimprovecore \ 121cdf0e10cSrcweir oox \ 122cdf0e10cSrcweir package2 \ 123cdf0e10cSrcweir pcr \ 124cdf0e10cSrcweir pdffilter \ 125cdf0e10cSrcweir placeware \ 126cdf0e10cSrcweir preload \ 127cdf0e10cSrcweir protocolhandler \ 128cdf0e10cSrcweir pythonloader \ 129cdf0e10cSrcweir pythonscript \ 130cdf0e10cSrcweir res \ 131cdf0e10cSrcweir rpt \ 132cdf0e10cSrcweir rptui \ 133cdf0e10cSrcweir rptxml \ 134cdf0e10cSrcweir sax \ 135cdf0e10cSrcweir sb \ 136cdf0e10cSrcweir sc \ 137cdf0e10cSrcweir scd \ 138cdf0e10cSrcweir scn \ 139cdf0e10cSrcweir scriptframe \ 140cdf0e10cSrcweir sd \ 141cdf0e10cSrcweir sdbc2 \ 142cdf0e10cSrcweir sdbt \ 143cdf0e10cSrcweir sdd \ 144cdf0e10cSrcweir simplecanvas \ 145cdf0e10cSrcweir slideshow \ 146cdf0e10cSrcweir sm \ 147cdf0e10cSrcweir smd \ 148cdf0e10cSrcweir spl \ 149cdf0e10cSrcweir srtrs1 \ 150cdf0e10cSrcweir stringresource \ 151cdf0e10cSrcweir svgfilter \ 152cdf0e10cSrcweir syssh \ 153cdf0e10cSrcweir t602filter \ 154cdf0e10cSrcweir tvhlp1 \ 155cdf0e10cSrcweir ucb1 \ 156cdf0e10cSrcweir ucpchelp1 \ 157cdf0e10cSrcweir ucpexpand1 \ 158cdf0e10cSrcweir ucpext \ 159cdf0e10cSrcweir ucpfile1 \ 160cdf0e10cSrcweir ucpftp1 \ 161cdf0e10cSrcweir ucphier1 \ 162cdf0e10cSrcweir ucppkg1 \ 163cdf0e10cSrcweir ucptdoc1 \ 164cdf0e10cSrcweir updatefeed \ 165cdf0e10cSrcweir updchk \ 166cdf0e10cSrcweir updchk.uno \ 167cdf0e10cSrcweir utl \ 168cdf0e10cSrcweir uui \ 169cdf0e10cSrcweir vbaevents \ 170cdf0e10cSrcweir vbaobj \ 171cdf0e10cSrcweir vclcanvas \ 172cdf0e10cSrcweir writerfilter \ 173cdf0e10cSrcweir xcr \ 174cdf0e10cSrcweir xmlfa \ 175cdf0e10cSrcweir xmlfd \ 176cdf0e10cSrcweir xmx \ 177cdf0e10cSrcweir xsltdlg \ 178cdf0e10cSrcweir xstor 179cdf0e10cSrcweir 180cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 181cdf0e10cSrcweirmy_components += component/vcl/vcl.macosx 182cdf0e10cSrcweir.ELSE 183cdf0e10cSrcweir.IF "$(OS)" == "WNT" 184cdf0e10cSrcweirmy_components += component/vcl/vcl.windows 185cdf0e10cSrcweir.ELSE 186cdf0e10cSrcweirmy_components += component/vcl/vcl.unx 187cdf0e10cSrcweir.ENDIF 188cdf0e10cSrcweir.ENDIF 189cdf0e10cSrcweir 190cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)" != "" 191cdf0e10cSrcweirmy_components += oooimprovement 192cdf0e10cSrcweir.END 193cdf0e10cSrcweir 19488bfee53SPedro Giffuni.IF "$(ENABLE_COINMP)"=="YES" 19588bfee53SPedro Giffunimy_components += solver 19688bfee53SPedro Giffuni.END 19788bfee53SPedro Giffuni 1980ea1a209SEike Rathke.IF "$(DISABLE_SAXON)" == "" 1990ea1a209SEike Rathkemy_components += XSLTFilter.jar \ 2000ea1a209SEike Rathke xsltfilter 2010ea1a209SEike Rathke.END 2020ea1a209SEike Rathke 203a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HYPHEN)" == "YES" 2040ea1a209SEike Rathkemy_components += hyphen 2050ea1a209SEike Rathke.END 2060ea1a209SEike Rathke 207a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HUNSPELL)" == "YES" 208a44fea77SAriel Constenla-Hailemy_components += spell 2090ea1a209SEike Rathke.END 2100ea1a209SEike Rathke 2110bd633abSJürgen Schmidt.IF "$(SYSTEM_LIBWPD)" == "YES" 2120ea1a209SEike Rathkemy_components += wpft 2130ea1a209SEike Rathke.END 2140ea1a209SEike Rathke 215cdf0e10cSrcweir.IF "$(DISABLE_ATL)" == "" 216cdf0e10cSrcweirmy_components += emboleobj 217cdf0e10cSrcweir.END 218cdf0e10cSrcweir 219b78edfc1SJürgen Schmidt.IF "$(SYSTEM_NEON)" == "YES" 220cdf0e10cSrcweirmy_components += ucpdav1 221cdf0e10cSrcweir.END 222cdf0e10cSrcweir 22346dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE" 224cdf0e10cSrcweirmy_components += cairocanvas 225cdf0e10cSrcweir.END 226cdf0e10cSrcweir 227cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" != "" 228cdf0e10cSrcweirmy_components += gconfbe1 229cdf0e10cSrcweir.END 230cdf0e10cSrcweir 231cdf0e10cSrcweir.IF "$(ENABLE_GIO)" != "" 232cdf0e10cSrcweirmy_components += ucpgio 233cdf0e10cSrcweir.END 234cdf0e10cSrcweir 235cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)" != "" 236cdf0e10cSrcweirmy_components += ucpgvfs 237cdf0e10cSrcweir.END 238cdf0e10cSrcweir 239cdf0e10cSrcweir.IF "$(ENABLE_KAB)" != "" 240cdf0e10cSrcweirmy_components += kab1 241cdf0e10cSrcweir.END 242cdf0e10cSrcweir 243cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != "" 244cdf0e10cSrcweirmy_components += kdebe1 245cdf0e10cSrcweir.END 246cdf0e10cSrcweir 247cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != "" 248cdf0e10cSrcweirmy_components += kde4be1 249cdf0e10cSrcweir.END 250cdf0e10cSrcweir 25199425c2fSEike Rathke.IF "$(ENABLE_OPENGL)" == "TRUE" 252cdf0e10cSrcweirmy_components += ogltrans 253cdf0e10cSrcweir.END 254cdf0e10cSrcweir 255cdf0e10cSrcweir.IF "$(ENABLE_SVCTAGS)" == "YES" 256cdf0e10cSrcweirmy_components += productregistration.jar 257cdf0e10cSrcweir.END 258cdf0e10cSrcweir 259cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE" 260cdf0e10cSrcweirmy_components += \ 261cdf0e10cSrcweir LuceneHelpWrapper \ 262cdf0e10cSrcweir ScriptFramework \ 263cdf0e10cSrcweir ScriptProviderForJava \ 264cdf0e10cSrcweir XMergeBridge \ 265cdf0e10cSrcweir XSLTValidate \ 266cdf0e10cSrcweir agenda \ 267cdf0e10cSrcweir fax \ 268cdf0e10cSrcweir form \ 269cdf0e10cSrcweir hsqldb \ 270cdf0e10cSrcweir jdbc \ 271cdf0e10cSrcweir letter \ 272cdf0e10cSrcweir query \ 273cdf0e10cSrcweir report \ 274cdf0e10cSrcweir table \ 275cdf0e10cSrcweir web 2769ef65f0eSAndre Fischer.IF "$(ENABLE_BEANSHELL)" == "YES" 2779ef65f0eSAndre Fischermy_components += ScriptProviderForBeanShell 2789ef65f0eSAndre Fischer.END 2799ef65f0eSAndre Fischer.IF "$(ENABLE_JAVASCRIPT)" == "YES" 2809ef65f0eSAndre Fischermy_components += ScriptProviderForJavaScript 2819ef65f0eSAndre Fischer.END 282cdf0e10cSrcweir.END 283cdf0e10cSrcweir 284cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO" 285cdf0e10cSrcweirmy_components += \ 286cdf0e10cSrcweir bf_migratefilter \ 287cdf0e10cSrcweir bindet 288cdf0e10cSrcweir.END 289cdf0e10cSrcweir 290cdf0e10cSrcweir.IF "$(WITH_LDAP)" == "YES" 291cdf0e10cSrcweirmy_components += ldapbe2 292cdf0e10cSrcweir.END 293cdf0e10cSrcweir 294cdf0e10cSrcweir.IF "$(WITH_MOZILLA)" != "NO" 295cdf0e10cSrcweirmy_components += \ 296cdf0e10cSrcweir xmlsecurity \ 297cdf0e10cSrcweir xsec_fw \ 298cdf0e10cSrcweir xsec_xmlsec \ 299cdf0e10cSrcweir pl 300cdf0e10cSrcweir.END 301cdf0e10cSrcweir 302cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 303cdf0e10cSrcweirmy_components += \ 304cdf0e10cSrcweir avmediaQuickTime \ 305cdf0e10cSrcweir fps_aqua \ 306cdf0e10cSrcweir macab1 \ 307c4436845SJürgen Schmidt macbe1 \ 3082ee8c3d1SEike Rathke MacOSXSpell 3092ee8c3d1SEike Rathke.END 3102ee8c3d1SEike Rathke 311cdf0e10cSrcweir.IF "$(OS)" == "WNT" 312cdf0e10cSrcweirmy_components += \ 313cdf0e10cSrcweir ado \ 314cdf0e10cSrcweir dnd \ 315cdf0e10cSrcweir dtrans \ 316cdf0e10cSrcweir fop \ 317cdf0e10cSrcweir fps \ 318cdf0e10cSrcweir ftransl \ 319cdf0e10cSrcweir java_uno_accessbridge \ 320cdf0e10cSrcweir smplmail \ 321cdf0e10cSrcweir sysdtrans \ 322cdf0e10cSrcweir wininetbe1 323cdf0e10cSrcweir.END 324cdf0e10cSrcweir 325cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == "" 326cdf0e10cSrcweirmy_components += \ 327cdf0e10cSrcweir emser \ 328cdf0e10cSrcweir oleautobridge 329cdf0e10cSrcweir.END 330cdf0e10cSrcweir 331cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" 332cdf0e10cSrcweirmy_components += \ 333cdf0e10cSrcweir avmediawin \ 334cdf0e10cSrcweir directx9canvas \ 335cdf0e10cSrcweir gdipluscanvas 336cdf0e10cSrcweir.END 337cdf0e10cSrcweir 338cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != "" 339cdf0e10cSrcweirmy_components += directx5canvas 340cdf0e10cSrcweir.END 341cdf0e10cSrcweir 342cdf0e10cSrcweir.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \ 343cdf0e10cSrcweir ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT" 344cdf0e10cSrcweirmy_components += adabas 345cdf0e10cSrcweir.END 346cdf0e10cSrcweir 347cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(SYSTEM_MOZILLA)" != "YES" && \ 348cdf0e10cSrcweir "$(WITH_MOZILLA)" != "NO" 349cdf0e10cSrcweirmy_components += mozab 350cdf0e10cSrcweir.ELSE 351cdf0e10cSrcweirmy_components += mozbootstrap 352cdf0e10cSrcweir.END 353cdf0e10cSrcweir 354cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" 355cdf0e10cSrcweirmy_components += desktopbe1 356cdf0e10cSrcweir.END 357cdf0e10cSrcweir 358cdf0e10cSrcweir.IF "$(GTK_TWO_FOUR)" != "" 359cdf0e10cSrcweirmy_components += fps_gnome 360cdf0e10cSrcweir.END 361cdf0e10cSrcweir 362cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != "" 363cdf0e10cSrcweirmy_components += fps_kde4 364cdf0e10cSrcweir.END 365cdf0e10cSrcweir 366cdf0e10cSrcweir.IF "$(OS)" != "WNT" 367cdf0e10cSrcweirmy_components += cmdmail 368cdf0e10cSrcweir.END 369cdf0e10cSrcweir 370cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != "" 371cdf0e10cSrcweirmy_components += evoab 372cdf0e10cSrcweir.END 373cdf0e10cSrcweir 374cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != "" 375cdf0e10cSrcweirmy_components += avmediagst 376cdf0e10cSrcweir.END 377cdf0e10cSrcweir 378cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE" 379cdf0e10cSrcweirmy_components += avmedia.jar 380cdf0e10cSrcweir.END 381cdf0e10cSrcweir 382cdf0e10cSrcweirmy_ooo_components = mailmerge 383cdf0e10cSrcweir 384cdf0e10cSrcweir.INCLUDE: target.mk 385cdf0e10cSrcweir 386cdf0e10cSrcweirALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb 387cdf0e10cSrcweir 388cdf0e10cSrcweir$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 389cdf0e10cSrcweir $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 390cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 391cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 392cdf0e10cSrcweir 393cdf0e10cSrcweir$(MISC)/services.input : makefile.mk 394cdf0e10cSrcweir echo \ 395cdf0e10cSrcweir '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 396cdf0e10cSrcweir > $@ 397cdf0e10cSrcweir 398cdf0e10cSrcweir$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 399cdf0e10cSrcweir $(MISC)/ooo-services.input \ 400cdf0e10cSrcweir $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component") 401cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 402cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input 403cdf0e10cSrcweir 404cdf0e10cSrcweir$(MISC)/ooo-services.input : makefile.mk 405cdf0e10cSrcweir echo '<list>' \ 406cdf0e10cSrcweir '$(my_ooo_components:^"<filename>":+".component</filename>")' \ 407cdf0e10cSrcweir '</list>' > $@ 408