xref: /aoo41x/main/svx/Library_svx.mk (revision da72173f)
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	-I$(OUTDIR)/inc/offuh \
34))
35
36$(eval $(call gb_Library_set_defs,svx,\
37	$$(DEFS) \
38	-DSVX_DLLIMPLEMENTATION \
39	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
40))
41
42$(eval $(call gb_Library_add_linked_libs,svx,\
43	basegfx \
44	sb \
45	comphelper \
46	cppuhelper \
47	cppu \
48	drawinglayer \
49	editeng \
50	i18nisolang1 \
51	icuuc \
52	sal \
53	sfx \
54	sot \
55	stl \
56	svl \
57	svt \
58	svxcore \
59	tk \
60	tl \
61	ucbhelper \
62	utl \
63	vcl \
64	vos3 \
65	xo \
66	xcr \
67    $(gb_STDLIBS) \
68))
69
70$(eval $(call gb_Library_add_exception_objects,svx,\
71    svx/source/accessibility/AccessibleControlShape \
72    svx/source/accessibility/AccessibleEmptyEditSource \
73    svx/source/accessibility/AccessibleFrameSelector \
74    svx/source/accessibility/AccessibleGraphicShape \
75    svx/source/accessibility/AccessibleOLEShape \
76    svx/source/accessibility/AccessibleShape \
77    svx/source/accessibility/AccessibleShapeInfo \
78    svx/source/accessibility/AccessibleShapeTreeInfo \
79    svx/source/accessibility/AccessibleTextEventQueue \
80    svx/source/accessibility/AccessibleTextHelper \
81    svx/source/accessibility/charmapacc \
82    svx/source/accessibility/ChildrenManager \
83    svx/source/accessibility/ChildrenManagerImpl \
84    svx/source/accessibility/DescriptionGenerator \
85    svx/source/accessibility/DGColorNameLookUp \
86    svx/source/accessibility/GraphCtlAccessibleContext \
87    svx/source/accessibility/ShapeTypeHandler \
88    svx/source/accessibility/svxrectctaccessiblecontext \
89    svx/source/accessibility/SvxShapeTypes \
90    svx/source/customshapes/EnhancedCustomShape3d \
91    svx/source/customshapes/EnhancedCustomShapeEngine \
92    svx/source/customshapes/EnhancedCustomShapeFontWork \
93    svx/source/customshapes/EnhancedCustomShapeHandle \
94    svx/source/customshapes/tbxcustomshapes \
95    svx/source/dialog/_bmpmask \
96    svx/source/dialog/charmap \
97    svx/source/dialog/connctrl \
98    svx/source/dialog/_contdlg \
99    svx/source/dialog/contwnd \
100    svx/source/dialog/ctredlin \
101    svx/source/dialog/databaseregistrationui \
102    svx/source/dialog/dialcontrol \
103    svx/source/dialog/dlgctl3d \
104    svx/source/dialog/dlgctrl \
105    svx/source/dialog/docrecovery \
106    svx/source/dialog/fntctrl \
107    svx/source/dialog/fontlb \
108    svx/source/dialog/fontwork \
109    svx/source/dialog/framelinkarray \
110    svx/source/dialog/frmdirlbox \
111    svx/source/dialog/frmsel \
112    svx/source/dialog/graphctl \
113    svx/source/dialog/grfflt \
114    svx/source/dialog/hdft \
115    svx/source/dialog/hyperdlg \
116    svx/source/dialog/hyprlink \
117    svx/source/dialog/imapdlg \
118    svx/source/dialog/imapwnd \
119    svx/source/dialog/measctrl \
120    svx/source/dialog/optgrid \
121    svx/source/dialog/orienthelper \
122    svx/source/dialog/pagectrl \
123    svx/source/dialog/paraprev \
124    svx/source/dialog/passwd \
125    svx/source/dialog/pfiledlg \
126    svx/source/dialog/prtqry \
127    svx/source/dialog/relfld \
128    svx/source/dialog/rlrcitem \
129    svx/source/dialog/rubydialog \
130    svx/source/dialog/rulritem \
131    svx/source/dialog/SpellDialogChildWindow \
132    svx/source/dialog/srchctrl \
133    svx/source/dialog/srchdlg \
134    svx/source/dialog/strarray \
135    svx/source/dialog/svxbmpnumvalueset \
136    svx/source/dialog/svxgrahicitem \
137    svx/source/dialog/svxruler \
138    svx/source/dialog/swframeexample \
139    svx/source/dialog/swframeposstrings \
140    svx/source/dialog/txencbox \
141    svx/source/dialog/txenctab \
142    svx/source/dialog/wrapfield \
143    svx/source/engine3d/float3d \
144    svx/source/fmcomp/dbaobjectex \
145    svx/source/form/databaselocationinput \
146    svx/source/form/dbcharsethelper \
147    svx/source/form/filtnav \
148    svx/source/form/fmobjfac \
149    svx/source/form/fmPropBrw \
150    svx/source/form/fmsrccfg \
151    svx/source/form/fmsrcimp \
152    svx/source/form/tabwin \
153    svx/source/form/tbxform \
154    svx/source/items/algitem \
155    svx/source/items/hlnkitem \
156    svx/source/items/numfmtsh \
157    svx/source/items/numinf \
158    svx/source/items/ofaitem \
159    svx/source/items/pageitem \
160    svx/source/items/postattr \
161    svx/source/items/rotmodit \
162    svx/source/items/SmartTagItem \
163    svx/source/items/svxempty \
164    svx/source/items/svxerr \
165    svx/source/items/viewlayoutitem \
166    svx/source/items/zoomitem \
167    svx/source/items/zoomslideritem \
168    svx/source/mnuctrls/clipboardctl \
169    svx/source/mnuctrls/fntctl \
170    svx/source/mnuctrls/fntszctl \
171    svx/source/mnuctrls/SmartTagCtl \
172    svx/source/sidebar/ContextChangeEventMultiplexer \
173    svx/source/sidebar/EmptyPanel \
174    svx/source/sidebar/PanelFactory \
175    svx/source/sidebar/SelectionAnalyzer \
176    svx/source/sidebar/SelectionChangeHandler \
177    svx/source/sidebar/debug/ColorPanel \
178    svx/source/sidebar/debug/ContextPanel \
179    svx/source/sidebar/debug/NotYetImplementedPanel \
180    svx/source/sidebar/text/SvxSBFontNameBox \
181    svx/source/sidebar/text/TextPropertyPanel \
182    svx/source/sidebar/area/AreaPropertyPanel \
183    svx/source/sidebar/area/AreaTransparencyGradientControl \
184    svx/source/sidebar/area/AreaTransparencyGradientPopup \
185    svx/source/sidebar/graphic/GraphicPropertyPanel \
186    svx/source/sidebar/line/LinePropertyPanel \
187    svx/source/sidebar/line/LineStyleControl \
188    svx/source/sidebar/line/LineStyleValueSet \
189    svx/source/sidebar/line/LineStylePopup \
190    svx/source/sidebar/line/LineWidthControl \
191    svx/source/sidebar/line/LineWidthValueSet \
192    svx/source/sidebar/line/LineWidthPopup \
193    svx/source/sidebar/possize/PosSizePropertyPanel \
194    svx/source/sidebar/possize/SidebarDialControl \
195    svx/source/sidebar/possize/SidebarDialControlBmp \
196    svx/source/sidebar/tools/ColorControl \
197    svx/source/sidebar/tools/ColorPopup \
198    svx/source/sidebar/tools/PopupControl \
199    svx/source/sidebar/tools/PopupContainer \
200    svx/source/sidebar/tools/Popup \
201    svx/source/sidebar/tools/ValueSetWithTextControl \
202    svx/source/stbctrls/pszctrl \
203    svx/source/stbctrls/insctrl \
204    svx/source/stbctrls/selctrl \
205    svx/source/stbctrls/xmlsecctrl \
206    svx/source/stbctrls/modctrl \
207    svx/source/stbctrls/zoomsliderctrl \
208    svx/source/stbctrls/zoomctrl \
209    svx/source/svdraw/ActionDescriptionProvider \
210    svx/source/smarttags/SmartTagMgr \
211    svx/source/svdraw/impgrfll \
212    svx/source/table/accessiblecell \
213    svx/source/table/accessibletableshape \
214    svx/source/table/celleditsource \
215    svx/source/table/tabledesign \
216    svx/source/table/tablertfexporter \
217    svx/source/table/tablertfimporter \
218    svx/source/tbxctrls/colrctrl \
219    svx/source/tbxctrls/fillctrl \
220    svx/source/tbxctrls/formatpaintbrushctrl \
221    svx/source/tbxctrls/grafctrl \
222    svx/source/tbxctrls/itemwin \
223    svx/source/tbxctrls/layctrl \
224    svx/source/tbxctrls/lboxctrl \
225    svx/source/tbxctrls/linectrl \
226    svx/source/tbxctrls/subtoolboxcontrol \
227    svx/source/tbxctrls/tbunocontroller \
228    svx/source/tbxctrls/tbunosearchcontrollers \
229    svx/source/tbxctrls/tbxalign \
230    svx/source/tbxctrls/tbxcolor \
231    svx/source/tbxctrls/tbxdrctl \
232    svx/source/tbxctrls/verttexttbxctrl \
233    svx/source/unodraw/recoveryui \
234    svx/source/unodraw/unoctabl \
235    svx/source/unodraw/UnoNamespaceMap \
236    svx/source/unodraw/unopool \
237    svx/source/unodraw/unoshcol \
238    svx/source/unogallery/unogalitem \
239    svx/source/unogallery/unogaltheme \
240    svx/source/unogallery/unogalthemeprovider \
241))
242
243ifeq ($(GUI),UNX)
244$(eval $(call gb_Library_add_exception_objects,svx,\
245    svx/source/dialog/sendreportunx \
246))
247else
248ifeq ($(OS),WNT)
249$(eval $(call gb_Library_add_linked_libs,svx,\
250	advapi32 \
251))
252$(eval $(call gb_Library_add_exception_objects,svx,\
253    svx/source/dialog/sendreportw32 \
254))
255else
256$(eval $(call gb_Library_add_exception_objects,svx,\
257    svx/source/dialog/sendreportgen \
258))
259endif
260endif
261
262# vim: set noet sw=4 ts=4:
263