Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / cui / Library_cui.mk
blob3ee744e32d0fd376884e23998a9a0a85813dfb67
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 $(eval $(call gb_Library_Library,cui))
12 $(eval $(call gb_Library_set_componentfile,cui,cui/util/cui,services))
14 $(eval $(call gb_Library_set_include,cui,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/cui/inc \
17 -I$(SRCDIR)/cui/source/inc \
20 $(eval $(call gb_Library_set_precompiled_header,cui,cui/inc/pch/precompiled_cui))
22 $(eval $(call gb_Library_add_defs,cui,\
23 -DCUI_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_use_custom_headers,cui,\
27 officecfg/registry \
28 oox/generated \
31 $(eval $(call gb_Library_use_sdk_api,cui))
33 $(eval $(call gb_Library_use_libraries,cui,\
34 $(call gb_Helper_optional,AVMEDIA,avmedia) \
35 basegfx \
36 comphelper \
37 cppu \
38 cppuhelper \
39 docmodel \
40 drawinglayer \
41 editeng \
42 i18nlangtag \
43 i18nutil \
44 $(if $(ENABLE_JAVA), \
45 jvmfwk) \
46 lng \
47 $(call gb_Helper_optional,OPENCL, \
48 opencl) \
49 sal \
50 salhelper \
51 sax \
52 sb \
53 sfx \
54 sot \
55 svl \
56 svt \
57 svxcore \
58 svx \
59 tk \
60 tl \
61 ucbhelper \
62 utl \
63 vcl \
64 $(if $(ENABLE_BREAKPAD), \
65 crashreport \
66 ) \
69 $(eval $(call gb_Library_use_externals,cui,\
70 boost_headers \
71 $(call gb_Helper_optional,OPENCL,\
72 clew) \
73 icuuc \
74 icu_headers \
75 libxml2 \
76 orcus-parser \
77 orcus \
78 zxing \
81 ifeq ($(OS),WNT)
82 $(eval $(call gb_Library_use_system_win32_libs,cui,\
83 advapi32 \
84 shlwapi \
87 $(eval $(call gb_Library_add_exception_objects,cui,\
88 cui/source/dialogs/fileextcheckdlg \
90 endif
92 ifneq ($(ENABLE_WASM_STRIP_PINGUSER),TRUE)
93 $(eval $(call gb_Library_add_exception_objects,cui,\
94 cui/source/dialogs/tipofthedaydlg \
96 endif
98 ifneq ($(ENABLE_WASM_STRIP_HUNSPELL),TRUE)
99 $(eval $(call gb_Library_add_exception_objects,cui,\
100 cui/source/dialogs/hyphen \
102 endif
104 $(eval $(call gb_Library_add_exception_objects,cui,\
105 cui/source/customize/acccfg \
106 cui/source/customize/cfg \
107 cui/source/customize/cfgutil \
108 cui/source/customize/CommandCategoryListBox \
109 cui/source/customize/eventdlg \
110 cui/source/customize/macropg \
111 cui/source/customize/SvxConfigPageHelper \
112 cui/source/customize/SvxMenuConfigPage \
113 cui/source/customize/SvxToolbarConfigPage \
114 cui/source/customize/SvxNotebookbarConfigPage \
115 cui/source/customize/CustomNotebookbarGenerator \
116 cui/source/dialogs/about \
117 cui/source/dialogs/whatsnew \
118 $(call gb_Helper_optional,EXTENSIONS, \
119 cui/source/dialogs/AdditionsDialog) \
120 cui/source/dialogs/colorpicker \
121 cui/source/dialogs/cuifmsearch \
122 cui/source/dialogs/cuigaldlg \
123 cui/source/dialogs/cuigrfflt \
124 cui/source/dialogs/cuihyperdlg \
125 cui/source/dialogs/cuiimapwnd \
126 cui/source/dialogs/cuitbxform \
127 cui/source/dialogs/dlgname \
128 cui/source/dialogs/DiagramDialog \
129 cui/source/dialogs/FontFeaturesDialog \
130 cui/source/dialogs/hangulhanjadlg \
131 cui/source/dialogs/hldocntp \
132 cui/source/dialogs/hldoctp \
133 cui/source/dialogs/hlinettp \
134 cui/source/dialogs/hlmailtp \
135 cui/source/dialogs/hlmarkwn \
136 cui/source/dialogs/hltpbase \
137 cui/source/dialogs/iconcdlg \
138 cui/source/dialogs/insdlg \
139 cui/source/dialogs/insrc \
140 cui/source/dialogs/linkdlg \
141 cui/source/dialogs/multipat \
142 cui/source/dialogs/newtabledlg \
143 cui/source/dialogs/passwdomdlg \
144 cui/source/dialogs/screenshotannotationdlg \
145 cui/source/dialogs/pastedlg \
146 cui/source/dialogs/postdlg \
147 cui/source/dialogs/QrCodeGenDialog \
148 cui/source/dialogs/GraphicTestsDialog \
149 cui/source/dialogs/ImageViewerDialog \
150 cui/source/dialogs/scriptdlg \
151 cui/source/dialogs/SignatureLineDialogBase \
152 cui/source/dialogs/SignatureLineDialog \
153 cui/source/dialogs/SignSignatureLineDialog \
154 cui/source/dialogs/sdrcelldlg \
155 cui/source/dialogs/showcols \
156 cui/source/dialogs/SpellDialog \
157 cui/source/dialogs/splitcelldlg \
158 cui/source/dialogs/srchxtra \
159 cui/source/dialogs/thesdlg \
160 cui/source/dialogs/toolbarmodedlg \
161 cui/source/dialogs/zoom \
162 cui/source/factory/cuiexp \
163 cui/source/factory/cuiresmgr \
164 cui/source/factory/dlgfact \
165 cui/source/factory/init \
166 cui/source/options/certpath \
167 cui/source/options/cfgchart \
168 cui/source/options/connpoolconfig \
169 cui/source/options/connpooloptions \
170 cui/source/options/connpoolsettings \
171 cui/source/options/cuisrchdlg \
172 cui/source/options/dbregister \
173 cui/source/options/dbregisterednamesconfig \
174 cui/source/options/dbregistersettings \
175 cui/source/options/doclinkdialog \
176 cui/source/options/fontsubs \
177 cui/source/options/optaboutconfig \
178 cui/source/options/optaccessibility \
179 cui/source/options/optasian \
180 $(call gb_Helper_optional,SCRIPTING, \
181 cui/source/options/optbasic) \
182 cui/source/options/optchart \
183 cui/source/options/optcolor \
184 cui/source/options/optctl \
185 cui/source/options/optdict \
186 cui/source/options/optfltr \
187 cui/source/options/optgdlg \
188 cui/source/options/optgenrl \
189 cui/source/options/opthtml \
190 cui/source/options/optlanguagetool \
191 cui/source/options/optdeepl \
192 cui/source/options/optinet2 \
193 cui/source/options/optjava \
194 cui/source/options/optjsearch \
195 cui/source/options/optlingu \
196 $(call gb_Helper_optional,OPENCL, \
197 cui/source/options/optopencl) \
198 cui/source/options/optpath \
199 cui/source/options/optsave \
200 cui/source/options/optupdt \
201 $(call gb_Helper_optional,DESKTOP,\
202 cui/source/options/personalization) \
203 cui/source/options/sdbcdriverenum \
204 cui/source/options/securityoptions \
205 cui/source/options/treeopt \
206 cui/source/options/treeopthelper \
207 cui/source/options/tsaurls \
208 cui/source/options/webconninfo \
209 cui/source/tabpages/align \
210 cui/source/tabpages/autocdlg \
211 cui/source/tabpages/backgrnd \
212 cui/source/tabpages/bbdlg \
213 cui/source/tabpages/border \
214 cui/source/tabpages/chardlg \
215 cui/source/tabpages/connect \
216 cui/source/tabpages/grfpage \
217 cui/source/tabpages/labdlg \
218 cui/source/tabpages/macroass \
219 cui/source/tabpages/measure \
220 cui/source/tabpages/numfmt \
221 cui/source/tabpages/numpages \
222 cui/source/tabpages/page \
223 cui/source/tabpages/paragrph \
224 cui/source/tabpages/swpossizetabpage \
225 cui/source/tabpages/tabarea \
226 cui/source/tabpages/tabline \
227 cui/source/tabpages/tabstpge \
228 cui/source/tabpages/textanim \
229 cui/source/tabpages/textattr \
230 cui/source/tabpages/TextColumnsPage \
231 cui/source/tabpages/tparea \
232 cui/source/tabpages/tpbitmap \
233 cui/source/tabpages/tpcolor \
234 cui/source/tabpages/tpgradnt \
235 cui/source/tabpages/tphatch \
236 cui/source/tabpages/tpline \
237 cui/source/tabpages/tplnedef \
238 cui/source/tabpages/tplneend \
239 cui/source/tabpages/tppattern \
240 cui/source/tabpages/tpshadow \
241 cui/source/tabpages/tptrans \
242 cui/source/tabpages/transfrm \
243 cui/source/util/FontFeatures \
244 cui/source/dialogs/widgettestdlg \
247 # vim: set noet sw=4 ts=4: