lok: calm down CnP issues & simplify.
[LibreOffice.git] / svx / Library_svx.mk
blobb9acb5e380e5bcf1bcccf212fdfbc90fffd8793b
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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,svx))
22 $(eval $(call gb_Library_set_componentfile,svx,svx/util/svx))
24 $(eval $(call gb_Library_set_include,svx,\
25 -I$(SRCDIR)/svx/inc \
26 -I$(SRCDIR)/svx/source/inc \
27 $$(INCLUDE) \
30 $(eval $(call gb_Library_use_sdk_api,svx))
32 $(eval $(call gb_Library_use_custom_headers,svx,\
33 officecfg/registry \
36 $(eval $(call gb_Library_add_defs,svx,\
37 -DSVX_DLLIMPLEMENTATION \
38 -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
41 $(eval $(call gb_Library_set_precompiled_header,svx,$(SRCDIR)/svx/inc/pch/precompiled_svx))
43 $(eval $(call gb_Library_use_libraries,svx,\
44 $(call gb_Helper_optional,AVMEDIA,avmedia) \
45 basegfx \
46 sb \
47 comphelper \
48 cppuhelper \
49 cppu \
50 $(call gb_Helper_optional,BREAKPAD, \
51 crashreport) \
52 $(call gb_Helper_optional,DBCONNECTIVITY, \
53 dbtools) \
54 drawinglayer \
55 editeng \
56 fwe \
57 i18nlangtag \
58 i18nutil \
59 sal \
60 salhelper \
61 sfx \
62 sot \
63 svl \
64 svt \
65 svxcore \
66 tk \
67 tl \
68 ucbhelper \
69 utl \
70 vcl \
71 xo \
72 xmlscript \
75 $(eval $(call gb_Library_use_externals,svx,\
76 boost_headers \
77 $(call gb_Helper_optional,BREAKPAD, \
78 curl) \
79 icuuc \
80 icu_headers \
83 $(eval $(call gb_Library_add_exception_objects,svx,\
84 svx/source/accessibility/AccessibleControlShape \
85 svx/source/accessibility/AccessibleEmptyEditSource \
86 svx/source/accessibility/AccessibleFrameSelector \
87 svx/source/accessibility/AccessibleGraphicShape \
88 svx/source/accessibility/AccessibleOLEShape \
89 svx/source/accessibility/AccessibleShape \
90 svx/source/accessibility/AccessibleShapeInfo \
91 svx/source/accessibility/AccessibleShapeTreeInfo \
92 svx/source/accessibility/AccessibleSvxFindReplaceDialog \
93 svx/source/accessibility/AccessibleTextEventQueue \
94 svx/source/accessibility/AccessibleTextHelper \
95 svx/source/accessibility/ChildrenManager \
96 svx/source/accessibility/ChildrenManagerImpl \
97 svx/source/accessibility/DescriptionGenerator \
98 svx/source/accessibility/GraphCtlAccessibleContext \
99 svx/source/accessibility/ShapeTypeHandler \
100 svx/source/accessibility/SvxShapeTypes \
101 svx/source/accessibility/charmapacc \
102 svx/source/accessibility/lookupcolorname \
103 svx/source/accessibility/svxpixelctlaccessiblecontext \
104 svx/source/accessibility/svxrectctaccessiblecontext \
105 svx/source/customshapes/EnhancedCustomShape3d \
106 svx/source/customshapes/EnhancedCustomShapeEngine \
107 svx/source/customshapes/EnhancedCustomShapeFontWork \
108 svx/source/customshapes/EnhancedCustomShapeHandle \
109 svx/source/dialog/_bmpmask \
110 svx/source/dialog/charmap \
111 svx/source/dialog/searchcharmap \
112 svx/source/dialog/connctrl \
113 svx/source/dialog/_contdlg \
114 svx/source/dialog/contwnd \
115 svx/source/dialog/compressgraphicdialog \
116 $(call gb_Helper_optional,BREAKPAD, \
117 svx/source/dialog/crashreportdlg \
118 svx/source/dialog/crashreportui) \
119 svx/source/dialog/ctredlin \
120 svx/source/dialog/ClassificationCommon \
121 svx/source/dialog/ClassificationDialog \
122 svx/source/dialog/ClassificationEditView \
123 svx/source/dialog/databaseregistrationui \
124 svx/source/dialog/dialcontrol \
125 svx/source/dialog/dlgctl3d \
126 svx/source/dialog/dlgctrl \
127 svx/source/dialog/docrecovery \
128 svx/source/dialog/fntctrl \
129 svx/source/dialog/fontlb \
130 svx/source/dialog/fontwork \
131 svx/source/dialog/frmdirlbox \
132 svx/source/dialog/frmsel \
133 svx/source/dialog/graphctl \
134 svx/source/dialog/grfflt \
135 svx/source/dialog/hdft \
136 svx/source/dialog/hyperdlg \
137 svx/source/dialog/imapdlg \
138 svx/source/dialog/imapwnd \
139 svx/source/dialog/linkwarn \
140 svx/source/dialog/measctrl \
141 svx/source/dialog/optgrid \
142 svx/source/dialog/pagectrl \
143 svx/source/dialog/paraprev \
144 svx/source/dialog/passwd \
145 svx/source/dialog/relfld \
146 svx/source/dialog/rlrcitem \
147 svx/source/dialog/rubydialog \
148 svx/source/dialog/rulritem \
149 svx/source/dialog/SafeModeDialog \
150 svx/source/dialog/SafeModeUI \
151 svx/source/dialog/SpellDialogChildWindow \
152 svx/source/dialog/srchctrl \
153 svx/source/dialog/srchdlg \
154 svx/source/dialog/strarray \
155 svx/source/dialog/svxbmpnumvalueset \
156 svx/source/dialog/svxgrahicitem \
157 svx/source/dialog/svxruler \
158 svx/source/dialog/swframeexample \
159 svx/source/dialog/swframeposstrings \
160 svx/source/dialog/txencbox \
161 svx/source/dialog/txenctab \
162 svx/source/engine3d/float3d \
163 svx/source/items/algitem \
164 svx/source/items/hlnkitem \
165 svx/source/items/numfmtsh \
166 svx/source/items/numinf \
167 svx/source/items/ofaitem \
168 svx/source/items/pageitem \
169 svx/source/items/postattr \
170 svx/source/items/rotmodit \
171 svx/source/items/SmartTagItem \
172 svx/source/items/svxerr \
173 svx/source/items/viewlayoutitem \
174 svx/source/items/zoomslideritem \
175 svx/source/mnuctrls/clipboardctl \
176 svx/source/mnuctrls/smarttagmenu \
177 svx/source/sidebar/ContextChangeEventMultiplexer \
178 svx/source/sidebar/EmptyPanel \
179 svx/source/sidebar/nbdtmg \
180 svx/source/sidebar/nbdtmgfact \
181 svx/source/sidebar/PanelFactory \
182 svx/source/sidebar/PanelLayout \
183 svx/source/sidebar/SelectionAnalyzer \
184 svx/source/sidebar/SelectionChangeHandler \
185 svx/source/sidebar/text/TextCharacterSpacingControl \
186 svx/source/sidebar/text/TextCharacterSpacingPopup \
187 svx/source/sidebar/text/TextUnderlineControl \
188 svx/source/sidebar/text/TextUnderlinePopup \
189 svx/source/sidebar/text/TextPropertyPanel \
190 svx/source/sidebar/styles/StylesPropertyPanel \
191 svx/source/sidebar/paragraph/ParaLineSpacingControl \
192 svx/source/sidebar/paragraph/ParaLineSpacingPopup \
193 svx/source/sidebar/paragraph/ParaPropertyPanel \
194 svx/source/sidebar/paragraph/ParaSpacingWindow \
195 svx/source/sidebar/paragraph/ParaSpacingControl \
196 svx/source/sidebar/area/AreaPropertyPanel \
197 svx/source/sidebar/area/AreaPropertyPanelBase \
198 svx/source/sidebar/area/AreaTransparencyGradientPopup \
199 svx/source/sidebar/shadow/ShadowPropertyPanel \
200 svx/source/sidebar/graphic/GraphicPropertyPanel \
201 svx/source/sidebar/line/LinePropertyPanel \
202 svx/source/sidebar/line/LinePropertyPanelBase \
203 svx/source/sidebar/line/LineWidthValueSet \
204 svx/source/sidebar/line/LineWidthPopup \
205 svx/source/sidebar/media/MediaPlaybackPanel \
206 svx/source/sidebar/possize/PosSizePropertyPanel \
207 svx/source/sidebar/possize/SidebarDialControl \
208 svx/source/sidebar/shapes/DefaultShapesPanel \
209 svx/source/sidebar/shapes/ShapesUtil \
210 svx/source/sidebar/tools/ValueSetWithTextControl \
211 svx/source/stbctrls/pszctrl \
212 svx/source/stbctrls/insctrl \
213 svx/source/stbctrls/selctrl \
214 svx/source/stbctrls/xmlsecctrl \
215 svx/source/stbctrls/modctrl \
216 svx/source/stbctrls/zoomsliderctrl \
217 svx/source/stbctrls/zoomctrl \
218 svx/source/svdraw/ActionDescriptionProvider \
219 svx/source/smarttags/SmartTagMgr \
220 svx/source/table/accessiblecell \
221 svx/source/table/accessibletableshape \
222 svx/source/table/tabledesign \
223 svx/source/table/tablertfexporter \
224 svx/source/table/tablertfimporter \
225 svx/source/tbxctrls/bulletsnumbering \
226 svx/source/tbxctrls/colrctrl \
227 svx/source/tbxctrls/SvxColorChildWindow \
228 svx/source/tbxctrls/fillctrl \
229 svx/source/tbxctrls/formatpaintbrushctrl \
230 svx/source/tbxctrls/grafctrl \
231 svx/source/tbxctrls/itemwin \
232 svx/source/tbxctrls/layctrl \
233 svx/source/tbxctrls/lboxctrl \
234 svx/source/tbxctrls/linectrl \
235 svx/source/tbxctrls/tbunocontroller \
236 svx/source/tbxctrls/tbunosearchcontrollers \
237 svx/source/tbxctrls/tbxcolor \
238 svx/source/tbxctrls/tbxdrctl \
239 svx/source/tbxctrls/verttexttbxctrl \
240 svx/source/uitest/uiobject \
241 svx/source/unodraw/recoveryui \
242 svx/source/unodraw/unoctabl \
243 svx/source/unodraw/UnoNamespaceMap \
244 svx/source/unodraw/unopool \
245 svx/source/unodraw/unoshcol \
246 svx/source/unogallery/unogalitem \
247 svx/source/unogallery/unogaltheme \
248 svx/source/unogallery/unogalthemeprovider \
251 $(eval $(call gb_Library_add_exception_objects,svx,\
252 svx/source/fmcomp/dbaobjectex \
253 svx/source/form/databaselocationinput \
254 svx/source/form/dbcharsethelper \
255 $(call gb_Helper_optional,DBCONNECTIVITY,svx/source/form/filtnav) \
256 svx/source/form/fmobjfac \
257 svx/source/form/fmPropBrw \
258 svx/source/form/fmsrccfg \
259 svx/source/form/fmsrcimp \
260 svx/source/form/tabwin \
261 svx/source/form/tbxform \
264 ifeq ($(OS),WNT)
265 $(eval $(call gb_Library_use_system_win32_libs,svx,\
266 advapi32 \
268 endif
270 # vim: set noet sw=4 ts=4: