Kaydet (Commit) 692dac6c authored tarafından Mathias Bauer's avatar Mathias Bauer

CWS gnumake2: new gbuild system

üst 90f7fda0
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
include ../solenv/inc/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(notdir $(shell pwd))))
fr framework : l10n svtools NULL
fr framework usr1 - all fr_mkout NULL
fr framework\prj nmake - all fr_all NULL
all:
cd .. && make -sj9
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,fwe))
$(call gb_Library_get_headers_target,fwe) : $(call gb_Package_get_target,framework_inc)
$(eval $(call gb_Library_set_include,fwe,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,fwe,\
$$(DEFS) \
-DFWE_DLLIMPLEMENTATION\
))
$(eval $(call gb_Library_add_linked_libs,fwe,\
comphelper \
cppu \
cppuhelper \
fwi \
sal \
stl \
svl \
svt \
tl \
utl \
vcl \
vos3 \
))
$(eval $(call gb_Library_add_exception_objects,fwe,\
framework/source/fwe/classes/actiontriggercontainer \
framework/source/fwe/classes/actiontriggerpropertyset \
framework/source/fwe/classes/actiontriggerseparatorpropertyset \
framework/source/fwe/classes/addonmenu \
framework/source/fwe/classes/addonsoptions \
framework/source/fwe/classes/bmkmenu \
framework/source/fwe/classes/fwkresid \
framework/source/fwe/classes/imagewrapper \
framework/source/fwe/classes/menuextensionsupplier \
framework/source/fwe/classes/rootactiontriggercontainer \
framework/source/fwe/classes/sfxhelperfunctions \
framework/source/fwe/dispatch/interaction \
framework/source/fwe/helper/acceleratorinfo \
framework/source/fwe/helper/actiontriggerhelper \
framework/source/fwe/helper/configimporter \
framework/source/fwe/helper/imageproducer \
framework/source/fwe/helper/propertysetcontainer \
framework/source/fwe/helper/titlehelper \
framework/source/fwe/helper/uiconfigelementwrapperbase \
framework/source/fwe/helper/uielementwrapperbase \
framework/source/fwe/interaction/preventduplicateinteraction \
framework/source/fwe/xml/eventsconfiguration \
framework/source/fwe/xml/eventsdocumenthandler \
framework/source/fwe/xml/imagesconfiguration \
framework/source/fwe/xml/imagesdocumenthandler \
framework/source/fwe/xml/menuconfiguration \
framework/source/fwe/xml/menudocumenthandler \
framework/source/fwe/xml/saxnamespacefilter \
framework/source/fwe/xml/statusbarconfiguration \
framework/source/fwe/xml/statusbardocumenthandler \
framework/source/fwe/xml/toolboxconfiguration \
framework/source/fwe/xml/toolboxdocumenthandler \
framework/source/fwe/xml/toolboxlayoutdocumenthandler \
framework/source/fwe/xml/xmlnamespaces \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_set_cxxflags,fwe,$$(filter-out -fvisibility=hidden,$$(CXXFLAGS))))
$(eval $(call gb_Library_add_linked_libs,fwe,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,fwe,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# TODO: visibility
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,fwi))
$(call gb_Library_get_headers_target,fwi) : $(call gb_Package_get_target,framework_inc)
$(eval $(call gb_Library_set_defs,fwi,\
$$(DEFS) \
-DFWI_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_set_include,fwi,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_add_linked_libs,fwi,\
comphelper \
stl \
tk \
tl \
cppu \
cppuhelper \
sal \
utl \
vcl \
vos3 \
))
$(eval $(call gb_Library_add_exception_objects,fwi,\
framework/source/fwi/classes/converter \
framework/source/fwi/classes/framelistanalyzer \
framework/source/fwi/classes/propertysethelper \
framework/source/fwi/classes/protocolhandlercache \
framework/source/fwi/helper/mischelper \
framework/source/fwi/helper/networkdomain \
framework/source/fwi/helper/popupmenucontrollerbase \
framework/source/fwi/helper/shareablemutex \
framework/source/fwi/jobs/configaccess \
framework/source/fwi/jobs/jobconst \
framework/source/fwi/threadhelp/lockhelper \
framework/source/fwi/threadhelp/transactionmanager \
framework/source/fwi/uielement/constitemcontainer \
framework/source/fwi/uielement/itemcontainer \
framework/source/fwi/uielement/rootitemcontainer \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,fwi,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,fwi,\
advapi32 \
kernel32 \
msvcrt \
stl \
unicows \
uwinapi \
))
endif
# TODO: visibility
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,fwk))
$(call gb_Library_get_headers_target,fwk) : $(call gb_Package_get_target,framework_inc)
$(eval $(call gb_Library_set_include,fwk,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_add_linked_libs,fwk,\
comphelper \
fwe \
fwi \
i18nisolang1 \
sot \
stl \
svl \
svt \
tk \
tl \
ucbhelper \
cppu \
cppuhelper \
sal \
utl \
vcl \
))
$(eval $(call gb_Library_add_exception_objects,fwk,\
framework/source/accelerators/acceleratorcache \
framework/source/accelerators/acceleratorconfiguration \
framework/source/accelerators/documentacceleratorconfiguration \
framework/source/accelerators/globalacceleratorconfiguration \
framework/source/accelerators/keymapping \
framework/source/accelerators/moduleacceleratorconfiguration \
framework/source/accelerators/presethandler \
framework/source/accelerators/storageholder \
framework/source/classes/droptargetlistener \
framework/source/classes/framecontainer \
framework/source/classes/menumanager \
framework/source/classes/taskcreator \
framework/source/constant/containerquery \
framework/source/constant/contenthandler \
framework/source/constant/filter \
framework/source/constant/frameloader \
framework/source/dispatch/closedispatcher \
framework/source/dispatch/dispatchinformationprovider \
framework/source/dispatch/dispatchprovider \
framework/source/dispatch/helpagentdispatcher \
framework/source/dispatch/interceptionhelper \
framework/source/dispatch/loaddispatcher \
framework/source/dispatch/menudispatcher \
framework/source/dispatch/startmoduledispatcher \
framework/source/dispatch/windowcommanddispatch \
framework/source/helper/dockingareadefaultacceptor \
framework/source/helper/ocomponentaccess \
framework/source/helper/ocomponentenumeration \
framework/source/helper/oframes \
framework/source/helper/persistentwindowstate \
framework/source/helper/statusindicator \
framework/source/helper/statusindicatorfactory \
framework/source/helper/tagwindowasmodified \
framework/source/helper/titlebarupdate \
framework/source/helper/vclstatusindicator \
framework/source/helper/wakeupthread \
framework/source/interaction/quietinteraction \
framework/source/jobs/job \
framework/source/jobs/jobdata \
framework/source/jobs/jobdispatch \
framework/source/jobs/jobexecutor \
framework/source/jobs/jobresult \
framework/source/jobs/joburl \
framework/source/layoutmanager/layoutmanager \
framework/source/loadenv/loaddispatchlistener \
framework/source/loadenv/loadenv \
framework/source/loadenv/targethelper \
framework/source/register/registerservices \
framework/source/services/autorecovery \
framework/source/services/backingcomp \
framework/source/services/backingwindow \
framework/source/services/desktop \
framework/source/services/frame \
framework/source/services/modulemanager \
framework/source/services/pathsettings \
framework/source/services/sessionlistener \
framework/source/services/substitutepathvars \
framework/source/services/taskcreatorsrv \
framework/source/services/uriabbreviation \
framework/source/services/urltransformer \
framework/source/uiconfiguration/globalsettings \
framework/source/uiconfiguration/graphicnameaccess \
framework/source/uiconfiguration/imagemanager \
framework/source/uiconfiguration/imagemanagerimpl \
framework/source/uiconfiguration/moduleimagemanager \
framework/source/uiconfiguration/moduleuicfgsupplier \
framework/source/uiconfiguration/moduleuiconfigurationmanager \
framework/source/uiconfiguration/uicategorydescription \
framework/source/uiconfiguration/uiconfigurationmanager \
framework/source/uiconfiguration/uiconfigurationmanagerimpl \
framework/source/uiconfiguration/windowstateconfiguration \
framework/source/uielement/addonstoolbarmanager \
framework/source/uielement/addonstoolbarwrapper \
framework/source/uielement/buttontoolbarcontroller \
framework/source/uielement/comboboxtoolbarcontroller \
framework/source/uielement/complextoolbarcontroller \
framework/source/uielement/controlmenucontroller \
framework/source/uielement/dropdownboxtoolbarcontroller \
framework/source/uielement/edittoolbarcontroller \
framework/source/uielement/generictoolbarcontroller \
framework/source/uielement/imagebuttontoolbarcontroller \
framework/source/uielement/langselectionstatusbarcontroller \
framework/source/uielement/menubarmanager \
framework/source/uielement/menubarmerger \
framework/source/uielement/menubarwrapper \
framework/source/uielement/objectmenucontroller \
framework/source/uielement/progressbarwrapper \
framework/source/uielement/recentfilesmenucontroller \
framework/source/uielement/spinfieldtoolbarcontroller \
framework/source/uielement/statusbar \
framework/source/uielement/statusbarmanager \
framework/source/uielement/statusbarwrapper \
framework/source/uielement/statusindicatorinterfacewrapper \
framework/source/uielement/togglebuttontoolbarcontroller \
framework/source/uielement/toolbar \
framework/source/uielement/toolbarmanager \
framework/source/uielement/toolbarmerger \
framework/source/uielement/toolbarwrapper \
framework/source/uielement/uicommanddescription \
framework/source/uifactory/addonstoolboxfactory \
framework/source/uifactory/factoryconfiguration \
framework/source/uifactory/menubarfactory \
framework/source/uifactory/popupmenucontrollerfactory \
framework/source/uifactory/statusbarcontrollerfactory \
framework/source/uifactory/statusbarfactory \
framework/source/uifactory/toolbarcontrollerfactory \
framework/source/uifactory/toolboxfactory \
framework/source/uifactory/uielementfactorymanager \
framework/source/uifactory/windowcontentfactorymanager \
framework/source/xml/acceleratorconfigurationreader \
framework/source/xml/acceleratorconfigurationwriter \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,fwk,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,fwk,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,fwl))
$(call gb_Library_get_headers_target,fwl) : $(call gb_Package_get_target,framework_inc)
$(eval $(call gb_Library_set_include,fwl,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_add_linked_libs,fwl,\
comphelper \
fwe \
fwi \
i18nisolang1 \
stl \
svl \
svt \
tk \
tl \
cppu \
cppuhelper \
sal \
utl \
vcl \
))
$(eval $(call gb_Library_add_exception_objects,fwl,\
framework/source/register/registertemp \
framework/source/services/mediatypedetectionhelper \
framework/source/dispatch/mailtodispatcher \
framework/source/dispatch/oxt_handler \
framework/source/uielement/toolbarsmenucontroller \
framework/source/uielement/newmenucontroller \
framework/source/uielement/macrosmenucontroller \
framework/source/uielement/langselectionmenucontroller \
framework/source/uielement/headermenucontroller \
framework/source/uielement/footermenucontroller \
framework/source/uielement/fontsizemenucontroller \
framework/source/uielement/fontmenucontroller \
framework/source/services/tabwindowservice \
framework/source/classes/fwktabwindow \
framework/source/uielement/logotextstatusbarcontroller \
framework/source/classes/fwlresid \
framework/source/uielement/logoimagestatusbarcontroller \
framework/source/uielement/simpletextstatusbarcontroller \
framework/source/services/uriabbreviation \
framework/source/dispatch/servicehandler \
framework/source/services/license \
framework/source/recording/dispatchrecorder \
framework/source/recording/dispatchrecordersupplier \
framework/source/services/dispatchhelper \
framework/source/dispatch/popupmenudispatcher \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,fwl,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,fwl,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,fwm))
$(call gb_Library_get_headers_target,fwm) : $(call gb_Package_get_target,framework_inc)
$(eval $(call gb_Library_set_include,fwm,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/framework/ \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/pch \
-I$(SRCDIR)/framework/source/inc \
-I$(OUTDIR)/inc/framework \
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_add_linked_libs,fwm,\
comphelper \
fwi \
stl \
svl \
svt \
tk \
tl \
cppu \
cppuhelper \
sal \
utl \
vcl \
vos3 \
))
$(eval $(call gb_Library_add_exception_objects,fwm,\
framework/source/dispatch/systemexec \
framework/source/jobs/helponstartup \
framework/source/jobs/shelljob \
framework/source/register/register3rdcomponents \
framework/source/tabwin/tabwindow \
framework/source/tabwin/tabwinfactory \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,fwm,\
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,fwm,\
kernel32 \
msvcrt \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
include $(foreach targetdef,\
lib_fwe \
lib_fwi \
lib_fwk \
lib_fwl \
lib_fwm \
package_dtd \
package_inc \
package_uiconfig \
package_unotypes \
res_fwe \
,$(SRCDIR)/framework/prj/target_$(targetdef).mk)
$(eval $(call gb_Module_Module,framework,\
$(call gb_AllLangResTarget_get_target,fwe) \
$(call gb_Library_get_target,fwe) \
$(call gb_Library_get_target,fwi) \
$(call gb_Library_get_target,fwk) \
$(call gb_Library_get_target,fwl) \
$(call gb_Library_get_target,fwm) \
$(call gb_Library_get_target,fwe) \
$(call gb_Package_get_target,framework_dtd) \
$(call gb_Package_get_target,framework_inc) \
$(call gb_Package_get_target,framework_uiconfig) \
$(call gb_Package_get_target,framework_unotypes) \
))
# vim: set noet ts=4 sw=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Package_Package,framework_dtd,$(SRCDIR)/framework/dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/accelerator.dtd,accelerator.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/event.dtd,event.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/groupuinames.dtd,groupuinames.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/image.dtd,image.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/menubar.dtd,menubar.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/statusbar.dtd,statusbar.dtd))
$(eval $(call gb_Package_add_file,framework_dtd,bin/toolbar.dtd,toolbar.dtd))
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Package_Package,framework_inc,$(SRCDIR)/framework/inc))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/acceleratorinfo.hxx,helper/acceleratorinfo.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/actiontriggerhelper.hxx,helper/actiontriggerhelper.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/addonmenu.hxx,classes/addonmenu.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/addonsoptions.hxx,classes/addonsoptions.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/bmkmenu.hxx,classes/bmkmenu.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/configimporter.hxx,helper/configimporter.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/eventsconfiguration.hxx,xml/eventsconfiguration.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/imageproducer.hxx,helper/imageproducer.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/imagesconfiguration.hxx,xml/imagesconfiguration.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/interaction.hxx,dispatch/interaction.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/menuconfiguration.hxx,xml/menuconfiguration.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/menuextensionsupplier.hxx,classes/menuextensionsupplier.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/preventduplicateinteraction.hxx,interaction/preventduplicateinteraction.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/sfxhelperfunctions.hxx,classes/sfxhelperfunctions.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/titlehelper.hxx,helper/titlehelper.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/framework/toolboxconfiguration.hxx,xml/toolboxconfiguration.hxx))
$(eval $(call gb_Package_add_file,framework_inc,inc/fwedllapi.h,fwedllapi.h))
$(eval $(call gb_Package_add_file,framework_inc,inc/fwkdllapi.h,fwkdllapi.h))
$(eval $(call gb_Package_add_file,framework_inc,inc/fwidllapi.h,fwidllapi.h))
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Package_Package,framework_uiconfig,$(SRCDIR)/framework/uiconfig))
$(eval $(call gb_Package_add_file,framework_uiconfig,xml/uiconfig/modules/StartModule/accelerator/en-US/default.xml,startmodule/accelerator/en-US/default.xml))
$(eval $(call gb_Package_add_file,framework_uiconfig,xml/uiconfig/modules/StartModule/menubar/menubar.xml,startmodule/menubar/menubar.xml))
$(eval $(call gb_Package_add_file,framework_uiconfig,xml/uiconfig/modules/StartModule/statusbar/statusbar.xml,startmodule/statusbar/statusbar.xml))
$(eval $(call gb_Package_add_file,framework_uiconfig,xml/uiconfig/modules/StartModule/toolbar/standardbar.xml,startmodule/toolbar/standardbar.xml))
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Package_Package,framework_unotypes,$(SRCDIR)/framework/source/unotypes))
$(eval $(call gb_Package_add_file,framework_unotypes,xml/fwk.xml,fwk.xml))
$(eval $(call gb_Package_add_file,framework_unotypes,xml/fwl.xml,fwl.xml))
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_AllLangResTarget_AllLangResTarget,fwe))
$(eval $(call gb_AllLangResTarget_add_srs,fwe,\
fwe/fwk_classes \
fwe/fwk_services \
))
$(eval $(call gb_SrsTarget_SrsTarget,fwe/fwk_classes))
$(eval $(call gb_SrsTarget_set_include,fwe/fwk_classes,\
$$(INCLUDE) \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/classes \
-I$(OUTDIR)/inc \
))
$(eval $(call gb_SrsTarget_add_files,fwe/fwk_classes,\
framework/source/classes/resource.src \
))
$(eval $(call gb_SrsTarget_SrsTarget,fwe/fwk_services))
$(eval $(call gb_SrsTarget_set_include,fwe/fwk_services,\
$$(INCLUDE) \
-I$(SRCDIR)/framework/inc \
-I$(SRCDIR)/framework/inc/services \
-I$(OUTDIR)/inc \
))
$(eval $(call gb_SrsTarget_add_files,fwe/fwk_services,\
framework/source/services/fwk_services.src \
))
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
include ../solenv/inc/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(notdir $(shell pwd))))
sf sfx2 : l10n idl basic xmlscript framework shell setup_native sax SYSTRAY_GTK:libegg LIBXML2:libxml2 NULL
sf sfx2 usr1 - all sf_mkout NULL
sf sfx2\prj nmake - all sf_prj NULL
all:
cd .. && make -sj9
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
#ifeq ($(OS),UNX)
$(eval $(call gb_Library_Library,qstart))
$(eval $(call gb_Library_set_include,qstart,\
$$(INCLUDE) \
-I$(SRCDIR)/sfx2/inc \
-I$(SRCDIR)/sfx2/inc/sfx2 \
-I$(SRCDIR)/sfx2/inc/pch \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
))
#WTF: this nice code is currently found in the makefile.mk (unix part only)
# PKGCONFIG_MODULES=gtk+-2.0
# .IF "$(PKGCONFIG_ROOT)"!=""
# PKG_CONFIG=$(PKGCONFIG_ROOT)/bin/pkg-config
# PKG_CONFIG_PATH:=$(PKGCONFIG_ROOT)/lib/pkgconfig
# .EXPORT : PKG_CONFIG_PATH
# PKGCONFIG_PREFIX=--define-variable=prefix=$(PKGCONFIG_ROOT)
# .ELSE
# PKG_CONFIG*=pkg-config
# .ENDIF
# PKGCONFIG_CFLAGS:=$(shell @$(PKG_CONFIG) $(PKGCONFIG_PREFIX) --cflags $(PKGCONFIG_MODULES))
# PKGCONFIG_LIBS:=$(shell @$(PKG_CONFIG) $(PKGCONFIG_PREFIX) --libs $(PKGCONFIG_MODULES))
# CFLAGS+=$(PKGCONFIG_CFLAGS
ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
$(eval $(call gb_Library_set_defs,qstart,\
$$(DEFS) \
-DDLL_NAME=libsfx$(DLLPOSTFIX)$(DLLPOST) \
-DENABLE_QUICKSTART_APPLET \
))
endif
#todo: add libs
$(eval $(call gb_Library_add_linked_libs,qstart,\
sfx \
))
$(eval $(call gb_Library_add_linked_system_libs,qstart,\
icuuc \
dl \
m \
pthread \
))
ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
$(eval $(call gb_Library_add_exception_objects,qstart,\
sfx2/source/appl/shutdowniconunx.ob \
))
endif
endif
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,sfx))
$(call gb_Library_get_headers_target,sfx) : $(call gb_SdiTarget_get_target,sfx2/sdi/sfxslots)
$(call gb_Library_get_clean_target,sfx) : $(call gb_SdiTarget_get_clean_target,sfx2/sdi/sfxslots)
$(eval $(call gb_Library_set_include,sfx,\
$$(INCLUDE) \
-I$(WORKDIR)/inc/sfx2/sdi \
-I$(WORKDIR)/inc/sfx2 \
-I$(WORKDIR)/inc/ \
-I$(SRCDIR)/sfx2/inc \
-I$(SRCDIR)/sfx2/inc/sfx2 \
-I$(SRCDIR)/sfx2/source/inc \
-I$(SRCDIR)/sfx2/inc/pch \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
$(LIBXML_CFLAGS) \
))
$(eval $(call gb_Library_set_defs,sfx,\
$$(DEFS) \
-DSFX2_DLLIMPLEMENTATION \
-DABOUTBMPNAMES="$(ABOUTBITMAPS)" \
))
ifneq ($(OS),UNX)
$(eval $(call gb_Library_set_defs,sfx,\
$$(DEFS) \
-DENABLE_QUICKSTART_APPLET \
))
endif
$(eval $(call gb_Library_add_linked_libs,sfx,\
comphelper \
i18nisolang1 \
sb \
sot \
svl \
svt \
tk \
tl \
ucbhelper \
cppu \
cppuhelper \
sal \
utl \
vcl \
vos3 \
fwe \
sax \
xml2 \
stl \
))
$(eval $(call gb_Library_add_linked_system_libs,sfx,\
icuuc \
dl \
m \
pthread \
))
$(eval $(call gb_Library_add_exception_objects,sfx,\
sfx2/source/appl/appcfg \
sfx2/source/appl/imagemgr \
sfx2/source/appl/appopen \
sfx2/source/appl/appmain \
sfx2/source/appl/appmisc \
sfx2/source/appl/appinit \
sfx2/source/appl/helpinterceptor \
sfx2/source/appl/newhelp \
sfx2/source/appl/sfxhelp \
sfx2/source/appl/shutdownicon \
sfx2/source/appl/shutdowniconw32 \
sfx2/source/appl/sfxpicklist \
sfx2/source/appl/helpdispatch \
sfx2/source/appl/xpackcreator \
sfx2/source/appl/app \
sfx2/source/appl/appbas \
sfx2/source/appl/appchild \
sfx2/source/appl/appdata \
sfx2/source/appl/appdde \
sfx2/source/appl/appquit \
sfx2/source/appl/appreg \
sfx2/source/appl/appserv \
sfx2/source/appl/appuno \
sfx2/source/appl/appbaslib \
sfx2/source/appl/childwin \
sfx2/source/appl/imestatuswindow \
sfx2/source/appl/impldde \
sfx2/source/appl/linkmgr2 \
sfx2/source/appl/linksrc \
sfx2/source/appl/lnkbase2 \
sfx2/source/appl/module \
sfx2/source/appl/sfxdll \
sfx2/source/appl/workwin \
sfx2/source/appl/fwkhelper \
sfx2/source/bastyp/sfxhtml \
sfx2/source/bastyp/frmhtml \
sfx2/source/bastyp/frmhtmlw \
sfx2/source/bastyp/misc \
sfx2/source/bastyp/progress \
sfx2/source/bastyp/sfxresid \
sfx2/source/bastyp/bitset \
sfx2/source/bastyp/minarray \
sfx2/source/bastyp/fltfnc \
sfx2/source/bastyp/mieclip \
sfx2/source/bastyp/fltlst \
sfx2/source/bastyp/helper \
sfx2/source/config/evntconf \
sfx2/source/control/bindings \
sfx2/source/control/ctrlitem \
sfx2/source/control/dispatch \
sfx2/source/control/macrconf \
sfx2/source/control/macro \
sfx2/source/control/minfitem \
sfx2/source/control/msg \
sfx2/source/control/msgpool \
sfx2/source/control/objface \
sfx2/source/control/querystatus \
sfx2/source/control/request \
sfx2/source/control/sfxstatuslistener \
sfx2/source/control/shell \
sfx2/source/control/sorgitm \
sfx2/source/control/srchitem \
sfx2/source/control/statcach \
sfx2/source/control/unoctitm \
sfx2/source/dialog/filedlghelper \
sfx2/source/dialog/filtergrouping \
sfx2/source/dialog/itemconnect \
sfx2/source/dialog/mailmodel \
sfx2/source/dialog/partwnd \
sfx2/source/dialog/recfloat \
sfx2/source/dialog/templdlg \
sfx2/source/dialog/dinfdlg \
sfx2/source/dialog/dockwin \
sfx2/source/doc/printhelper \
sfx2/source/doc/docinf \
sfx2/source/doc/oleprops \
sfx2/source/doc/iframe \
sfx2/source/doc/plugin \
sfx2/source/doc/docfile \
sfx2/source/doc/objuno \
sfx2/source/doc/frmdescr \
sfx2/source/doc/objxtor \
sfx2/source/doc/objmisc \
sfx2/source/doc/objstor \
sfx2/source/doc/objcont \
sfx2/source/doc/objserv \
sfx2/source/doc/objitem \
sfx2/source/doc/ownsubfilterservice \
sfx2/source/doc/docfac \
sfx2/source/doc/docfilt \
sfx2/source/doc/doctempl \
sfx2/source/doc/doctemplates \
sfx2/source/doc/doctemplateslocal \
sfx2/source/doc/docvor \
sfx2/source/doc/new \
sfx2/source/doc/doctdlg \
sfx2/source/doc/sfxbasemodel \
sfx2/source/doc/guisaveas \
sfx2/source/doc/objembed \
sfx2/source/doc/graphhelp \
sfx2/source/doc/QuerySaveDocument \
sfx2/source/doc/opostponedtruncationstream \
sfx2/source/doc/docinsert \
sfx2/source/doc/docmacromode \
sfx2/source/doc/SfxDocumentMetaData \
sfx2/source/doc/Metadatable \
sfx2/source/doc/DocumentMetadataAccess \
sfx2/source/doc/sfxmodelfactory \
sfx2/source/doc/sfxacldetect \
sfx2/source/doc/docstoragemodifylistener \
sfx2/source/doc/querytemplate \
sfx2/source/explorer/nochaos \
sfx2/source/inet/inettbc \
sfx2/source/menu/mnumgr \
sfx2/source/menu/virtmenu \
sfx2/source/menu/objmnctl \
sfx2/source/menu/mnuitem \
sfx2/source/notify/eventsupplier \
sfx2/source/statbar/stbitem \
sfx2/source/toolbox/tbxitem \
sfx2/source/toolbox/imgmgr \
sfx2/source/view/ipclient \
sfx2/source/view/viewsh \
sfx2/source/view/frmload \
sfx2/source/view/frame \
sfx2/source/view/printer \
sfx2/source/view/prnmon \
sfx2/source/view/viewprn \
sfx2/source/view/viewfac \
sfx2/source/view/orgmgr \
sfx2/source/view/viewfrm \
sfx2/source/view/impframe \
sfx2/source/view/topfrm \
sfx2/source/view/sfxbasecontroller \
sfx2/source/view/userinputinterception \
))
$(eval $(call gb_Library_add_noexception_objects,sfx,\
sfx2/source/dialog/about \
sfx2/source/dialog/alienwarn \
sfx2/source/dialog/basedlgs \
sfx2/source/dialog/dinfedt \
sfx2/source/dialog/intro \
sfx2/source/dialog/mgetempl \
sfx2/source/dialog/navigat \
sfx2/source/dialog/newstyle \
sfx2/source/dialog/passwd \
sfx2/source/dialog/printopt \
sfx2/source/dialog/sfxdlg \
sfx2/source/dialog/sfxurl \
sfx2/source/dialog/splitwin \
sfx2/source/dialog/srchdlg \
sfx2/source/dialog/styfitem \
sfx2/source/dialog/styledlg \
sfx2/source/dialog/tabdlg \
sfx2/source/dialog/tplcitem \
sfx2/source/dialog/tplpitem \
sfx2/source/dialog/versdlg \
sfx2/source/notify/hintpost \
))
$(eval $(call gb_SdiTarget_SdiTarget,sfx2/sdi/sfxslots,sfx2/sdi/sfx))
$(eval $(call gb_SdiTarget_set_include,sfx2/sdi/sfxslots,\
$$(INCLUDE) \
-I$(SRCDIR)/sfx2/inc/sfx2 \
-I$(SRCDIR)/sfx2/inc \
-I$(SRCDIR)/sfx2/sdi \
))
ifeq ($(OS),OS2)
$(eval $(call gb_Library_add_exception_objects,sfx,\
sfx2/source/appl/shutdowniconOs2.ob \
))
endif
ifeq ($(OS),OSX)
$(eval $(call gb_Library_add_exception_objects,sfx,\
sfx2/source/appl/shutdowniconaqua.ob \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,sfx,\
advapi32 \
gdi32 \
kernel32 \
msvcrt \
oldnames \
ole32 \
shell32 \
user32 \
uuid \
uwinapi \
))
endif
# vim: set noet sw=4 ts=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Module_Module,sfx2,\
$(call gb_AllLangResTarget_get_target,sfx) \
$(call gb_Library_get_target,sfx) \
))
$(eval $(call gb_Module_read_includes,sfx2,\
lib_sfx2 \
package_inc \
res_sfx2 \
))
#todo: map file?
#todo: source/appl ohne Optimierung?
#todo: source/control ohne Optimierung?
#todo: source/dialog BUILD_VER_STRING
#todo: source/doc SYSTEM_LIBXML2
#todo: noopt for acldetect.cxx?
#todo: ENABLE_LAYOUT
#todo: quickstarter
#todo: link against cocoa on Mac
This diff is collapsed.
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_AllLangResTarget_AllLangResTarget,sfx))
$(eval $(call gb_AllLangResTarget_add_srs,sfx,\
sfx/res \
))
$(eval $(call gb_SrsTarget_SrsTarget,sfx/res))
$(eval $(call gb_SrsTarget_set_include,sfx/res,\
$$(INCLUDE) \
-I$(OUTDIR)/inc \
-I$(WORKDIR)/inc \
-I$(SRCDIR)/sfx2/source/dialog \
-I$(SRCDIR)/sfx2/source/inc \
-I$(SRCDIR)/sfx2/inc/ \
-I$(SRCDIR)/sfx2/inc/sfx \
))
$(eval $(call gb_SrsTarget_add_files,sfx/res,\
sfx2/source/appl/app.src \
sfx2/source/appl/newhelp.src \
sfx2/source/appl/dde.src \
sfx2/source/appl/sfx.src \
sfx2/source/doc/doc.src \
sfx2/source/doc/new.src \
sfx2/source/doc/doctdlg.src \
sfx2/source/doc/doctempl.src \
sfx2/source/doc/graphhelp.src \
sfx2/source/menu/menu.src \
sfx2/source/view/view.src \
sfx2/source/dialog/alienwarn.src \
sfx2/source/dialog/dialog.src \
sfx2/source/dialog/dinfdlg.src \
sfx2/source/dialog/dinfedt.src \
sfx2/source/dialog/filedlghelper.src \
sfx2/source/dialog/mailwindow.src \
sfx2/source/dialog/mgetempl.src \
sfx2/source/dialog/newstyle.src \
sfx2/source/dialog/passwd.src \
sfx2/source/dialog/printopt.src \
sfx2/source/dialog/recfloat.src \
sfx2/source/dialog/srchdlg.src \
sfx2/source/dialog/templdlg.src \
sfx2/source/dialog/versdlg.src \
sfx2/source/bastyp/bastyp.src \
sfx2/source/bastyp/fltfnc.src \
))
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
include ../solenv/inc/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(notdir $(shell pwd))))
xo xmloff : offapi svl vos NULL
xo xmloff usr1 - all xo_mkout NULL
xo xmloff\prj nmake - all xo_prj NULL
all:
cd .. && make -sj9
This diff is collapsed.
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Library_Library,xof))
$(eval $(call gb_Library_set_include,xof,\
$$(SOLARINC) \
-I$(WORKDIR)/inc/ \
-I$(SRCDIR)/xmloff/inc \
-I$(SRCDIR)/xmloff/source/inc \
-I$(SRCDIR)/xmloff/inc/pch \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
))
$(eval $(call gb_Library_add_linked_libs,xof,\
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
stl \
xo \
))
$(eval $(call gb_Library_add_exception_objects,xof,\
xmloff/source/transform/OOo2Oasis \
xmloff/source/transform/StyleOOoTContext \
xmloff/source/transform/EventOOoTContext \
xmloff/source/transform/DocumentTContext \
xmloff/source/transform/NotesTContext \
xmloff/source/transform/Oasis2OOo \
xmloff/source/transform/TransformerContext \
xmloff/source/transform/ChartOASISTContext \
xmloff/source/transform/PropertyActionsOASIS \
xmloff/source/transform/DeepTContext \
xmloff/source/transform/DlgOASISTContext \
xmloff/source/transform/FormPropOOoTContext \
xmloff/source/transform/TransformerBase \
xmloff/source/transform/FormPropOASISTContext \
xmloff/source/transform/RenameElemTContext \
xmloff/source/transform/ControlOOoTContext \
xmloff/source/transform/FrameOASISTContext \
xmloff/source/transform/EventOASISTContext \
xmloff/source/transform/TransformerTokenMap \
xmloff/source/transform/PersMixedContentTContext \
xmloff/source/transform/ProcAttrTContext \
xmloff/source/transform/MetaTContext \
xmloff/source/transform/TransformerActions \
xmloff/source/transform/ControlOASISTContext \
xmloff/source/transform/ChartPlotAreaOOoTContext \
xmloff/source/transform/MutableAttrList \
xmloff/source/transform/PropertyActionsOOo \
xmloff/source/transform/ChartOOoTContext \
xmloff/source/transform/EventMap \
xmloff/source/transform/FlatTContext \
xmloff/source/transform/CreateElemTContext \
xmloff/source/transform/ProcAddAttrTContext \
xmloff/source/transform/XMLFilterRegistration \
xmloff/source/transform/MergeElemTContext \
xmloff/source/transform/PersAttrListTContext \
xmloff/source/transform/FrameOOoTContext \
xmloff/source/transform/ChartPlotAreaOASISTContext \
xmloff/source/transform/StyleOASISTContext \
xmloff/source/transform/IgnoreTContext \
))
ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_linked_libs,xof,\
icuuc \
dl \
m \
pthread \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,xof,\
kernel32 \
msvcrt \
oldnames \
user32 \
uwinapi \
))
endif
# vim: set noet ts=4 sw=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# OpenOffice.org is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# only, as published by the Free Software Foundation.
#
# OpenOffice.org is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License version 3 for more details
# (a copy is included in the LICENSE file that accompanied this code).
#
# You should have received a copy of the GNU Lesser General Public License
# version 3 along with OpenOffice.org. If not, see
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
$(eval $(call gb_Module_Module,xmloff,\
$(call gb_Library_get_target,xo) \
$(call gb_Library_get_target,xof) \
$(call gb_Package_get_target,xmloff_inc) \
))
$(eval $(call gb_Module_read_includes,xmloff,\
lib_xo \
lib_xof \
package_inc \
))
#todo: map file
#todo: xmlkywd.lib - built, but never used?!
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment