xref: /aoo41x/main/svx/Library_svx.mk (revision d4aefcae)
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/TextCharacterSpacingControl \
182    svx/source/sidebar/text/TextCharacterSpacingPopup \
183    svx/source/sidebar/text/TextUnderlineControl \
184    svx/source/sidebar/text/TextUnderlinePopup \
185    svx/source/sidebar/text/TextPropertyPanel \
186    svx/source/sidebar/area/AreaPropertyPanel \
187    svx/source/sidebar/area/AreaTransparencyGradientControl \
188    svx/source/sidebar/area/AreaTransparencyGradientPopup \
189    svx/source/sidebar/graphic/GraphicPropertyPanel \
190    svx/source/sidebar/line/LinePropertyPanel \
191    svx/source/sidebar/line/LineStyleControl \
192    svx/source/sidebar/line/LineStyleValueSet \
193    svx/source/sidebar/line/LineStylePopup \
194    svx/source/sidebar/line/LineWidthControl \
195    svx/source/sidebar/line/LineWidthValueSet \
196    svx/source/sidebar/line/LineWidthPopup \
197    svx/source/sidebar/possize/PosSizePropertyPanel \
198    svx/source/sidebar/possize/SidebarDialControl \
199    svx/source/sidebar/possize/SidebarDialControlBmp \
200    svx/source/sidebar/tools/ColorControl \
201    svx/source/sidebar/tools/ColorPopup \
202    svx/source/sidebar/tools/PopupControl \
203    svx/source/sidebar/tools/PopupContainer \
204    svx/source/sidebar/tools/Popup \
205    svx/source/sidebar/tools/ValueSetWithTextControl \
206    svx/source/stbctrls/pszctrl \
207    svx/source/stbctrls/insctrl \
208    svx/source/stbctrls/selctrl \
209    svx/source/stbctrls/xmlsecctrl \
210    svx/source/stbctrls/modctrl \
211    svx/source/stbctrls/zoomsliderctrl \
212    svx/source/stbctrls/zoomctrl \
213    svx/source/svdraw/ActionDescriptionProvider \
214    svx/source/smarttags/SmartTagMgr \
215    svx/source/svdraw/impgrfll \
216    svx/source/table/accessiblecell \
217    svx/source/table/accessibletableshape \
218    svx/source/table/celleditsource \
219    svx/source/table/tabledesign \
220    svx/source/table/tablertfexporter \
221    svx/source/table/tablertfimporter \
222    svx/source/tbxctrls/colrctrl \
223    svx/source/tbxctrls/fillctrl \
224    svx/source/tbxctrls/formatpaintbrushctrl \
225    svx/source/tbxctrls/grafctrl \
226    svx/source/tbxctrls/itemwin \
227    svx/source/tbxctrls/layctrl \
228    svx/source/tbxctrls/lboxctrl \
229    svx/source/tbxctrls/linectrl \
230    svx/source/tbxctrls/subtoolboxcontrol \
231    svx/source/tbxctrls/tbunocontroller \
232    svx/source/tbxctrls/tbunosearchcontrollers \
233    svx/source/tbxctrls/tbxalign \
234    svx/source/tbxctrls/tbxcolor \
235    svx/source/tbxctrls/tbxdrctl \
236    svx/source/tbxctrls/verttexttbxctrl \
237    svx/source/unodraw/recoveryui \
238    svx/source/unodraw/unoctabl \
239    svx/source/unodraw/UnoNamespaceMap \
240    svx/source/unodraw/unopool \
241    svx/source/unodraw/unoshcol \
242    svx/source/unogallery/unogalitem \
243    svx/source/unogallery/unogaltheme \
244    svx/source/unogallery/unogalthemeprovider \
245))
246
247ifeq ($(GUI),UNX)
248$(eval $(call gb_Library_add_exception_objects,svx,\
249    svx/source/dialog/sendreportunx \
250))
251else
252ifeq ($(OS),WNT)
253$(eval $(call gb_Library_add_linked_libs,svx,\
254	advapi32 \
255))
256$(eval $(call gb_Library_add_exception_objects,svx,\
257    svx/source/dialog/sendreportw32 \
258))
259else
260$(eval $(call gb_Library_add_exception_objects,svx,\
261    svx/source/dialog/sendreportgen \
262))
263endif
264endif
265
266# vim: set noet sw=4 ts=4:
267