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 = packcomponents 27 28.INCLUDE: settings.mk 29 30#TODO (copied from scp2/source/ooo/makefile.mk): 31.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_GTK)" != "" 32PKGCONFIG_MODULES=gtk+-2.0 33.INCLUDE: pkg_config.mk 34GTK_TWO_FOUR=$(shell @+-$(PKG_CONFIG) --exists 'gtk+-2.0 >= 2.4.0' && echo YES) 35.END 36 37my_components = \ 38 bootstrap \ 39 introspection \ 40 invocadapt \ 41 invocation \ 42 javaloader \ 43 javavm \ 44 namingservice \ 45 proxyfac \ 46 reflection \ 47 stocservices \ 48 abp \ 49 analysis \ 50 avmedia \ 51 basctl \ 52 basprov \ 53 bib \ 54 cached1 \ 55 calc \ 56 chartcontroller \ 57 chartmodel \ 58 charttools \ 59 chartview \ 60 component/animations/source/animcore/animcore \ 61 component/binaryurp/source/binaryurp \ 62 component/canvas/source/factory/canvasfactory \ 63 component/canvas/source/simplecanvas/simplecanvas \ 64 component/canvas/source/vcl/vclcanvas \ 65 component/comphelper/util/comphelp \ 66 component/configmgr/source/configmgr \ 67 component/cui/util/cui \ 68 component/drawinglayer/drawinglayer \ 69 component/dbaccess/source/ext/adabas/adabasui \ 70 component/dbaccess/source/ext/macromigration/dbmm \ 71 component/dbaccess/source/filter/xml/dbaxml \ 72 component/dbaccess/util/dba \ 73 component/dbaccess/util/dbu \ 74 component/dbaccess/util/sdbt \ 75 component/eventattacher/source/evtatt \ 76 component/fileaccess/util/fileacc \ 77 component/formula/util/for \ 78 component/framework/util/fwk \ 79 component/framework/util/fwl \ 80 component/framework/util/fwm \ 81 component/io/source/acceptor/acceptor \ 82 component/io/source/connector/connector \ 83 component/io/source/stm/streams \ 84 component/io/source/TextInputStream/textinstream \ 85 component/io/source/TextOutputStream/textoutstream \ 86 component/javaunohelper/util/juh \ 87 component/linguistic/source/lng \ 88 component/oox/util/oox \ 89 component/package/source/xstor/xstor \ 90 component/package/util/package2 \ 91 component/reportdesign/util/rptxml \ 92 component/reportdesign/util/rpt \ 93 component/reportdesign/util/rptui \ 94 component/vbahelper/util/msforms \ 95 component/remotebridges/source/unourl_resolver/uuresolver \ 96 component/sax/source/expatwrap/expwrap \ 97 component/sax/source/fastparser/fastsax \ 98 component/sd/util/sd \ 99 component/sd/util/sdd \ 100 component/sfx2/util/sfx \ 101 component/sot/util/sot \ 102 component/svgio/svgio \ 103 component/starmath/util/sm \ 104 component/starmath/util/smd \ 105 component/svl/source/fsstor/fsstorage \ 106 component/svl/source/passwordcontainer/passwordcontainer \ 107 component/svl/util/svl \ 108 component/svtools/source/hatchwindow/hatchwindowfactory \ 109 component/svtools/util/svt \ 110 component/svx/util/svx \ 111 component/svx/util/svxcore \ 112 component/svx/util/textconversiondlgs \ 113 component/sw/util/msword \ 114 component/sw/util/sw \ 115 component/sw/util/swd \ 116 component/sw/util/vbaswobj \ 117 component/unotools/util/utl \ 118 component/uui/util/uui \ 119 component/toolkit/util/ootk \ 120 component/unoxml/source/rdf/unordf \ 121 component/unoxml/source/service/unoxml \ 122 component/writerfilter/util/writerfilter \ 123 component/xmloff/source/transform/xof \ 124 component/xmloff/util/xo \ 125 component/xmlscript/util/xcr \ 126 ctl \ 127 date \ 128 dbase \ 129 dbp \ 130 dbpool2 \ 131 dbtools \ 132 deployment \ 133 deploymentgui \ 134 dlgprov \ 135 embobj \ 136 filterconfig1 \ 137 flash \ 138 flat \ 139 fpicker \ 140 fps_office \ 141 frm \ 142 guesslang \ 143 i18npool \ 144 i18nsearch \ 145 lnth \ 146 localebe1 \ 147 log \ 148 mailmerge \ 149 mcnttype \ 150 migrationoo2 \ 151 msfilter \ 152 mysql \ 153 odbc \ 154 offacc \ 155 oooimprovecore \ 156 pcr \ 157 pdffilter \ 158 placeware \ 159 preload \ 160 protocolhandler \ 161 pythonloader \ 162 pythonscript \ 163 res \ 164 sb \ 165 sc \ 166 scd \ 167 scn \ 168 scriptframe \ 169 sdbc2 \ 170 slideshow \ 171 spl \ 172 srtrs1 \ 173 stringresource \ 174 svgfilter \ 175 syssh \ 176 t602filter \ 177 tvhlp1 \ 178 ucb1 \ 179 ucpchelp1 \ 180 ucpdav1 \ 181 ucpexpand1 \ 182 ucpext \ 183 ucpfile1 \ 184 ucpftp1 \ 185 ucphier1 \ 186 ucppkg1 \ 187 ucptdoc1 \ 188 updatefeed \ 189 updchk \ 190 vbaevents \ 191 vbaobj \ 192 xmlfa \ 193 xmlfd \ 194 xmx \ 195 xsltdlg \ 196 PresentationMinimizer \ 197 PresenterScreen 198 199.IF "$(OS)" == "MACOSX" 200my_components += component/vcl/vcl.macosx 201.ELSE 202.IF "$(OS)" == "WNT" || "$(OS)" == "OS2" 203my_components += component/vcl/vcl.windows 204.ELSE 205my_components += component/vcl/vcl.unx 206.ENDIF 207.ENDIF 208 209.IF "$(ENABLE_ONLINE_UPDATE)"=="YES" 210my_components += updchk.uno 211.END 212 213.IF "$(OS)" != "WNT" && "$(OS)" != "OS2" 214my_components += mozbootstrap 215.END 216 217.IF "$(ENABLE_OOOIMPROVEMENT)" != "" 218my_components += oooimprovement 219.END 220 221.IF "$(ENABLE_COINMP)"=="YES" 222my_components += solver 223.END 224 225.IF "$(DISABLE_SAXON)" == "" 226my_components += XSLTFilter.jar \ 227 xsltfilter 228.END 229 230.IF "$(ENABLE_HYPHEN)" == "YES" 231my_components += hyphen 232.END 233 234.IF "$(ENABLE_HUNSPELL)" == "YES" 235my_components += spell 236.END 237 238.IF "$(SYSTEM_LIBWPD)" == "YES" 239my_components += wpft 240.END 241 242.IF "$(DISABLE_ATL)" == "" 243my_components += emboleobj 244.END 245 246.IF "$(ENABLE_CAIRO_CANVAS)" == "TRUE" 247my_components += component/canvas/source/cairo/cairocanvas 248.END 249 250.IF "$(ENABLE_GCONF)" != "" 251my_components += gconfbe1 252.END 253 254.IF "$(ENABLE_GIO)" != "" 255my_components += ucpgio 256.END 257 258.IF "$(ENABLE_GNOMEVFS)" != "" 259my_components += ucpgvfs 260.END 261 262.IF "$(ENABLE_KAB)" != "" 263my_components += kab1 264.END 265 266.IF "$(ENABLE_KDE)" != "" 267my_components += kdebe1 268.END 269 270.IF "$(ENABLE_KDE4)" != "" 271my_components += kde4be1 272.END 273 274.IF "$(ENABLE_OPENGL)" == "TRUE" 275my_components += ogltrans 276.END 277 278.IF "$(SOLAR_JAVA)" == "TRUE" 279my_components += \ 280 LuceneHelpWrapper \ 281 ScriptFramework \ 282 ScriptProviderForJava \ 283 XMergeBridge \ 284 XSLTValidate \ 285 component/wizards/com/sun/star/wizards/agenda/agenda \ 286 component/wizards/com/sun/star/wizards/fax/fax \ 287 component/wizards/com/sun/star/wizards/form/form \ 288 hsqldb \ 289 jdbc \ 290 component/wizards/com/sun/star/wizards/letter/letter \ 291 component/wizards/com/sun/star/wizards/query/query \ 292 component/wizards/com/sun/star/wizards/report/report \ 293 component/wizards/com/sun/star/wizards/table/table \ 294 component/wizards/com/sun/star/wizards/web/web 295.IF "$(ENABLE_BEANSHELL)" == "YES" 296my_components += ScriptProviderForBeanShell 297.END 298.IF "$(ENABLE_JAVASCRIPT)" == "YES" 299my_components += ScriptProviderForJavaScript 300.END 301.END 302 303.IF "$(WITH_LDAP)" == "YES" 304my_components += ldapbe2 305.END 306 307.IF "$(ENABLE_NSS_MODULE)" != "NO" 308my_components += \ 309 xmlsecurity \ 310 xsec_fw \ 311 xsec_xmlsec 312.END 313 314.IF "$(OS)" == "MACOSX" 315my_components += \ 316 avmediaQuickTime \ 317 avmediaMacAVF \ 318 fps_aqua \ 319 macab1 \ 320 macbe1 \ 321 MacOSXSpell 322.END 323 324.IF "$(OS)" == "WNT" 325my_components += \ 326 ado \ 327 dnd \ 328 dtrans \ 329 fop \ 330 fps \ 331 ftransl \ 332 java_uno_accessbridge \ 333 sysmail \ 334 sysdtrans \ 335 winaccessibility \ 336 wininetbe1 337.END 338 339.IF "$(OS)" == "OS2" 340my_components += \ 341 dtrans \ 342 sysdtrans 343.END 344 345.IF "$(OS)" == "WNT" && "$(DISABLE_ATL)" == "" 346my_components += \ 347 emser \ 348 oleautobridge 349.END 350 351.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" 352my_components += \ 353 avmediawin \ 354 component/canvas/source/directx/directx9canvas \ 355 component/canvas/source/directx/gdipluscanvas 356.END 357 358.IF "$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != "" 359my_components += component/canvas/source/directx/directx5canvas 360.END 361 362.IF "$(OS)" == "LINUX" || "$(OS)" == "NETBSD" || \ 363 ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") || "$(OS)" == "WNT" 364my_components += adabas 365.END 366 367.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(OS)" != "OS2" 368my_components += desktopbe1 369.END 370 371.IF "$(GTK_TWO_FOUR)" != "" 372my_components += fps_gnome 373.END 374 375.IF "$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != "" 376my_components += fps_kde4 377.END 378 379.IF "$(OS)" != "WNT" 380my_components += cmdmail 381.END 382 383.IF "$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != "" 384my_components += evoab 385.END 386 387.IF "$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != "" 388my_components += avmediagst 389.END 390 391.IF "$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE" 392my_components += avmedia.jar 393.END 394 395my_ooo_components = mailmerge 396 397.INCLUDE: target.mk 398 399ALLTAR : $(MISC)/services.rdb $(MISC)/ooo-services.rdb 400 401$(MISC)/services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 402 $(MISC)/services.input $(my_components:^"$(SOLARXMLDIR)/":+".component") 403 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 404 $(SOLARENV)/bin/packcomponents.xslt $(MISC)/services.input 405 406$(MISC)/services.input : makefile.mk 407 echo \ 408 '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \ 409 > $@ 410 411$(MISC)/ooo-services.rdb .ERRREMOVE : $(SOLARENV)/bin/packcomponents.xslt \ 412 $(MISC)/ooo-services.input \ 413 $(my_ooo_components:^"$(SOLARXMLDIR)/":+".component") 414 $(XSLTPROC) --nonet --stringparam prefix $(SOLARXMLDIR)/ -o $@ \ 415 $(SOLARENV)/bin/packcomponents.xslt $(MISC)/ooo-services.input 416 417$(MISC)/ooo-services.input : makefile.mk 418 echo '<list>' \ 419 '$(my_ooo_components:^"<filename>":+".component</filename>")' \ 420 '</list>' > $@ 421