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 = \ 38910823aeSJürgen Schmidt acceptor \ 39910823aeSJürgen Schmidt binaryurp \ 40910823aeSJürgen Schmidt bootstrap \ 41910823aeSJürgen Schmidt connector \ 42910823aeSJürgen Schmidt introspection \ 43910823aeSJürgen Schmidt invocadapt \ 44910823aeSJürgen Schmidt invocation \ 45910823aeSJürgen Schmidt javaloader \ 46910823aeSJürgen Schmidt javavm \ 47910823aeSJürgen Schmidt juh \ 48910823aeSJürgen Schmidt namingservice \ 49910823aeSJürgen Schmidt proxyfac \ 50910823aeSJürgen Schmidt reflection \ 51910823aeSJürgen Schmidt stocservices \ 52910823aeSJürgen Schmidt streams \ 53910823aeSJürgen Schmidt textinstream \ 54910823aeSJürgen Schmidt textoutstream \ 55910823aeSJürgen Schmidt uuresolver \ 56cdf0e10cSrcweir abp \ 57cdf0e10cSrcweir adabasui \ 58cdf0e10cSrcweir analysis \ 59cdf0e10cSrcweir animcore \ 60cdf0e10cSrcweir avmedia \ 61cdf0e10cSrcweir basctl \ 62cdf0e10cSrcweir basprov \ 63cdf0e10cSrcweir bib \ 64cdf0e10cSrcweir cached1 \ 65cdf0e10cSrcweir calc \ 66cdf0e10cSrcweir canvasfactory \ 67cdf0e10cSrcweir chartcontroller \ 68cdf0e10cSrcweir chartmodel \ 69cdf0e10cSrcweir charttools \ 70cdf0e10cSrcweir chartview \ 71cdf0e10cSrcweir component/comphelper/util/comphelp \ 72b2b569f2SArmin Le Grand component/cui/util/cui \ 73ddde725dSArmin Le Grand component/drawinglayer/drawinglayer \ 74cdf0e10cSrcweir component/framework/util/fwk \ 75cdf0e10cSrcweir component/framework/util/fwl \ 76cdf0e10cSrcweir component/framework/util/fwm \ 77cdf0e10cSrcweir component/vbahelper/util/msforms \ 78cdf0e10cSrcweir component/sfx2/util/sfx \ 79cdf0e10cSrcweir component/sot/util/sot \ 80ddde725dSArmin Le Grand component/svgio/svgio \ 81cdf0e10cSrcweir component/svl/source/fsstor/fsstorage \ 82cdf0e10cSrcweir component/svl/source/passwordcontainer/passwordcontainer \ 83cdf0e10cSrcweir component/svl/util/svl \ 84cdf0e10cSrcweir component/svtools/source/hatchwindow/hatchwindowfactory \ 85cdf0e10cSrcweir component/svtools/util/svt \ 86cdf0e10cSrcweir component/svx/util/svx \ 87cdf0e10cSrcweir component/svx/util/svxcore \ 88cdf0e10cSrcweir component/svx/util/textconversiondlgs \ 89cdf0e10cSrcweir component/sw/util/msword \ 90cdf0e10cSrcweir component/sw/util/sw \ 91cdf0e10cSrcweir component/sw/util/swd \ 92cdf0e10cSrcweir component/sw/util/vbaswobj \ 932e2269f7SJürgen Schmidt component/toolkit/util/ootk \ 94cdf0e10cSrcweir component/unoxml/source/rdf/unordf \ 95cdf0e10cSrcweir component/unoxml/source/service/unoxml \ 96cdf0e10cSrcweir component/xmloff/source/transform/xof \ 97cdf0e10cSrcweir component/xmloff/util/xo \ 98cdf0e10cSrcweir configmgr \ 99cdf0e10cSrcweir ctl \ 100cdf0e10cSrcweir date \ 101cdf0e10cSrcweir dba \ 102cdf0e10cSrcweir dbase \ 103cdf0e10cSrcweir dbaxml \ 104cdf0e10cSrcweir dbmm \ 105cdf0e10cSrcweir dbp \ 106cdf0e10cSrcweir dbpool2 \ 107cdf0e10cSrcweir dbtools \ 108cdf0e10cSrcweir dbu \ 109cdf0e10cSrcweir deployment \ 110cdf0e10cSrcweir deploymentgui \ 111cdf0e10cSrcweir dlgprov \ 112cdf0e10cSrcweir embobj \ 113cdf0e10cSrcweir evtatt \ 114cdf0e10cSrcweir fastsax \ 115cdf0e10cSrcweir fileacc \ 116cdf0e10cSrcweir filterconfig1 \ 117cdf0e10cSrcweir flash \ 118cdf0e10cSrcweir flat \ 119cdf0e10cSrcweir for \ 120cdf0e10cSrcweir fpicker \ 121cdf0e10cSrcweir fps_office \ 122cdf0e10cSrcweir frm \ 123cdf0e10cSrcweir guesslang \ 124cdf0e10cSrcweir hwp \ 125cdf0e10cSrcweir i18npool \ 126cdf0e10cSrcweir i18nsearch \ 127cdf0e10cSrcweir lng \ 128a44fea77SAriel Constenla-Haile lnth \ 129cdf0e10cSrcweir localebe1 \ 130cdf0e10cSrcweir log \ 131910823aeSJürgen Schmidt mailmerge \ 132cdf0e10cSrcweir mcnttype \ 133cdf0e10cSrcweir migrationoo2 \ 134cdf0e10cSrcweir msfilter \ 135cdf0e10cSrcweir mysql \ 136cdf0e10cSrcweir odbc \ 137cdf0e10cSrcweir offacc \ 138cdf0e10cSrcweir oooimprovecore \ 139cdf0e10cSrcweir oox \ 140cdf0e10cSrcweir package2 \ 141cdf0e10cSrcweir pcr \ 142cdf0e10cSrcweir pdffilter \ 143cdf0e10cSrcweir placeware \ 144cdf0e10cSrcweir preload \ 145cdf0e10cSrcweir protocolhandler \ 146cdf0e10cSrcweir pythonloader \ 147cdf0e10cSrcweir pythonscript \ 148cdf0e10cSrcweir res \ 149cdf0e10cSrcweir rpt \ 150cdf0e10cSrcweir rptui \ 151cdf0e10cSrcweir rptxml \ 152cdf0e10cSrcweir sax \ 153cdf0e10cSrcweir sb \ 154cdf0e10cSrcweir sc \ 155cdf0e10cSrcweir scd \ 156cdf0e10cSrcweir scn \ 157cdf0e10cSrcweir scriptframe \ 158cdf0e10cSrcweir sd \ 159cdf0e10cSrcweir sdbc2 \ 160cdf0e10cSrcweir sdbt \ 161cdf0e10cSrcweir sdd \ 162cdf0e10cSrcweir simplecanvas \ 163cdf0e10cSrcweir slideshow \ 164cdf0e10cSrcweir sm \ 165cdf0e10cSrcweir smd \ 166cdf0e10cSrcweir spl \ 167cdf0e10cSrcweir srtrs1 \ 168cdf0e10cSrcweir stringresource \ 169cdf0e10cSrcweir svgfilter \ 170cdf0e10cSrcweir syssh \ 171cdf0e10cSrcweir t602filter \ 172cdf0e10cSrcweir tvhlp1 \ 173cdf0e10cSrcweir ucb1 \ 174cdf0e10cSrcweir ucpchelp1 \ 17559ddfc10SAndre Fischer ucpdav1 \ 176cdf0e10cSrcweir ucpexpand1 \ 177cdf0e10cSrcweir ucpext \ 178cdf0e10cSrcweir ucpfile1 \ 179cdf0e10cSrcweir ucpftp1 \ 180cdf0e10cSrcweir ucphier1 \ 181cdf0e10cSrcweir ucppkg1 \ 182cdf0e10cSrcweir ucptdoc1 \ 183cdf0e10cSrcweir updatefeed \ 184cdf0e10cSrcweir updchk \ 185cdf0e10cSrcweir utl \ 186cdf0e10cSrcweir uui \ 187cdf0e10cSrcweir vbaevents \ 188cdf0e10cSrcweir vbaobj \ 189cdf0e10cSrcweir vclcanvas \ 190cdf0e10cSrcweir writerfilter \ 191cdf0e10cSrcweir xcr \ 192cdf0e10cSrcweir xmlfa \ 193cdf0e10cSrcweir xmlfd \ 194cdf0e10cSrcweir xmx \ 195cdf0e10cSrcweir xsltdlg \ 196597a4c59SAriel Constenla-Haile xstor \ 19779e0a548SAriel Constenla-Haile PresentationMinimizer \ 19879e0a548SAriel Constenla-Haile PresenterScreen 199cdf0e10cSrcweir 200cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 201cdf0e10cSrcweirmy_components += component/vcl/vcl.macosx 202cdf0e10cSrcweir.ELSE 203168c4287SYuri Dario.IF "$(OS)" == "WNT" || "$(OS)" == "OS2" 204cdf0e10cSrcweirmy_components += component/vcl/vcl.windows 205cdf0e10cSrcweir.ELSE 206cdf0e10cSrcweirmy_components += component/vcl/vcl.unx 207cdf0e10cSrcweir.ENDIF 208cdf0e10cSrcweir.ENDIF 209cdf0e10cSrcweir 21035779863SAriel Constenla-Haile.IF "$(ENABLE_ONLINE_UPDATE)"=="YES" 21135779863SAriel Constenla-Hailemy_components += updchk.uno 21235779863SAriel Constenla-Haile.END 21335779863SAriel Constenla-Haile 214d2491125SOliver-Rainer Wittmann.IF "$(ENABLE_OOOIMPROVEMENT)" != "" 215cdf0e10cSrcweirmy_components += oooimprovement 216cdf0e10cSrcweir.END 217cdf0e10cSrcweir 21888bfee53SPedro Giffuni.IF "$(ENABLE_COINMP)"=="YES" 21988bfee53SPedro Giffunimy_components += solver 22088bfee53SPedro Giffuni.END 22188bfee53SPedro Giffuni 2220ea1a209SEike Rathke.IF "$(DISABLE_SAXON)" == "" 2230ea1a209SEike Rathkemy_components += XSLTFilter.jar \ 2240ea1a209SEike Rathke xsltfilter 2250ea1a209SEike Rathke.END 2260ea1a209SEike Rathke 227a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HYPHEN)" == "YES" 2280ea1a209SEike Rathkemy_components += hyphen 2290ea1a209SEike Rathke.END 2300ea1a209SEike Rathke 231a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HUNSPELL)" == "YES" 232a44fea77SAriel Constenla-Hailemy_components += spell 2330ea1a209SEike Rathke.END 2340ea1a209SEike Rathke 2350bd633abSJürgen Schmidt.IF "$(SYSTEM_LIBWPD)" == "YES" 2360ea1a209SEike Rathkemy_components += wpft 2370ea1a209SEike Rathke.END 2380ea1a209SEike Rathke 239cdf0e10cSrcweir.IF "$(DISABLE_ATL)" == "" 240cdf0e10cSrcweirmy_components += emboleobj 241cdf0e10cSrcweir.END 242cdf0e10cSrcweir 24346dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE" 244cdf0e10cSrcweirmy_components += cairocanvas 245cdf0e10cSrcweir.END 246cdf0e10cSrcweir 247cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" != "" 248cdf0e10cSrcweirmy_components += gconfbe1 249cdf0e10cSrcweir.END 250cdf0e10cSrcweir 251cdf0e10cSrcweir.IF "$(ENABLE_GIO)" != "" 252cdf0e10cSrcweirmy_components += ucpgio 253cdf0e10cSrcweir.END 254cdf0e10cSrcweir 255cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)" != "" 256cdf0e10cSrcweirmy_components += ucpgvfs 257cdf0e10cSrcweir.END 258cdf0e10cSrcweir 259cdf0e10cSrcweir.IF "$(ENABLE_KAB)" != "" 260cdf0e10cSrcweirmy_components += kab1 261cdf0e10cSrcweir.END 262cdf0e10cSrcweir 263cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != "" 264cdf0e10cSrcweirmy_components += kdebe1 265cdf0e10cSrcweir.END 266cdf0e10cSrcweir 267cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != "" 268cdf0e10cSrcweirmy_components += kde4be1 269cdf0e10cSrcweir.END 270cdf0e10cSrcweir 27199425c2fSEike Rathke.IF "$(ENABLE_OPENGL)" == "TRUE" 272cdf0e10cSrcweirmy_components += ogltrans 273cdf0e10cSrcweir.END 274cdf0e10cSrcweir 275cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE" 276cdf0e10cSrcweirmy_components += \ 277cdf0e10cSrcweir LuceneHelpWrapper \ 278cdf0e10cSrcweir ScriptFramework \ 279cdf0e10cSrcweir ScriptProviderForJava \ 280cdf0e10cSrcweir XMergeBridge \ 281cdf0e10cSrcweir XSLTValidate \ 282cdf0e10cSrcweir agenda \ 283cdf0e10cSrcweir fax \ 284cdf0e10cSrcweir form \ 285cdf0e10cSrcweir hsqldb \ 286cdf0e10cSrcweir jdbc \ 287cdf0e10cSrcweir letter \ 288cdf0e10cSrcweir query \ 289cdf0e10cSrcweir report \ 290cdf0e10cSrcweir table \ 291cdf0e10cSrcweir web 2929ef65f0eSAndre Fischer.IF "$(ENABLE_BEANSHELL)" == "YES" 2939ef65f0eSAndre Fischermy_components += ScriptProviderForBeanShell 2949ef65f0eSAndre Fischer.END 2959ef65f0eSAndre Fischer.IF "$(ENABLE_JAVASCRIPT)" == "YES" 2969ef65f0eSAndre Fischermy_components += ScriptProviderForJavaScript 2979ef65f0eSAndre Fischer.END 298cdf0e10cSrcweir.END 299cdf0e10cSrcweir 300cdf0e10cSrcweir.IF "$(WITH_LDAP)" == "YES" 301cdf0e10cSrcweirmy_components += ldapbe2 302cdf0e10cSrcweir.END 303cdf0e10cSrcweir 304cc99daadSHerbert Dürr.IF "$(ENABLE_NSS_MODULE)" != "NO" 305cdf0e10cSrcweirmy_components += \ 306cdf0e10cSrcweir xmlsecurity \ 307cdf0e10cSrcweir xsec_fw \ 3080b544e7eSArmin Le Grand xsec_xmlsec 309cdf0e10cSrcweir.END 310cdf0e10cSrcweir 311cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 312cdf0e10cSrcweirmy_components += \ 313cdf0e10cSrcweir fps_aqua \ 314cdf0e10cSrcweir macab1 \ 315c4436845SJürgen Schmidt macbe1 \ 3162ee8c3d1SEike Rathke MacOSXSpell 317*5a7504daSHerbert Dürr.IF "${MACOSX_DEPLOYMENT_TARGET:s/.//}"<"107" 318*5a7504daSHerbert Dürr my_components += avmediaQuickTime 319*5a7504daSHerbert Dürr.END 3202ee8c3d1SEike Rathke.END 3212ee8c3d1SEike Rathke 322cdf0e10cSrcweir.IF "$(OS)" == "WNT" 323cdf0e10cSrcweirmy_components += \ 324cdf0e10cSrcweir ado \ 325cdf0e10cSrcweir dnd \ 326cdf0e10cSrcweir dtrans \ 327cdf0e10cSrcweir fop \ 328cdf0e10cSrcweir fps \ 329cdf0e10cSrcweir ftransl \ 330cdf0e10cSrcweir java_uno_accessbridge \ 331ae77b8caSAriel Constenla-Haile sysmail \ 332cdf0e10cSrcweir sysdtrans \ 333df906e24SSteve Yin winaccessibility \ 334cdf0e10cSrcweir wininetbe1 335cdf0e10cSrcweir.END 336cdf0e10cSrcweir 337168c4287SYuri Dario.IF "$(OS)" == "OS2" 338168c4287SYuri Dariomy_components += \ 339168c4287SYuri Dario dtrans \ 340168c4287SYuri Dario sysdtrans 341168c4287SYuri Dario.END 342168c4287SYuri Dario 343cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == "" 344cdf0e10cSrcweirmy_components += \ 345cdf0e10cSrcweir emser \ 346cdf0e10cSrcweir oleautobridge 347cdf0e10cSrcweir.END 348cdf0e10cSrcweir 349cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" 350cdf0e10cSrcweirmy_components += \ 351cdf0e10cSrcweir avmediawin \ 352cdf0e10cSrcweir directx9canvas \ 353cdf0e10cSrcweir gdipluscanvas 354cdf0e10cSrcweir.END 355cdf0e10cSrcweir 356cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != "" 357cdf0e10cSrcweirmy_components += directx5canvas 358cdf0e10cSrcweir.END 359cdf0e10cSrcweir 360cdf0e10cSrcweir.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \ 361cdf0e10cSrcweir ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT" 362cdf0e10cSrcweirmy_components += adabas 363cdf0e10cSrcweir.END 364cdf0e10cSrcweir 36561aaf8b6SYuri Dario.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(OS)" != "OS2" 366cdf0e10cSrcweirmy_components += desktopbe1 367cdf0e10cSrcweir.END 368cdf0e10cSrcweir 369cdf0e10cSrcweir.IF "$(GTK_TWO_FOUR)" != "" 370cdf0e10cSrcweirmy_components += fps_gnome 371cdf0e10cSrcweir.END 372cdf0e10cSrcweir 373cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != "" 374cdf0e10cSrcweirmy_components += fps_kde4 375cdf0e10cSrcweir.END 376cdf0e10cSrcweir 377cdf0e10cSrcweir.IF "$(OS)" != "WNT" 378cdf0e10cSrcweirmy_components += cmdmail 379cdf0e10cSrcweir.END 380cdf0e10cSrcweir 381cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != "" 382cdf0e10cSrcweirmy_components += evoab 383cdf0e10cSrcweir.END 384cdf0e10cSrcweir 385cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != "" 386cdf0e10cSrcweirmy_components += avmediagst 387cdf0e10cSrcweir.END 388cdf0e10cSrcweir 389cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE" 390cdf0e10cSrcweirmy_components += avmedia.jar 391cdf0e10cSrcweir.END 392cdf0e10cSrcweir 393cdf0e10cSrcweirmy_ooo_components = mailmerge 394cdf0e10cSrcweir 395cdf0e10cSrcweir.INCLUDE: target.mk 396cdf0e10cSrcweir 397cdf0e10cSrcweirALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb 398cdf0e10cSrcweir 399cdf0e10cSrcweir$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 400cdf0e10cSrcweir $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 401cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 402cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 403cdf0e10cSrcweir 404cdf0e10cSrcweir$(MISC)/services.input : makefile.mk 405cdf0e10cSrcweir echo \ 406cdf0e10cSrcweir '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 407cdf0e10cSrcweir > $@ 408cdf0e10cSrcweir 409cdf0e10cSrcweir$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 410cdf0e10cSrcweir $(MISC)/ooo-services.input \ 411cdf0e10cSrcweir $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component") 412cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 413cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input 414cdf0e10cSrcweir 415cdf0e10cSrcweir$(MISC)/ooo-services.input : makefile.mk 416cdf0e10cSrcweir echo '<list>' \ 417cdf0e10cSrcweir '$(my_ooo_components:^"<filename>":+".component</filename>")' \ 418cdf0e10cSrcweir '</list>' > $@ 419