sc: ubsan - initialize D&D pointers properly.
[LibreOffice.git] / unotools / Library_utl.mk
blob07603acb5213a8b31bd2a514722c0c0f6083d2fe
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 # declare a library
11 # utl is the name of the library as it is found in Repository.mk
12 $(eval $(call gb_Library_Library,utl))
14 $(eval $(call gb_Library_use_externals,utl,\
15 boost_headers \
16 boost_locale \
19 $(eval $(call gb_Library_use_custom_headers,utl,\
20 officecfg/registry \
23 # in case UNO services are exported: declare location of component file
24 $(eval $(call gb_Library_set_componentfile,utl,unotools/util/utl))
26 $(eval $(call gb_Library_set_include,utl, \
27 $$(INCLUDE) \
28 -I$(SRCDIR)/unotools/inc \
31 # add any additional definitions to be set for compilation here
32 # (e.g. -DLIB_DLLIMPLEMENTATION)
33 $(eval $(call gb_Library_add_defs,utl,\
34 -DUNOTOOLS_DLLIMPLEMENTATION \
37 $(eval $(call gb_Library_set_precompiled_header,utl,unotools/inc/pch/precompiled_utl))
39 $(eval $(call gb_Library_use_sdk_api,utl))
41 # add libraries to be linked to utl; again these names need to be given as
42 # specified in Repository.mk
43 $(eval $(call gb_Library_use_libraries,utl,\
44 comphelper \
45 cppu \
46 cppuhelper \
47 i18nlangtag \
48 sal \
49 salhelper \
50 tl \
51 ucbhelper \
54 # add all source files that shall be compiled with exceptions enabled
55 # the name is relative to $(SRCROOT) and must not contain an extension
56 $(eval $(call gb_Library_add_exception_objects,utl,\
57 unotools/source/accessibility/accessiblerelationsethelper \
58 unotools/source/accessibility/accessiblestatesethelper \
59 unotools/source/config/bootstrap \
60 unotools/source/config/cmdoptions \
61 unotools/source/config/compatibility \
62 unotools/source/config/configitem \
63 unotools/source/config/configmgr \
64 unotools/source/config/confignode \
65 unotools/source/config/configpaths \
66 unotools/source/config/configvaluecontainer \
67 unotools/source/config/defaultoptions \
68 unotools/source/config/docinfohelper \
69 unotools/source/config/dynamicmenuoptions \
70 unotools/source/config/eventcfg \
71 unotools/source/config/fltrcfg \
72 unotools/source/config/fontcfg \
73 unotools/source/config/historyoptions \
74 unotools/source/config/itemholder1 \
75 unotools/source/config/lingucfg \
76 unotools/source/config/moduleoptions \
77 unotools/source/config/options \
78 unotools/source/config/optionsdlg \
79 unotools/source/config/pathoptions \
80 unotools/source/config/saveopt \
81 unotools/source/config/searchopt \
82 unotools/source/config/securityoptions \
83 unotools/source/config/syslocaleoptions \
84 unotools/source/config/useroptions \
85 unotools/source/config/viewoptions \
86 unotools/source/i18n/calendarwrapper \
87 unotools/source/i18n/caserotate \
88 unotools/source/i18n/charclass \
89 unotools/source/i18n/collatorwrapper \
90 unotools/source/i18n/intlwrapper \
91 unotools/source/i18n/localedatawrapper \
92 unotools/source/i18n/nativenumberwrapper \
93 unotools/source/i18n/resmgr \
94 unotools/source/i18n/textsearch \
95 unotools/source/i18n/transliterationwrapper \
96 unotools/source/misc/closeveto \
97 unotools/source/misc/datetime \
98 unotools/source/misc/defaultencoding \
99 unotools/source/misc/desktopterminationobserver \
100 unotools/source/misc/eventlisteneradapter \
101 unotools/source/misc/fontcvt \
102 unotools/source/misc/fontdefs \
103 unotools/source/misc/mediadescriptor \
104 unotools/source/misc/sharedunocomponent \
105 unotools/source/misc/syslocale \
106 unotools/source/misc/wincodepage \
107 unotools/source/misc/ServiceDocumenter \
108 unotools/source/misc/ZipPackageHelper \
109 unotools/source/streaming/streamhelper \
110 unotools/source/streaming/streamwrap \
111 unotools/source/ucbhelper/localfilehelper \
112 unotools/source/ucbhelper/progresshandlerwrap \
113 unotools/source/ucbhelper/tempfile \
114 unotools/source/ucbhelper/ucbhelper \
115 unotools/source/ucbhelper/ucblockbytes \
116 unotools/source/ucbhelper/ucbstreamhelper \
117 unotools/source/ucbhelper/xtempfile \
120 # vim: set noet sw=4 ts=4: