1*2407af08SAndrew Rist#************************************************************** 2*2407af08SAndrew Rist# 3*2407af08SAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*2407af08SAndrew Rist# or more contributor license agreements. See the NOTICE file 5*2407af08SAndrew Rist# distributed with this work for additional information 6*2407af08SAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*2407af08SAndrew Rist# to you under the Apache License, Version 2.0 (the 8*2407af08SAndrew Rist# "License"); you may not use this file except in compliance 9*2407af08SAndrew Rist# with the License. You may obtain a copy of the License at 10*2407af08SAndrew Rist# 11*2407af08SAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*2407af08SAndrew Rist# 13*2407af08SAndrew Rist# Unless required by applicable law or agreed to in writing, 14*2407af08SAndrew Rist# software distributed under the License is distributed on an 15*2407af08SAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*2407af08SAndrew Rist# KIND, either express or implied. See the License for the 17*2407af08SAndrew Rist# specific language governing permissions and limitations 18*2407af08SAndrew Rist# under the License. 19*2407af08SAndrew Rist# 20*2407af08SAndrew Rist#************************************************************** 21*2407af08SAndrew Rist 22*2407af08SAndrew 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 \ 54ddde725dSArmin Le Grand component/drawinglayer/drawinglayer \ 55cdf0e10cSrcweir component/framework/util/fwk \ 56cdf0e10cSrcweir component/framework/util/fwl \ 57cdf0e10cSrcweir component/framework/util/fwm \ 58cdf0e10cSrcweir component/vbahelper/util/msforms \ 59cdf0e10cSrcweir component/sfx2/util/sfx \ 60cdf0e10cSrcweir component/sot/util/sot \ 61ddde725dSArmin Le Grand component/svgio/svgio \ 62cdf0e10cSrcweir component/svl/source/fsstor/fsstorage \ 63cdf0e10cSrcweir component/svl/source/passwordcontainer/passwordcontainer \ 64cdf0e10cSrcweir component/svl/util/svl \ 65cdf0e10cSrcweir component/svtools/source/hatchwindow/hatchwindowfactory \ 66cdf0e10cSrcweir component/svtools/source/productregistration/productregistration.uno \ 67cdf0e10cSrcweir component/svtools/util/svt \ 68cdf0e10cSrcweir component/svx/util/svx \ 69cdf0e10cSrcweir component/svx/util/svxcore \ 70cdf0e10cSrcweir component/svx/util/textconversiondlgs \ 71cdf0e10cSrcweir component/sw/util/msword \ 72cdf0e10cSrcweir component/sw/util/sw \ 73cdf0e10cSrcweir component/sw/util/swd \ 74cdf0e10cSrcweir component/sw/util/vbaswobj \ 75cdf0e10cSrcweir component/toolkit/util/tk \ 76cdf0e10cSrcweir component/unoxml/source/rdf/unordf \ 77cdf0e10cSrcweir component/unoxml/source/service/unoxml \ 78cdf0e10cSrcweir component/xmloff/source/transform/xof \ 79cdf0e10cSrcweir component/xmloff/util/xo \ 80cdf0e10cSrcweir configmgr \ 81cdf0e10cSrcweir ctl \ 82cdf0e10cSrcweir date \ 83cdf0e10cSrcweir dba \ 84cdf0e10cSrcweir dbase \ 85cdf0e10cSrcweir dbaxml \ 86cdf0e10cSrcweir dbmm \ 87cdf0e10cSrcweir dbp \ 88cdf0e10cSrcweir dbpool2 \ 89cdf0e10cSrcweir dbtools \ 90cdf0e10cSrcweir dbu \ 91cdf0e10cSrcweir deployment \ 92cdf0e10cSrcweir deploymentgui \ 93cdf0e10cSrcweir dlgprov \ 94cdf0e10cSrcweir embobj \ 95cdf0e10cSrcweir evtatt \ 96cdf0e10cSrcweir fastsax \ 97cdf0e10cSrcweir fileacc \ 98cdf0e10cSrcweir filterconfig1 \ 99cdf0e10cSrcweir flash \ 100cdf0e10cSrcweir flat \ 101cdf0e10cSrcweir for \ 102cdf0e10cSrcweir fpicker \ 103cdf0e10cSrcweir fps_office \ 104cdf0e10cSrcweir frm \ 105cdf0e10cSrcweir guesslang \ 106cdf0e10cSrcweir hwp \ 107cdf0e10cSrcweir i18npool \ 108cdf0e10cSrcweir i18nsearch \ 109cdf0e10cSrcweir lng \ 110a44fea77SAriel Constenla-Haile lnth \ 111cdf0e10cSrcweir localebe1 \ 112cdf0e10cSrcweir log \ 113cdf0e10cSrcweir mcnttype \ 114cdf0e10cSrcweir migrationoo2 \ 115cdf0e10cSrcweir msfilter \ 116cdf0e10cSrcweir mysql \ 117cdf0e10cSrcweir odbc \ 118cdf0e10cSrcweir offacc \ 119cdf0e10cSrcweir oooimprovecore \ 120cdf0e10cSrcweir oox \ 121cdf0e10cSrcweir package2 \ 122cdf0e10cSrcweir pcr \ 123cdf0e10cSrcweir pdffilter \ 124cdf0e10cSrcweir placeware \ 125cdf0e10cSrcweir preload \ 126cdf0e10cSrcweir protocolhandler \ 127cdf0e10cSrcweir pythonloader \ 128cdf0e10cSrcweir pythonscript \ 129cdf0e10cSrcweir res \ 130cdf0e10cSrcweir rpt \ 131cdf0e10cSrcweir rptui \ 132cdf0e10cSrcweir rptxml \ 133cdf0e10cSrcweir sax \ 134cdf0e10cSrcweir sb \ 135cdf0e10cSrcweir sc \ 136cdf0e10cSrcweir scd \ 137cdf0e10cSrcweir scn \ 138cdf0e10cSrcweir scriptframe \ 139cdf0e10cSrcweir sd \ 140cdf0e10cSrcweir sdbc2 \ 141cdf0e10cSrcweir sdbt \ 142cdf0e10cSrcweir sdd \ 143cdf0e10cSrcweir simplecanvas \ 144cdf0e10cSrcweir slideshow \ 145cdf0e10cSrcweir sm \ 146cdf0e10cSrcweir smd \ 147cdf0e10cSrcweir spl \ 148cdf0e10cSrcweir srtrs1 \ 149cdf0e10cSrcweir stringresource \ 150cdf0e10cSrcweir svgfilter \ 151cdf0e10cSrcweir syssh \ 152cdf0e10cSrcweir t602filter \ 153cdf0e10cSrcweir tvhlp1 \ 154cdf0e10cSrcweir ucb1 \ 155cdf0e10cSrcweir ucpchelp1 \ 156cdf0e10cSrcweir ucpexpand1 \ 157cdf0e10cSrcweir ucpext \ 158cdf0e10cSrcweir ucpfile1 \ 159cdf0e10cSrcweir ucpftp1 \ 160cdf0e10cSrcweir ucphier1 \ 161cdf0e10cSrcweir ucppkg1 \ 162cdf0e10cSrcweir ucptdoc1 \ 163cdf0e10cSrcweir updatefeed \ 164cdf0e10cSrcweir updchk \ 165cdf0e10cSrcweir updchk.uno \ 166cdf0e10cSrcweir utl \ 167cdf0e10cSrcweir uui \ 168cdf0e10cSrcweir vbaevents \ 169cdf0e10cSrcweir vbaobj \ 170cdf0e10cSrcweir vclcanvas \ 171cdf0e10cSrcweir writerfilter \ 172cdf0e10cSrcweir xcr \ 173cdf0e10cSrcweir xmlfa \ 174cdf0e10cSrcweir xmlfd \ 175cdf0e10cSrcweir xmx \ 176cdf0e10cSrcweir xsltdlg \ 177cdf0e10cSrcweir xstor 178cdf0e10cSrcweir 179cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 180cdf0e10cSrcweirmy_components += component/vcl/vcl.macosx 181cdf0e10cSrcweir.ELSE 182cdf0e10cSrcweir.IF "$(OS)" == "WNT" 183cdf0e10cSrcweirmy_components += component/vcl/vcl.windows 184cdf0e10cSrcweir.ELSE 185cdf0e10cSrcweirmy_components += component/vcl/vcl.unx 186cdf0e10cSrcweir.ENDIF 187cdf0e10cSrcweir.ENDIF 188cdf0e10cSrcweir 189cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)" != "" 190cdf0e10cSrcweirmy_components += oooimprovement 191cdf0e10cSrcweir.END 192cdf0e10cSrcweir 1930ea1a209SEike Rathke.IF "$(DISABLE_SAXON)" == "" 1940ea1a209SEike Rathkemy_components += XSLTFilter.jar \ 1950ea1a209SEike Rathke xsltfilter 1960ea1a209SEike Rathke.END 1970ea1a209SEike Rathke 198a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HYPHEN)" == "YES" 1990ea1a209SEike Rathkemy_components += hyphen 2000ea1a209SEike Rathke.END 2010ea1a209SEike Rathke 202a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HUNSPELL)" == "YES" 203a44fea77SAriel Constenla-Hailemy_components += spell 2040ea1a209SEike Rathke.END 2050ea1a209SEike Rathke 2060bd633abSJürgen Schmidt.IF "$(SYSTEM_LIBWPD)" == "YES" 2070ea1a209SEike Rathkemy_components += wpft 2080ea1a209SEike Rathke.END 2090ea1a209SEike Rathke 210cdf0e10cSrcweir.IF "$(DISABLE_ATL)" == "" 211cdf0e10cSrcweirmy_components += emboleobj 212cdf0e10cSrcweir.END 213cdf0e10cSrcweir 214b78edfc1SJürgen Schmidt.IF "$(SYSTEM_NEON)" == "YES" 215cdf0e10cSrcweirmy_components += ucpdav1 216cdf0e10cSrcweir.END 217cdf0e10cSrcweir 21846dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE" 219cdf0e10cSrcweirmy_components += cairocanvas 220cdf0e10cSrcweir.END 221cdf0e10cSrcweir 222cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" != "" 223cdf0e10cSrcweirmy_components += gconfbe1 224cdf0e10cSrcweir.END 225cdf0e10cSrcweir 226cdf0e10cSrcweir.IF "$(ENABLE_GIO)" != "" 227cdf0e10cSrcweirmy_components += ucpgio 228cdf0e10cSrcweir.END 229cdf0e10cSrcweir 230cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)" != "" 231cdf0e10cSrcweirmy_components += ucpgvfs 232cdf0e10cSrcweir.END 233cdf0e10cSrcweir 234cdf0e10cSrcweir.IF "$(ENABLE_KAB)" != "" 235cdf0e10cSrcweirmy_components += kab1 236cdf0e10cSrcweir.END 237cdf0e10cSrcweir 238cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != "" 239cdf0e10cSrcweirmy_components += kdebe1 240cdf0e10cSrcweir.END 241cdf0e10cSrcweir 242cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != "" 243cdf0e10cSrcweirmy_components += kde4be1 244cdf0e10cSrcweir.END 245cdf0e10cSrcweir 24699425c2fSEike Rathke.IF "$(ENABLE_OPENGL)" == "TRUE" 247cdf0e10cSrcweirmy_components += ogltrans 248cdf0e10cSrcweir.END 249cdf0e10cSrcweir 250cdf0e10cSrcweir.IF "$(ENABLE_SVCTAGS)" == "YES" 251cdf0e10cSrcweirmy_components += productregistration.jar 252cdf0e10cSrcweir.END 253cdf0e10cSrcweir 254cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE" 255cdf0e10cSrcweirmy_components += \ 256cdf0e10cSrcweir LuceneHelpWrapper \ 257cdf0e10cSrcweir ScriptFramework \ 258cdf0e10cSrcweir ScriptProviderForJava \ 259cdf0e10cSrcweir XMergeBridge \ 260cdf0e10cSrcweir XSLTValidate \ 261cdf0e10cSrcweir agenda \ 262cdf0e10cSrcweir fax \ 263cdf0e10cSrcweir form \ 264cdf0e10cSrcweir hsqldb \ 265cdf0e10cSrcweir jdbc \ 266cdf0e10cSrcweir letter \ 267cdf0e10cSrcweir query \ 268cdf0e10cSrcweir report \ 269cdf0e10cSrcweir table \ 270cdf0e10cSrcweir web 2719ef65f0eSAndre Fischer.IF "$(ENABLE_BEANSHELL)" == "YES" 2729ef65f0eSAndre Fischermy_components += ScriptProviderForBeanShell 2739ef65f0eSAndre Fischer.END 2749ef65f0eSAndre Fischer.IF "$(ENABLE_JAVASCRIPT)" == "YES" 2759ef65f0eSAndre Fischermy_components += ScriptProviderForJavaScript 2769ef65f0eSAndre Fischer.END 277cdf0e10cSrcweir.END 278cdf0e10cSrcweir 279cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO" 280cdf0e10cSrcweirmy_components += \ 281cdf0e10cSrcweir bf_migratefilter \ 282cdf0e10cSrcweir bindet 283cdf0e10cSrcweir.END 284cdf0e10cSrcweir 285cdf0e10cSrcweir.IF "$(WITH_LDAP)" == "YES" 286cdf0e10cSrcweirmy_components += ldapbe2 287cdf0e10cSrcweir.END 288cdf0e10cSrcweir 289cdf0e10cSrcweir.IF "$(WITH_MOZILLA)" != "NO" 290cdf0e10cSrcweirmy_components += \ 291cdf0e10cSrcweir xmlsecurity \ 292cdf0e10cSrcweir xsec_fw \ 293cdf0e10cSrcweir xsec_xmlsec \ 294cdf0e10cSrcweir pl 295cdf0e10cSrcweir.END 296cdf0e10cSrcweir 297cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 298cdf0e10cSrcweirmy_components += \ 299cdf0e10cSrcweir avmediaQuickTime \ 300cdf0e10cSrcweir fps_aqua \ 301cdf0e10cSrcweir macab1 \ 302c4436845SJürgen Schmidt macbe1 \ 3032ee8c3d1SEike Rathke MacOSXSpell 3042ee8c3d1SEike Rathke.END 3052ee8c3d1SEike Rathke 306cdf0e10cSrcweir.IF "$(OS)" == "WNT" 307cdf0e10cSrcweirmy_components += \ 308cdf0e10cSrcweir ado \ 309cdf0e10cSrcweir dnd \ 310cdf0e10cSrcweir dtrans \ 311cdf0e10cSrcweir fop \ 312cdf0e10cSrcweir fps \ 313cdf0e10cSrcweir ftransl \ 314cdf0e10cSrcweir java_uno_accessbridge \ 315cdf0e10cSrcweir smplmail \ 316cdf0e10cSrcweir sysdtrans \ 317cdf0e10cSrcweir wininetbe1 318cdf0e10cSrcweir.END 319cdf0e10cSrcweir 320cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == "" 321cdf0e10cSrcweirmy_components += \ 322cdf0e10cSrcweir emser \ 323cdf0e10cSrcweir oleautobridge 324cdf0e10cSrcweir.END 325cdf0e10cSrcweir 326cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" 327cdf0e10cSrcweirmy_components += \ 328cdf0e10cSrcweir avmediawin \ 329cdf0e10cSrcweir directx9canvas \ 330cdf0e10cSrcweir gdipluscanvas 331cdf0e10cSrcweir.END 332cdf0e10cSrcweir 333cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != "" 334cdf0e10cSrcweirmy_components += directx5canvas 335cdf0e10cSrcweir.END 336cdf0e10cSrcweir 337cdf0e10cSrcweir.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \ 338cdf0e10cSrcweir ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT" 339cdf0e10cSrcweirmy_components += adabas 340cdf0e10cSrcweir.END 341cdf0e10cSrcweir 342cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(SYSTEM_MOZILLA)" != "YES" && \ 343cdf0e10cSrcweir "$(WITH_MOZILLA)" != "NO" 344cdf0e10cSrcweirmy_components += mozab 345cdf0e10cSrcweir.ELSE 346cdf0e10cSrcweirmy_components += mozbootstrap 347cdf0e10cSrcweir.END 348cdf0e10cSrcweir 349cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" 350cdf0e10cSrcweirmy_components += desktopbe1 351cdf0e10cSrcweir.END 352cdf0e10cSrcweir 353cdf0e10cSrcweir.IF "$(GTK_TWO_FOUR)" != "" 354cdf0e10cSrcweirmy_components += fps_gnome 355cdf0e10cSrcweir.END 356cdf0e10cSrcweir 357cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != "" 358cdf0e10cSrcweirmy_components += fps_kde4 359cdf0e10cSrcweir.END 360cdf0e10cSrcweir 361cdf0e10cSrcweir.IF "$(OS)" != "WNT" 362cdf0e10cSrcweirmy_components += cmdmail 363cdf0e10cSrcweir.END 364cdf0e10cSrcweir 365cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != "" 366cdf0e10cSrcweirmy_components += evoab 367cdf0e10cSrcweir.END 368cdf0e10cSrcweir 369cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != "" 370cdf0e10cSrcweirmy_components += avmediagst 371cdf0e10cSrcweir.END 372cdf0e10cSrcweir 373cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE" 374cdf0e10cSrcweirmy_components += avmedia.jar 375cdf0e10cSrcweir.END 376cdf0e10cSrcweir 377cdf0e10cSrcweirmy_ooo_components = mailmerge 378cdf0e10cSrcweir 379cdf0e10cSrcweir.INCLUDE: target.mk 380cdf0e10cSrcweir 381cdf0e10cSrcweirALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb 382cdf0e10cSrcweir 383cdf0e10cSrcweir$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 384cdf0e10cSrcweir $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 385cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 386cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 387cdf0e10cSrcweir 388cdf0e10cSrcweir$(MISC)/services.input : makefile.mk 389cdf0e10cSrcweir echo \ 390cdf0e10cSrcweir '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 391cdf0e10cSrcweir > $@ 392cdf0e10cSrcweir 393cdf0e10cSrcweir$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 394cdf0e10cSrcweir $(MISC)/ooo-services.input \ 395cdf0e10cSrcweir $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component") 396cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 397cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input 398cdf0e10cSrcweir 399cdf0e10cSrcweir$(MISC)/ooo-services.input : makefile.mk 400cdf0e10cSrcweir echo '<list>' \ 401cdf0e10cSrcweir '$(my_ooo_components:^"<filename>":+".component</filename>")' \ 402cdf0e10cSrcweir '</list>' > $@ 403