Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / unotools / Library_utl.mk
blob6a83b55f32f041b6c09a1de7445dd158c34a8480
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # Major Contributor(s):
15 # Copyright (C) 2010 Red Hat, Inc., David Tardon <dtardon@redhat.com>
16 # (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 # declare a library
29 # utl is the name of the library as it is found in Repository.mk
30 $(eval $(call gb_Library_Library,utl))
32 # declare packages that will be delivered before compilation of utl
33 # learn more about TYPE in the Package.mk template
34 $(eval $(call gb_Library_use_package,utl,unotools_inc))
36 # in case UNO services are exported: declare location of component file
37 $(eval $(call gb_Library_set_componentfile,utl,unotools/util/utl))
39 # add any additional include paths for this library here
40 $(eval $(call gb_Library_set_include,utl,\
41 -I$(SRCDIR)/unotools/inc \
42 $$(INCLUDE) \
45 # add any additional definitions to be set for compilation here
46 # (e.g. -DLIB_DLLIMPLEMENTATION)
47 $(eval $(call gb_Library_add_defs,utl,\
48 -DUNOTOOLS_DLLIMPLEMENTATION \
51 $(eval $(call gb_Library_use_sdk_api,utl))
53 # add libraries to be linked to utl; again these names need to be given as
54 # specified in Repository.mk
55 $(eval $(call gb_Library_use_libraries,utl,\
56 comphelper \
57 cppu \
58 cppuhelper \
59 i18nisolang1 \
60 sal \
61 salhelper \
62 tl \
63 ucbhelper \
64 $(gb_UWINAPI) \
67 # add all source files that shall be compiled with exceptions enabled
68 # the name is relative to $(SRCROOT) and must not contain an extension
69 $(eval $(call gb_Library_add_exception_objects,utl,\
70 unotools/source/accessibility/accessiblerelationsethelper \
71 unotools/source/accessibility/accessiblestatesethelper \
72 unotools/source/config/accelcfg \
73 unotools/source/config/bootstrap \
74 unotools/source/config/cmdoptions \
75 unotools/source/config/compatibility \
76 unotools/source/config/configitem \
77 unotools/source/config/configmgr \
78 unotools/source/config/confignode \
79 unotools/source/config/configpaths \
80 unotools/source/config/configvaluecontainer \
81 unotools/source/config/defaultoptions \
82 unotools/source/config/docinfohelper \
83 unotools/source/config/dynamicmenuoptions \
84 unotools/source/config/eventcfg \
85 unotools/source/config/extendedsecurityoptions \
86 unotools/source/config/fltrcfg \
87 unotools/source/config/fontcfg \
88 unotools/source/config/fontoptions \
89 unotools/source/config/historyoptions \
90 unotools/source/config/internaloptions \
91 unotools/source/config/itemholder1 \
92 unotools/source/config/lingucfg \
93 unotools/source/config/localisationoptions \
94 unotools/source/config/misccfg \
95 unotools/source/config/moduleoptions \
96 unotools/source/config/options \
97 unotools/source/config/optionsdlg \
98 unotools/source/config/pathoptions \
99 unotools/source/config/printwarningoptions \
100 unotools/source/config/saveopt \
101 unotools/source/config/searchopt \
102 unotools/source/config/securityoptions \
103 unotools/source/config/syslocaleoptions \
104 unotools/source/config/useroptions \
105 unotools/source/config/viewoptions \
106 unotools/source/config/workingsetoptions \
107 unotools/source/config/xmlaccelcfg \
108 unotools/source/i18n/calendarwrapper \
109 unotools/source/i18n/caserotate \
110 unotools/source/i18n/charclass \
111 unotools/source/i18n/collatorwrapper \
112 unotools/source/i18n/intlwrapper \
113 unotools/source/i18n/localedatawrapper \
114 unotools/source/i18n/nativenumberwrapper \
115 unotools/source/i18n/numberformatcodewrapper \
116 unotools/source/i18n/readwritemutexguard \
117 unotools/source/i18n/textsearch \
118 unotools/source/i18n/transliterationwrapper \
119 unotools/source/misc/atom \
120 unotools/source/misc/closeveto \
121 unotools/source/misc/componentresmodule \
122 unotools/source/misc/datetime \
123 unotools/source/misc/desktopterminationobserver \
124 unotools/source/misc/eventlisteneradapter \
125 unotools/source/misc/fontcvt \
126 unotools/source/misc/fontdefs \
127 unotools/source/misc/sharedunocomponent \
128 unotools/source/misc/syslocale \
129 unotools/source/streaming/streamhelper \
130 unotools/source/streaming/streamwrap \
131 unotools/source/ucbhelper/localfilehelper \
132 unotools/source/ucbhelper/progresshandlerwrap \
133 unotools/source/ucbhelper/tempfile \
134 unotools/source/ucbhelper/ucbhelper \
135 unotools/source/ucbhelper/ucblockbytes \
136 unotools/source/ucbhelper/ucbstreamhelper \
137 unotools/source/ucbhelper/xtempfile \
140 # vim: set noet sw=4 ts=4: