1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #***********************************************************************/
30 TARGET
= packcomponents
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
)
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 \
187 .IF
"$(BUILD_SPECIAL)" != ""
188 my_components
+= oooimprovement
191 .IF
"$(DISABLE_ATL)" == ""
192 my_components
+= emboleobj
195 .IF
"$(DISABLE_NEON)" != "TRUE"
196 my_components
+= ucpdav1
199 .IF
"$(ENABLE_CAIRO)" == "TRUE"
200 my_components
+= cairocanvas
203 .IF
"$(ENABLE_GCONF)" != ""
204 my_components
+= gconfbe1
207 .IF
"$(ENABLE_GIO)" != ""
208 my_components
+= ucpgio
211 .IF
"$(ENABLE_GNOMEVFS)" != ""
212 my_components
+= ucpgvfs
215 .IF
"$(ENABLE_KAB)" != ""
216 my_components
+= kab1
219 .IF
"$(ENABLE_KDE)" != ""
220 my_components
+= kdebe1
223 .IF
"$(ENABLE_KDE4)" != ""
224 my_components
+= kde4be1
227 .IF
"$(ENABLE_OGL)" == "TRUE"
228 my_components
+= ogltrans
231 .IF
"$(ENABLE_SVCTAGS)" == "YES"
232 my_components
+= productregistration.jar
235 .IF
"$(SOLAR_JAVA)" == "TRUE"
239 ScriptProviderForBeanShell \
240 ScriptProviderForJava \
241 ScriptProviderForJavaScript \
257 .IF
"$(WITH_BINFILTER)" != "NO"
263 .IF
"$(WITH_LDAP)" == "YES"
264 my_components
+= ldapbe2
267 .IF
"$(WITH_MOZILLA)" != "NO"
275 .IF
"$(OS)" == "MACOSX"
292 java_uno_accessbridge \
298 .IF
"$(OS)" == "WNT" && "$(DISABLE_ATL)" == ""
304 .IF
"$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != ""
311 .IF
"$(OS)" == "WNT" && "$(ENABLE_DIRECTX)" != "" && "$(USE_DIRECTX5)" != ""
312 my_components
+= directx5canvas
315 .IF
"$(OS)" == "LINUX" ||
"$(OS)" == "NETBSD" || \
316 ("$(OS)" == "SOLARIS" && "$(CPU)" == "S") ||
"$(OS)" == "WNT"
317 my_components
+= adabas
320 .IF
"$(OS)" != "MACOSX" && "$(SYSTEM_MOZILLA)" != "YES" && \
321 "$(WITH_MOZILLA)" != "NO"
322 my_components
+= mozab
324 my_components
+= mozbootstrap
327 .IF
"$(OS)" != "MACOSX" && "$(OS)" != "WNT"
328 my_components
+= desktopbe1
331 .IF
"$(GTK_TWO_FOUR)" != ""
332 my_components
+= fps_gnome
335 .IF
"$(OS)" != "MACOSX" && "$(OS)" != "WNT" && "$(ENABLE_KDE4)" != ""
336 my_components
+= fps_kde4
340 my_components
+= cmdmail
343 .IF
"$(OS)" != "WNT" && "$(ENABLE_EVOAB2)" != ""
344 my_components
+= evoab
347 .IF
"$(OS)" != "WNT" && "$(ENABLE_GSTREAMER)" != ""
348 my_components
+= avmediagst
351 .IF
"$(OS)" != "WNT" && "$(SOLAR_JAVA)" == "TRUE"
352 my_components
+= avmedia.jar
355 my_ooo_components
= mailmerge
359 ALLTAR
: $(MISC
)/services.rdb
$(MISC
)/ooo-services.rdb
361 $(MISC
)/services.rdb .ERRREMOVE
: $(SOLARENV
)/bin
/packcomponents.xslt \
362 $(MISC
)/services.input
$(my_components
:^
"$(SOLARXMLDIR)/":+".component")
363 $(XSLTPROC
) --nonet
--stringparam
prefix $(SOLARXMLDIR
)/ -o
$@ \
364 $(SOLARENV
)/bin
/packcomponents.xslt
$(MISC
)/services.input
366 $(MISC
)/services.input
: makefile.mk
368 '<list>$(my_components:^"<filename>":+".component</filename>")</list>' \
371 $(MISC
)/ooo-services.rdb .ERRREMOVE
: $(SOLARENV
)/bin
/packcomponents.xslt \
372 $(MISC
)/ooo-services.input \
373 $(my_ooo_components
:^
"$(SOLARXMLDIR)/":+".component")
374 $(XSLTPROC
) --nonet
--stringparam
prefix $(SOLARXMLDIR
)/ -o
$@ \
375 $(SOLARENV
)/bin
/packcomponents.xslt
$(MISC
)/ooo-services.input
377 $(MISC
)/ooo-services.input
: makefile.mk
379 '$(my_ooo_components:^"<filename>":+".component</filename>")' \