xref: /aoo42x/main/svx/Library_svx.mk (revision b63233d8)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,svx))
25
26$(eval $(call gb_Library_set_componentfile,svx,svx/util/svx))
27
28$(eval $(call gb_Library_set_include,svx,\
29	-I$(SRCDIR)/svx/inc \
30	-I$(SRCDIR)/svx/source/inc \
31	-I$(SRCDIR)/svx/inc/pch \
32	$$(SOLARINC) \
33))
34
35$(eval $(call gb_Library_add_api,svx,\
36	udkapi \
37	offapi \
38))
39
40$(eval $(call gb_Library_add_defs,svx,\
41	-DSVX_DLLIMPLEMENTATION \
42	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
43))
44
45$(eval $(call gb_Library_add_linked_libs,svx,\
46	basegfx \
47	sb \
48	comphelper \
49	cppuhelper \
50	cppu \
51	drawinglayer \
52	editeng \
53	fwe \
54	fwk \
55	i18nisolang1 \
56	sal \
57	sfx \
58	sot \
59	stl \
60	svl \
61	svt \
62	svxcore \
63	ootk \
64	tl \
65	ucbhelper \
66	utl \
67	vcl \
68	vos3 \
69	xo \
70	xcr \
71    $(gb_STDLIBS) \
72))
73
74$(call gb_Library_use_external,svx,icuuc)
75
76$(eval $(call gb_Library_add_exception_objects,svx,\
77    svx/source/accessibility/AccessibleControlShape \
78    svx/source/accessibility/AccessibleEmptyEditSource \
79    svx/source/accessibility/AccessibleFrameSelector \
80    svx/source/accessibility/AccessibleGraphicShape \
81    svx/source/accessibility/AccessibleOLEShape \
82    svx/source/accessibility/AccessibleShape \
83    svx/source/accessibility/AccessibleShapeInfo \
84    svx/source/accessibility/AccessibleShapeTreeInfo \
85    svx/source/accessibility/AccessibleSvxFindReplaceDialog \
86    svx/source/accessibility/AccessibleTextEventQueue \
87    svx/source/accessibility/AccessibleTextHelper \
88    svx/source/accessibility/charmapacc \
89    svx/source/accessibility/ChildrenManager \
90    svx/source/accessibility/ChildrenManagerImpl \
91    svx/source/accessibility/DescriptionGenerator \
92    svx/source/accessibility/DGColorNameLookUp \
93    svx/source/accessibility/GraphCtlAccessibleContext \
94    svx/source/accessibility/ShapeTypeHandler \
95    svx/source/accessibility/svxpixelctlaccessiblecontext \
96    svx/source/accessibility/svxrectctaccessiblecontext \
97    svx/source/accessibility/SvxShapeTypes \
98    svx/source/customshapes/EnhancedCustomShape3d \
99    svx/source/customshapes/EnhancedCustomShapeEngine \
100    svx/source/customshapes/EnhancedCustomShapeFontWork \
101    svx/source/customshapes/EnhancedCustomShapeHandle \
102    svx/source/customshapes/tbxcustomshapes \
103    svx/source/dialog/_bmpmask \
104    svx/source/dialog/charmap \
105    svx/source/dialog/connctrl \
106    svx/source/dialog/_contdlg \
107    svx/source/dialog/contwnd \
108    svx/source/dialog/ctredlin \
109    svx/source/dialog/databaseregistrationui \
110    svx/source/dialog/dialcontrol \
111    svx/source/dialog/dlgctl3d \
112    svx/source/dialog/dlgctrl \
113    svx/source/dialog/docrecovery \
114    svx/source/dialog/fntctrl \
115    svx/source/dialog/fontlb \
116    svx/source/dialog/fontwork \
117    svx/source/dialog/framelinkarray \
118    svx/source/dialog/frmdirlbox \
119    svx/source/dialog/frmsel \
120    svx/source/dialog/graphctl \
121    svx/source/dialog/grfflt \
122    svx/source/dialog/hdft \
123    svx/source/dialog/hyperdlg \
124    svx/source/dialog/hyprlink \
125    svx/source/dialog/imapdlg \
126    svx/source/dialog/imapwnd \
127    svx/source/dialog/measctrl \
128    svx/source/dialog/optgrid \
129    svx/source/dialog/orienthelper \
130    svx/source/dialog/pagectrl \
131    svx/source/dialog/paraprev \
132    svx/source/dialog/passwd \
133    svx/source/dialog/pfiledlg \
134    svx/source/dialog/prtqry \
135    svx/source/dialog/relfld \
136    svx/source/dialog/rlrcitem \
137    svx/source/dialog/rubydialog \
138    svx/source/dialog/rulritem \
139    svx/source/dialog/SpellDialogChildWindow \
140    svx/source/dialog/srchctrl \
141    svx/source/dialog/srchdlg \
142    svx/source/dialog/strarray \
143    svx/source/dialog/svxbmpnumvalueset \
144    svx/source/dialog/svxgrahicitem \
145    svx/source/dialog/svxruler \
146    svx/source/dialog/swframeexample \
147    svx/source/dialog/swframeposstrings \
148    svx/source/dialog/txencbox \
149    svx/source/dialog/txenctab \
150    svx/source/dialog/wrapfield \
151    svx/source/engine3d/float3d \
152    svx/source/fmcomp/dbaobjectex \
153    svx/source/form/databaselocationinput \
154    svx/source/form/dbcharsethelper \
155    svx/source/form/filtnav \
156    svx/source/form/fmobjfac \
157    svx/source/form/fmPropBrw \
158    svx/source/form/fmsrccfg \
159    svx/source/form/fmsrcimp \
160    svx/source/form/tabwin \
161    svx/source/form/tbxform \
162    svx/source/items/algitem \
163    svx/source/items/hlnkitem \
164    svx/source/items/numfmtsh \
165    svx/source/items/numinf \
166    svx/source/items/ofaitem \
167    svx/source/items/pageitem \
168    svx/source/items/postattr \
169    svx/source/items/rotmodit \
170    svx/source/items/SmartTagItem \
171    svx/source/items/svxempty \
172    svx/source/items/svxerr \
173    svx/source/items/viewlayoutitem \
174    svx/source/items/zoomitem \
175    svx/source/items/zoomslideritem \
176    svx/source/mnuctrls/clipboardctl \
177    svx/source/mnuctrls/fntctl \
178    svx/source/mnuctrls/fntszctl \
179    svx/source/mnuctrls/SmartTagCtl \
180    svx/source/sidebar/ContextChangeEventMultiplexer \
181    svx/source/sidebar/EmptyPanel \
182    svx/source/sidebar/nbdtmg \
183    svx/source/sidebar/nbdtmgfact	\
184    svx/source/sidebar/PanelFactory \
185    svx/source/sidebar/SelectionAnalyzer \
186    svx/source/sidebar/SelectionChangeHandler \
187    svx/source/sidebar/debug/ColorPanel \
188    svx/source/sidebar/debug/ContextPanel \
189    svx/source/sidebar/debug/NotYetImplementedPanel \
190    svx/source/sidebar/text/SvxSBFontNameBox \
191    svx/source/sidebar/text/TextCharacterSpacingControl \
192    svx/source/sidebar/text/TextCharacterSpacingPopup \
193    svx/source/sidebar/text/TextUnderlineControl \
194    svx/source/sidebar/text/TextUnderlinePopup \
195    svx/source/sidebar/text/TextPropertyPanel \
196    svx/source/sidebar/paragraph/ParaNumberingControl \
197    svx/source/sidebar/paragraph/ParaNumberingPopup \
198    svx/source/sidebar/paragraph/ParaBulletsControl \
199    svx/source/sidebar/paragraph/ParaBulletsPopup \
200    svx/source/sidebar/paragraph/ParaLineSpacingControl \
201    svx/source/sidebar/paragraph/ParaLineSpacingPopup \
202    svx/source/sidebar/paragraph/ParaPropertyPanel \
203    svx/source/sidebar/area/AreaPropertyPanel \
204    svx/source/sidebar/area/AreaTransparencyGradientControl \
205    svx/source/sidebar/area/AreaTransparencyGradientPopup \
206    svx/source/sidebar/graphic/GraphicPropertyPanel \
207    svx/source/sidebar/line/LinePropertyPanel \
208    svx/source/sidebar/line/LineStyleValueSet \
209    svx/source/sidebar/line/LineWidthControl \
210    svx/source/sidebar/line/LineWidthValueSet \
211    svx/source/sidebar/line/LineWidthPopup \
212    svx/source/sidebar/possize/PosSizePropertyPanel \
213    svx/source/sidebar/possize/SidebarDialControl \
214    svx/source/sidebar/possize/SidebarDialControlBmp \
215    svx/source/sidebar/tools/ColorControl \
216    svx/source/sidebar/tools/ColorPopup \
217    svx/source/sidebar/tools/PopupControl \
218    svx/source/sidebar/tools/PopupContainer \
219    svx/source/sidebar/tools/Popup \
220    svx/source/sidebar/tools/ValueSetWithTextControl \
221    svx/source/sidebar/insert/InsertPropertyPanel \
222    svx/source/stbctrls/pszctrl \
223    svx/source/stbctrls/insctrl \
224    svx/source/stbctrls/selctrl \
225    svx/source/stbctrls/xmlsecctrl \
226    svx/source/stbctrls/modctrl \
227    svx/source/stbctrls/zoomsliderctrl \
228    svx/source/stbctrls/zoomctrl \
229    svx/source/svdraw/ActionDescriptionProvider \
230    svx/source/smarttags/SmartTagMgr \
231    svx/source/svdraw/impgrfll \
232    svx/source/table/accessiblecell \
233    svx/source/table/accessibletableshape \
234    svx/source/table/celleditsource \
235    svx/source/table/tabledesign \
236    svx/source/table/tablertfexporter \
237    svx/source/table/tablertfimporter \
238    svx/source/tbxctrls/colrctrl \
239    svx/source/tbxctrls/SvxColorChildWindow \
240    svx/source/tbxctrls/fillctrl \
241    svx/source/tbxctrls/formatpaintbrushctrl \
242    svx/source/tbxctrls/grafctrl \
243    svx/source/tbxctrls/itemwin \
244    svx/source/tbxctrls/layctrl \
245    svx/source/tbxctrls/lboxctrl \
246    svx/source/tbxctrls/linectrl \
247    svx/source/tbxctrls/subtoolboxcontrol \
248    svx/source/tbxctrls/tbunocontroller \
249    svx/source/tbxctrls/tbunosearchcontrollers \
250    svx/source/tbxctrls/tbxalign \
251    svx/source/tbxctrls/tbxcolor \
252    svx/source/tbxctrls/tbxdrctl \
253    svx/source/tbxctrls/verttexttbxctrl \
254    svx/source/unodraw/recoveryui \
255    svx/source/unodraw/unoctabl \
256    svx/source/unodraw/UnoNamespaceMap \
257    svx/source/unodraw/unopool \
258    svx/source/unodraw/unoshcol \
259    svx/source/unogallery/unogalitem \
260    svx/source/unogallery/unogaltheme \
261    svx/source/unogallery/unogalthemeprovider \
262))
263
264ifeq ($(GUI),UNX)
265$(eval $(call gb_Library_add_exception_objects,svx,\
266    svx/source/dialog/sendreportunx \
267))
268else
269ifeq ($(OS),WNT)
270$(eval $(call gb_Library_add_linked_libs,svx,\
271	advapi32 \
272))
273$(eval $(call gb_Library_add_exception_objects,svx,\
274    svx/source/dialog/sendreportw32 \
275))
276else
277$(eval $(call gb_Library_add_exception_objects,svx,\
278    svx/source/dialog/sendreportgen \
279))
280endif
281endif
282
283# vim: set noet sw=4 ts=4:
284