From aa69ed78efb451d14ff6934fd86f1c5203441d26 Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Thu, 24 Feb 2011 18:41:13 +0100 Subject: CWS gnumake4: convert unotools to new build system --- unotools/Library_utl.mk | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 unotools/Library_utl.mk (limited to 'unotools/Library_utl.mk') diff --git a/unotools/Library_utl.mk b/unotools/Library_utl.mk new file mode 100644 index 000000000000..dbd32accf47e --- /dev/null +++ b/unotools/Library_utl.mk @@ -0,0 +1,157 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 Oracle and/or its affiliates. +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# unotools is the name of the module the makefile is located in + +# declare a library +# utl is the name of the library as it is found in Repository.mk +$(eval $(call gb_Library_Library,utl)) + +# declare packages that will be delivered before compilation of utl +# learn more about TYPE in the Package.mk template +$(eval $(call gb_Library_add_package_headers,utl,unotools_inc)) + +# for platforms supporting PCH: declare the location of the pch file +# this is the name of the cxx file (without extension) +$(eval $(call gb_Library_add_precompiled_header,utl,$(SRCDIR)/unotools/inc/pch/precompiled_unotools)) + +# in case UNO services are exported: declare location of component file +$(eval $(call gb_Library_set_componentfile,utl,unotools/util/utl)) + +# add any additional include paths for this library here +$(eval $(call gb_Library_set_include,utl,\ + $$(INCLUDE) \ + -I$(SRCDIR)/unotools/inc \ + -I$(SRCDIR)/unotools/inc/pch \ + -I$(OUTDIR)/inc/offuh \ +)) + +# add any additional definitions to be set for compilation here +# (e.g. -DLIB_DLLIMPLEMENTATION) +$(eval $(call gb_Library_set_defs,utl,\ + $$(DEFS) \ + -DUNOTOOLS_DLLIMPLEMENTATION \ +)) + +# add libraries to be linked to utl; again these names need to be given as +# specified in Repository.mk +$(eval $(call gb_Library_add_linked_libs,utl,\ + sal \ + salhelper \ + stl \ + comphelper \ + ucbhelper \ + cppu \ + cppuhelper \ + i18nisolang1 \ + tl \ + vos3 \ + $(gb_STDLIBS) \ +)) + +# add all source files that shall be compiled with exceptions enabled +# the name is relative to $(SRCROOT) and must not contain an extension +$(eval $(call gb_Library_add_exception_objects,utl,\ + unotools/source/streaming/streamhelper \ + unotools/source/streaming/streamwrap \ + unotools/source/accessibility/accessiblestatesethelper \ + unotools/source/accessibility/accessiblerelationsethelper \ + unotools/source/property/propertysethelper \ + unotools/source/property/propertysetinfo \ + unotools/source/misc/sharedunocomponent \ + unotools/source/misc/componentresmodule \ + unotools/source/misc/eventlisteneradapter \ + unotools/source/misc/fontcvt \ + unotools/source/misc/syslocale \ + unotools/source/misc/fontdefs \ + unotools/source/misc/datetime \ + unotools/source/misc/atom \ + unotools/source/misc/desktopterminationobserver \ + unotools/source/processfactory/processfactory \ + unotools/source/ucbhelper/localfilehelper \ + unotools/source/ucbhelper/ucbstreamhelper \ + unotools/source/ucbhelper/xtempfile \ + unotools/source/ucbhelper/ucblockbytes \ + unotools/source/ucbhelper/tempfile \ + unotools/source/ucbhelper/ucbhelper \ + unotools/source/ucbhelper/progresshandlerwrap \ + unotools/source/config/historyoptions \ + unotools/source/config/optionsdlg \ + unotools/source/config/regoptions \ + unotools/source/config/bootstrap \ + unotools/source/config/configpathes \ + unotools/source/config/javaoptions \ + unotools/source/config/lingucfg \ + unotools/source/config/fontoptions \ + unotools/source/config/useroptions \ + unotools/source/config/internaloptions \ + unotools/source/config/viewoptions \ + unotools/source/config/workingsetoptions \ + unotools/source/config/fltrcfg \ + unotools/source/config/localisationoptions \ + unotools/source/config/itemholder1 \ + unotools/source/config/cmdoptions \ + unotools/source/config/cacheoptions \ + unotools/source/config/docinfohelper \ + unotools/source/config/inetoptions \ + unotools/source/config/misccfg \ + unotools/source/config/options \ + unotools/source/config/xmlaccelcfg \ + unotools/source/config/fontcfg \ + unotools/source/config/startoptions \ + unotools/source/config/extendedsecurityoptions \ + unotools/source/config/printwarningoptions \ + unotools/source/config/configmgr \ + unotools/source/config/eventcfg \ + unotools/source/config/configitem \ + unotools/source/config/defaultoptions \ + unotools/source/config/searchopt \ + unotools/source/config/confignode \ + unotools/source/config/sourceviewconfig \ + unotools/source/config/compatibility \ + unotools/source/config/pathoptions \ + unotools/source/config/dynamicmenuoptions \ + unotools/source/config/moduleoptions \ + unotools/source/config/undoopt \ + unotools/source/config/configvaluecontainer \ + unotools/source/config/syslocaleoptions \ + unotools/source/config/accelcfg \ + unotools/source/config/saveopt \ + unotools/source/config/securityoptions \ + unotools/source/i18n/charclass \ + unotools/source/i18n/textsearch \ + unotools/source/i18n/readwritemutexguard \ + unotools/source/i18n/intlwrapper \ + unotools/source/i18n/transliterationwrapper \ + unotools/source/i18n/calendarwrapper \ + unotools/source/i18n/localedatawrapper \ + unotools/source/i18n/collatorwrapper \ + unotools/source/i18n/numberformatcodewrapper \ + unotools/source/i18n/nativenumberwrapper \ +)) + +# vim: set noet sw=4 ts=4: -- cgit