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