1cdf0e10cSrcweir#************************************************************************* 2cdf0e10cSrcweir# 3cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4cdf0e10cSrcweir# 5cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates. 6cdf0e10cSrcweir# 7cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8cdf0e10cSrcweir# 9cdf0e10cSrcweir# This file is part of OpenOffice.org. 10cdf0e10cSrcweir# 11cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14cdf0e10cSrcweir# 15cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20cdf0e10cSrcweir# 21cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25cdf0e10cSrcweir# 26cdf0e10cSrcweir#***********************************************************************/ 27cdf0e10cSrcweir 28cdf0e10cSrcweirPRJ = .. 29cdf0e10cSrcweirPRJNAME = postprocess 30cdf0e10cSrcweirTARGET = packcomponents 31cdf0e10cSrcweir 32cdf0e10cSrcweir.INCLUDE: settings.mk 33cdf0e10cSrcweir 34cdf0e10cSrcweir#TODO (copied from scp2/source/ooo/makefile.mk): 35cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_GTK)" != "" 36cdf0e10cSrcweirPKGCONFIG_MODULES=gtk+-2.0 37cdf0e10cSrcweir.INCLUDE: pkg_config.mk 38cdf0e10cSrcweirGTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES) 39cdf0e10cSrcweir.END 40cdf0e10cSrcweir 41cdf0e10cSrcweirmy_components = \ 42cdf0e10cSrcweir abp \ 43cdf0e10cSrcweir adabasui \ 44cdf0e10cSrcweir analysis \ 45cdf0e10cSrcweir animcore \ 46cdf0e10cSrcweir avmedia \ 47cdf0e10cSrcweir basctl \ 48cdf0e10cSrcweir basprov \ 49cdf0e10cSrcweir bib \ 50cdf0e10cSrcweir cached1 \ 51cdf0e10cSrcweir calc \ 52cdf0e10cSrcweir canvasfactory \ 53cdf0e10cSrcweir chartcontroller \ 54cdf0e10cSrcweir chartmodel \ 55cdf0e10cSrcweir charttools \ 56cdf0e10cSrcweir chartview \ 57cdf0e10cSrcweir component/comphelper/util/comphelp \ 58cdf0e10cSrcweir component/framework/util/fwk \ 59cdf0e10cSrcweir component/framework/util/fwl \ 60cdf0e10cSrcweir component/framework/util/fwm \ 61cdf0e10cSrcweir component/vbahelper/util/msforms \ 62cdf0e10cSrcweir component/sfx2/util/sfx \ 63cdf0e10cSrcweir component/sot/util/sot \ 64cdf0e10cSrcweir component/svl/source/fsstor/fsstorage \ 65cdf0e10cSrcweir component/svl/source/passwordcontainer/passwordcontainer \ 66cdf0e10cSrcweir component/svl/util/svl \ 67cdf0e10cSrcweir component/svtools/source/hatchwindow/hatchwindowfactory \ 68cdf0e10cSrcweir component/svtools/source/productregistration/productregistration.uno \ 69cdf0e10cSrcweir component/svtools/util/svt \ 70cdf0e10cSrcweir component/svx/util/svx \ 71cdf0e10cSrcweir component/svx/util/svxcore \ 72cdf0e10cSrcweir component/svx/util/textconversiondlgs \ 73cdf0e10cSrcweir component/sw/util/msword \ 74cdf0e10cSrcweir component/sw/util/sw \ 75cdf0e10cSrcweir component/sw/util/swd \ 76cdf0e10cSrcweir component/sw/util/vbaswobj \ 77cdf0e10cSrcweir component/toolkit/util/tk \ 78cdf0e10cSrcweir component/unoxml/source/rdf/unordf \ 79cdf0e10cSrcweir component/unoxml/source/service/unoxml \ 80cdf0e10cSrcweir component/xmloff/source/transform/xof \ 81cdf0e10cSrcweir component/xmloff/util/xo \ 82cdf0e10cSrcweir configmgr \ 83cdf0e10cSrcweir ctl \ 84cdf0e10cSrcweir date \ 85cdf0e10cSrcweir dba \ 86cdf0e10cSrcweir dbase \ 87cdf0e10cSrcweir dbaxml \ 88cdf0e10cSrcweir dbmm \ 89cdf0e10cSrcweir dbp \ 90cdf0e10cSrcweir dbpool2 \ 91cdf0e10cSrcweir dbtools \ 92cdf0e10cSrcweir dbu \ 93cdf0e10cSrcweir deployment \ 94cdf0e10cSrcweir deploymentgui \ 95cdf0e10cSrcweir dlgprov \ 96cdf0e10cSrcweir embobj \ 97cdf0e10cSrcweir evtatt \ 98cdf0e10cSrcweir fastsax \ 99cdf0e10cSrcweir fileacc \ 100cdf0e10cSrcweir filterconfig1 \ 101cdf0e10cSrcweir flash \ 102cdf0e10cSrcweir flat \ 103cdf0e10cSrcweir for \ 104cdf0e10cSrcweir fpicker \ 105cdf0e10cSrcweir fps_office \ 106cdf0e10cSrcweir frm \ 107cdf0e10cSrcweir guesslang \ 108cdf0e10cSrcweir hwp \ 109cdf0e10cSrcweir i18npool \ 110cdf0e10cSrcweir i18nsearch \ 111cdf0e10cSrcweir lng \ 112a44fea77SAriel Constenla-Haile lnth \ 113cdf0e10cSrcweir localebe1 \ 114cdf0e10cSrcweir log \ 115cdf0e10cSrcweir mcnttype \ 116cdf0e10cSrcweir migrationoo2 \ 117cdf0e10cSrcweir msfilter \ 118cdf0e10cSrcweir mysql \ 119cdf0e10cSrcweir odbc \ 120cdf0e10cSrcweir offacc \ 121cdf0e10cSrcweir oooimprovecore \ 122cdf0e10cSrcweir oox \ 123cdf0e10cSrcweir package2 \ 124cdf0e10cSrcweir pcr \ 125cdf0e10cSrcweir pdffilter \ 126cdf0e10cSrcweir placeware \ 127cdf0e10cSrcweir preload \ 128cdf0e10cSrcweir protocolhandler \ 129cdf0e10cSrcweir pythonloader \ 130cdf0e10cSrcweir pythonscript \ 131cdf0e10cSrcweir res \ 132cdf0e10cSrcweir rpt \ 133cdf0e10cSrcweir rptui \ 134cdf0e10cSrcweir rptxml \ 135cdf0e10cSrcweir sax \ 136cdf0e10cSrcweir sb \ 137cdf0e10cSrcweir sc \ 138cdf0e10cSrcweir scd \ 139cdf0e10cSrcweir scn \ 140cdf0e10cSrcweir scriptframe \ 141cdf0e10cSrcweir sd \ 142cdf0e10cSrcweir sdbc2 \ 143cdf0e10cSrcweir sdbt \ 144cdf0e10cSrcweir sdd \ 145cdf0e10cSrcweir simplecanvas \ 146cdf0e10cSrcweir slideshow \ 147cdf0e10cSrcweir sm \ 148cdf0e10cSrcweir smd \ 149cdf0e10cSrcweir spl \ 150cdf0e10cSrcweir srtrs1 \ 151cdf0e10cSrcweir stringresource \ 152cdf0e10cSrcweir svgfilter \ 153cdf0e10cSrcweir syssh \ 154cdf0e10cSrcweir t602filter \ 155cdf0e10cSrcweir tvhlp1 \ 156cdf0e10cSrcweir ucb1 \ 157cdf0e10cSrcweir ucpchelp1 \ 158cdf0e10cSrcweir ucpexpand1 \ 159cdf0e10cSrcweir ucpext \ 160cdf0e10cSrcweir ucpfile1 \ 161cdf0e10cSrcweir ucpftp1 \ 162cdf0e10cSrcweir ucphier1 \ 163cdf0e10cSrcweir ucppkg1 \ 164cdf0e10cSrcweir ucptdoc1 \ 165cdf0e10cSrcweir updatefeed \ 166cdf0e10cSrcweir updchk \ 167cdf0e10cSrcweir updchk.uno \ 168cdf0e10cSrcweir utl \ 169cdf0e10cSrcweir uui \ 170cdf0e10cSrcweir vbaevents \ 171cdf0e10cSrcweir vbaobj \ 172cdf0e10cSrcweir vclcanvas \ 173cdf0e10cSrcweir writerfilter \ 174cdf0e10cSrcweir xcr \ 175cdf0e10cSrcweir xmlfa \ 176cdf0e10cSrcweir xmlfd \ 177cdf0e10cSrcweir xmx \ 178cdf0e10cSrcweir xsltdlg \ 179cdf0e10cSrcweir xstor 180cdf0e10cSrcweir 181cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 182cdf0e10cSrcweirmy_components += component/vcl/vcl.macosx 183cdf0e10cSrcweir.ELSE 184cdf0e10cSrcweir.IF "$(OS)" == "WNT" 185cdf0e10cSrcweirmy_components += component/vcl/vcl.windows 186cdf0e10cSrcweir.ELSE 187cdf0e10cSrcweirmy_components += component/vcl/vcl.unx 188cdf0e10cSrcweir.ENDIF 189cdf0e10cSrcweir.ENDIF 190cdf0e10cSrcweir 191cdf0e10cSrcweir.IF "$(BUILD_SPECIAL)" != "" 192cdf0e10cSrcweirmy_components += oooimprovement 193cdf0e10cSrcweir.END 194cdf0e10cSrcweir 1950ea1a209SEike Rathke.IF "$(DISABLE_SAXON)" == "" 1960ea1a209SEike Rathkemy_components += XSLTFilter.jar \ 1970ea1a209SEike Rathke xsltfilter 1980ea1a209SEike Rathke.END 1990ea1a209SEike Rathke 200a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HYPHEN)" == "YES" 2010ea1a209SEike Rathkemy_components += hyphen 2020ea1a209SEike Rathke.END 2030ea1a209SEike Rathke 204a44fea77SAriel Constenla-Haile.IF "$(ENABLE_HUNSPELL)" == "YES" 205a44fea77SAriel Constenla-Hailemy_components += spell 2060ea1a209SEike Rathke.END 2070ea1a209SEike Rathke 2080bd633abSJürgen Schmidt.IF "$(SYSTEM_LIBWPD)" == "YES" 2090ea1a209SEike Rathkemy_components += wpft 2100ea1a209SEike Rathke.END 2110ea1a209SEike Rathke 212cdf0e10cSrcweir.IF "$(DISABLE_ATL)" == "" 213cdf0e10cSrcweirmy_components += emboleobj 214cdf0e10cSrcweir.END 215cdf0e10cSrcweir 216b78edfc1SJürgen Schmidt.IF "$(SYSTEM_NEON)" == "YES" 217cdf0e10cSrcweirmy_components += ucpdav1 218cdf0e10cSrcweir.END 219cdf0e10cSrcweir 22046dacce6SMichael Stahl.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE" 221cdf0e10cSrcweirmy_components += cairocanvas 222cdf0e10cSrcweir.END 223cdf0e10cSrcweir 224cdf0e10cSrcweir.IF "$(ENABLE_GCONF)" != "" 225cdf0e10cSrcweirmy_components += gconfbe1 226cdf0e10cSrcweir.END 227cdf0e10cSrcweir 228cdf0e10cSrcweir.IF "$(ENABLE_GIO)" != "" 229cdf0e10cSrcweirmy_components += ucpgio 230cdf0e10cSrcweir.END 231cdf0e10cSrcweir 232cdf0e10cSrcweir.IF "$(ENABLE_GNOMEVFS)" != "" 233cdf0e10cSrcweirmy_components += ucpgvfs 234cdf0e10cSrcweir.END 235cdf0e10cSrcweir 236cdf0e10cSrcweir.IF "$(ENABLE_KAB)" != "" 237cdf0e10cSrcweirmy_components += kab1 238cdf0e10cSrcweir.END 239cdf0e10cSrcweir 240cdf0e10cSrcweir.IF "$(ENABLE_KDE)" != "" 241cdf0e10cSrcweirmy_components += kdebe1 242cdf0e10cSrcweir.END 243cdf0e10cSrcweir 244cdf0e10cSrcweir.IF "$(ENABLE_KDE4)" != "" 245cdf0e10cSrcweirmy_components += kde4be1 246cdf0e10cSrcweir.END 247cdf0e10cSrcweir 24899425c2fSEike Rathke.IF "$(ENABLE_OPENGL)" == "TRUE" 249cdf0e10cSrcweirmy_components += ogltrans 250cdf0e10cSrcweir.END 251cdf0e10cSrcweir 252cdf0e10cSrcweir.IF "$(ENABLE_SVCTAGS)" == "YES" 253cdf0e10cSrcweirmy_components += productregistration.jar 254cdf0e10cSrcweir.END 255cdf0e10cSrcweir 256cdf0e10cSrcweir.IF "$(SOLAR_JAVA)" == "TRUE" 257cdf0e10cSrcweirmy_components += \ 258cdf0e10cSrcweir LuceneHelpWrapper \ 259cdf0e10cSrcweir ScriptFramework \ 260cdf0e10cSrcweir ScriptProviderForBeanShell \ 261cdf0e10cSrcweir ScriptProviderForJava \ 262cdf0e10cSrcweir ScriptProviderForJavaScript \ 263cdf0e10cSrcweir XMergeBridge \ 264cdf0e10cSrcweir XSLTValidate \ 265cdf0e10cSrcweir agenda \ 266cdf0e10cSrcweir fax \ 267cdf0e10cSrcweir form \ 268cdf0e10cSrcweir hsqldb \ 269cdf0e10cSrcweir jdbc \ 270cdf0e10cSrcweir letter \ 271cdf0e10cSrcweir query \ 272cdf0e10cSrcweir report \ 273cdf0e10cSrcweir table \ 274cdf0e10cSrcweir web 275cdf0e10cSrcweir.END 276cdf0e10cSrcweir 277cdf0e10cSrcweir.IF "$(WITH_BINFILTER)" != "NO" 278cdf0e10cSrcweirmy_components += \ 279cdf0e10cSrcweir bf_migratefilter \ 280cdf0e10cSrcweir bindet 281cdf0e10cSrcweir.END 282cdf0e10cSrcweir 283cdf0e10cSrcweir.IF "$(WITH_LDAP)" == "YES" 284cdf0e10cSrcweirmy_components += ldapbe2 285cdf0e10cSrcweir.END 286cdf0e10cSrcweir 287cdf0e10cSrcweir.IF "$(WITH_MOZILLA)" != "NO" 288cdf0e10cSrcweirmy_components += \ 289cdf0e10cSrcweir xmlsecurity \ 290cdf0e10cSrcweir xsec_fw \ 291cdf0e10cSrcweir xsec_xmlsec \ 292cdf0e10cSrcweir pl 293cdf0e10cSrcweir.END 294cdf0e10cSrcweir 295cdf0e10cSrcweir.IF "$(OS)" == "MACOSX" 296cdf0e10cSrcweirmy_components += \ 297cdf0e10cSrcweir avmediaQuickTime \ 298cdf0e10cSrcweir fps_aqua \ 299cdf0e10cSrcweir macab1 \ 300*c4436845SJürgen Schmidt macbe1 \ 3012ee8c3d1SEike Rathke MacOSXSpell 3022ee8c3d1SEike Rathke.END 3032ee8c3d1SEike Rathke 304cdf0e10cSrcweir.IF "$(OS)" == "WNT" 305cdf0e10cSrcweirmy_components += \ 306cdf0e10cSrcweir ado \ 307cdf0e10cSrcweir dnd \ 308cdf0e10cSrcweir dtrans \ 309cdf0e10cSrcweir fop \ 310cdf0e10cSrcweir fps \ 311cdf0e10cSrcweir ftransl \ 312cdf0e10cSrcweir java_uno_accessbridge \ 313cdf0e10cSrcweir smplmail \ 314cdf0e10cSrcweir sysdtrans \ 315cdf0e10cSrcweir wininetbe1 316cdf0e10cSrcweir.END 317cdf0e10cSrcweir 318cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == "" 319cdf0e10cSrcweirmy_components += \ 320cdf0e10cSrcweir emser \ 321cdf0e10cSrcweir oleautobridge 322cdf0e10cSrcweir.END 323cdf0e10cSrcweir 324cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" 325cdf0e10cSrcweirmy_components += \ 326cdf0e10cSrcweir avmediawin \ 327cdf0e10cSrcweir directx9canvas \ 328cdf0e10cSrcweir gdipluscanvas 329cdf0e10cSrcweir.END 330cdf0e10cSrcweir 331cdf0e10cSrcweir.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != "" 332cdf0e10cSrcweirmy_components += directx5canvas 333cdf0e10cSrcweir.END 334cdf0e10cSrcweir 335cdf0e10cSrcweir.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \ 336cdf0e10cSrcweir ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT" 337cdf0e10cSrcweirmy_components += adabas 338cdf0e10cSrcweir.END 339cdf0e10cSrcweir 340cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(SYSTEM_MOZILLA)" != "YES" && \ 341cdf0e10cSrcweir "$(WITH_MOZILLA)" != "NO" 342cdf0e10cSrcweirmy_components += mozab 343cdf0e10cSrcweir.ELSE 344cdf0e10cSrcweirmy_components += mozbootstrap 345cdf0e10cSrcweir.END 346cdf0e10cSrcweir 347cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" 348cdf0e10cSrcweirmy_components += desktopbe1 349cdf0e10cSrcweir.END 350cdf0e10cSrcweir 351cdf0e10cSrcweir.IF "$(GTK_TWO_FOUR)" != "" 352cdf0e10cSrcweirmy_components += fps_gnome 353cdf0e10cSrcweir.END 354cdf0e10cSrcweir 355cdf0e10cSrcweir.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != "" 356cdf0e10cSrcweirmy_components += fps_kde4 357cdf0e10cSrcweir.END 358cdf0e10cSrcweir 359cdf0e10cSrcweir.IF "$(OS)" != "WNT" 360cdf0e10cSrcweirmy_components += cmdmail 361cdf0e10cSrcweir.END 362cdf0e10cSrcweir 363cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != "" 364cdf0e10cSrcweirmy_components += evoab 365cdf0e10cSrcweir.END 366cdf0e10cSrcweir 367cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != "" 368cdf0e10cSrcweirmy_components += avmediagst 369cdf0e10cSrcweir.END 370cdf0e10cSrcweir 371cdf0e10cSrcweir.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE" 372cdf0e10cSrcweirmy_components += avmedia.jar 373cdf0e10cSrcweir.END 374cdf0e10cSrcweir 375cdf0e10cSrcweirmy_ooo_components = mailmerge 376cdf0e10cSrcweir 377cdf0e10cSrcweir.INCLUDE: target.mk 378cdf0e10cSrcweir 379cdf0e10cSrcweirALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb 380cdf0e10cSrcweir 381cdf0e10cSrcweir$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 382cdf0e10cSrcweir $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 383cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 384cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 385cdf0e10cSrcweir 386cdf0e10cSrcweir$(MISC)/services.input : makefile.mk 387cdf0e10cSrcweir echo \ 388cdf0e10cSrcweir '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 389cdf0e10cSrcweir > $@ 390cdf0e10cSrcweir 391cdf0e10cSrcweir$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 392cdf0e10cSrcweir $(MISC)/ooo-services.input \ 393cdf0e10cSrcweir $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component") 394cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 395cdf0e10cSrcweir $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input 396cdf0e10cSrcweir 397cdf0e10cSrcweir$(MISC)/ooo-services.input : makefile.mk 398cdf0e10cSrcweir echo '<list>' \ 399cdf0e10cSrcweir '$(my_ooo_components:^"<filename>":+".component</filename>")' \ 400cdf0e10cSrcweir '</list>' > $@ 401