Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / unotools / Library_utl.mk
blob1c5a0ac2391d697d5c96d9610d8148313adfd4fb
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,services))
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 $(eval $(call gb_Library_add_exception_objects,utl,\
55 unotools/source/accessibility/accessiblerelationsethelper \
58 # add all source files that shall be compiled with exceptions enabled
59 # the name is relative to $(SRCROOT) and must not contain an extension
60 $(eval $(call gb_Library_add_exception_objects,utl,\
61 unotools/source/config/bootstrap \
62 unotools/source/config/cmdoptions \
63 unotools/source/config/compatibility \
64 unotools/source/config/configitem \
65 unotools/source/config/configmgr \
66 unotools/source/config/confignode \
67 unotools/source/config/configpaths \
68 unotools/source/config/configvaluecontainer \
69 unotools/source/config/defaultoptions \
70 unotools/source/config/docinfohelper \
71 unotools/source/config/dynamicmenuoptions \
72 unotools/source/config/eventcfg \
73 unotools/source/config/fontcfg \
74 unotools/source/config/historyoptions \
75 unotools/source/config/itemholder1 \
76 unotools/source/config/lingucfg \
77 unotools/source/config/moduleoptions \
78 unotools/source/config/options \
79 unotools/source/config/optionsdlg \
80 unotools/source/config/pathoptions \
81 unotools/source/config/saveopt \
82 unotools/source/config/searchopt \
83 unotools/source/config/securityoptions \
84 unotools/source/config/syslocaleoptions \
85 unotools/source/config/useroptions \
86 unotools/source/config/viewoptions \
87 unotools/source/i18n/calendarwrapper \
88 unotools/source/i18n/caserotate \
89 unotools/source/i18n/charclass \
90 unotools/source/i18n/collatorwrapper \
91 unotools/source/i18n/intlwrapper \
92 unotools/source/i18n/localedatawrapper \
93 unotools/source/i18n/nativenumberwrapper \
94 unotools/source/i18n/resmgr \
95 unotools/source/i18n/textsearch \
96 unotools/source/i18n/transliterationwrapper \
97 unotools/source/misc/closeveto \
98 unotools/source/misc/datetime \
99 unotools/source/misc/defaultencoding \
100 unotools/source/misc/desktopterminationobserver \
101 unotools/source/misc/eventlisteneradapter \
102 unotools/source/misc/fontcvt \
103 unotools/source/misc/fontdefs \
104 unotools/source/misc/mediadescriptor \
105 unotools/source/misc/sharedunocomponent \
106 unotools/source/misc/syslocale \
107 unotools/source/misc/wincodepage \
108 unotools/source/misc/ServiceDocumenter \
109 unotools/source/misc/ZipPackageHelper \
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: