xref: /trunk/main/svx/Library_svx.mk (revision 687b30ac)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2011 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28$(eval $(call gb_Library_Library,svx))
29
30$(eval $(call gb_Library_set_componentfile,svx,svx/util/svx))
31
32$(eval $(call gb_Library_set_include,svx,\
33	-I$(SRCDIR)/svx/inc \
34	-I$(SRCDIR)/svx/source/inc \
35	-I$(SRCDIR)/svx/inc/pch \
36	$$(SOLARINC) \
37	-I$(OUTDIR)/inc/offuh \
38))
39
40$(eval $(call gb_Library_set_defs,svx,\
41	$$(DEFS) \
42	-DSVX_DLLIMPLEMENTATION \
43	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
44))
45
46$(eval $(call gb_Library_add_linked_libs,svx,\
47	basegfx \
48	sb \
49	comphelper \
50	cppuhelper \
51	cppu \
52	drawinglayer \
53	editeng \
54	i18nisolang1 \
55	icuuc \
56	sal \
57	sfx \
58	sot \
59	stl \
60	svl \
61	svt \
62	svxcore \
63	tk \
64	tl \
65	ucbhelper \
66	utl \
67	vcl \
68	vos3 \
69	xo \
70	xcr \
71    $(gb_STDLIBS) \
72))
73
74$(eval $(call gb_Library_add_exception_objects,svx,\
75    svx/source/accessibility/AccessibleControlShape \
76    svx/source/accessibility/AccessibleEmptyEditSource \
77    svx/source/accessibility/AccessibleFrameSelector \
78    svx/source/accessibility/AccessibleGraphicShape \
79    svx/source/accessibility/AccessibleOLEShape \
80    svx/source/accessibility/AccessibleShape \
81    svx/source/accessibility/AccessibleShapeInfo \
82    svx/source/accessibility/AccessibleShapeTreeInfo \
83    svx/source/accessibility/AccessibleTextEventQueue \
84    svx/source/accessibility/AccessibleTextHelper \
85    svx/source/accessibility/charmapacc \
86    svx/source/accessibility/ChildrenManager \
87    svx/source/accessibility/ChildrenManagerImpl \
88    svx/source/accessibility/DescriptionGenerator \
89    svx/source/accessibility/DGColorNameLookUp \
90    svx/source/accessibility/GraphCtlAccessibleContext \
91    svx/source/accessibility/ShapeTypeHandler \
92    svx/source/accessibility/svxrectctaccessiblecontext \
93    svx/source/accessibility/SvxShapeTypes \
94    svx/source/customshapes/EnhancedCustomShape3d \
95    svx/source/customshapes/EnhancedCustomShapeEngine \
96    svx/source/customshapes/EnhancedCustomShapeFontWork \
97    svx/source/customshapes/EnhancedCustomShapeHandle \
98    svx/source/customshapes/tbxcustomshapes \
99    svx/source/dialog/_bmpmask \
100    svx/source/dialog/charmap \
101    svx/source/dialog/connctrl \
102    svx/source/dialog/_contdlg \
103    svx/source/dialog/contwnd \
104    svx/source/dialog/ctredlin \
105    svx/source/dialog/databaseregistrationui \
106    svx/source/dialog/dialcontrol \
107    svx/source/dialog/dlgctl3d \
108    svx/source/dialog/dlgctrl \
109    svx/source/dialog/docrecovery \
110    svx/source/dialog/fntctrl \
111    svx/source/dialog/fontlb \
112    svx/source/dialog/fontwork \
113    svx/source/dialog/framelinkarray \
114    svx/source/dialog/frmdirlbox \
115    svx/source/dialog/frmsel \
116    svx/source/dialog/graphctl \
117    svx/source/dialog/grfflt \
118    svx/source/dialog/hdft \
119    svx/source/dialog/hyperdlg \
120    svx/source/dialog/hyprlink \
121    svx/source/dialog/imapdlg \
122    svx/source/dialog/imapwnd \
123    svx/source/dialog/measctrl \
124    svx/source/dialog/optgrid \
125    svx/source/dialog/orienthelper \
126    svx/source/dialog/pagectrl \
127    svx/source/dialog/paraprev \
128    svx/source/dialog/passwd \
129    svx/source/dialog/pfiledlg \
130    svx/source/dialog/prtqry \
131    svx/source/dialog/relfld \
132    svx/source/dialog/rlrcitem \
133    svx/source/dialog/rubydialog \
134    svx/source/dialog/rulritem \
135    svx/source/dialog/SpellDialogChildWindow \
136    svx/source/dialog/srchctrl \
137    svx/source/dialog/srchdlg \
138    svx/source/dialog/strarray \
139    svx/source/dialog/svxbmpnumvalueset \
140    svx/source/dialog/svxgrahicitem \
141    svx/source/dialog/svxruler \
142    svx/source/dialog/swframeexample \
143    svx/source/dialog/swframeposstrings \
144    svx/source/dialog/txencbox \
145    svx/source/dialog/txenctab \
146    svx/source/dialog/wrapfield \
147    svx/source/engine3d/float3d \
148    svx/source/fmcomp/dbaobjectex \
149    svx/source/form/databaselocationinput \
150    svx/source/form/dbcharsethelper \
151    svx/source/form/filtnav \
152    svx/source/form/fmobjfac \
153    svx/source/form/fmPropBrw \
154    svx/source/form/fmsrccfg \
155    svx/source/form/fmsrcimp \
156    svx/source/form/tabwin \
157    svx/source/form/tbxform \
158    svx/source/items/algitem \
159    svx/source/items/hlnkitem \
160    svx/source/items/numfmtsh \
161    svx/source/items/numinf \
162    svx/source/items/ofaitem \
163    svx/source/items/pageitem \
164    svx/source/items/postattr \
165    svx/source/items/rotmodit \
166    svx/source/items/SmartTagItem \
167    svx/source/items/svxempty \
168    svx/source/items/svxerr \
169    svx/source/items/viewlayoutitem \
170    svx/source/items/zoomitem \
171    svx/source/items/zoomslideritem \
172    svx/source/mnuctrls/clipboardctl \
173    svx/source/mnuctrls/fntctl \
174    svx/source/mnuctrls/fntszctl \
175    svx/source/mnuctrls/SmartTagCtl \
176    svx/source/stbctrls/pszctrl \
177    svx/source/stbctrls/insctrl \
178    svx/source/stbctrls/selctrl \
179    svx/source/stbctrls/xmlsecctrl \
180    svx/source/stbctrls/modctrl \
181    svx/source/stbctrls/zoomsliderctrl \
182    svx/source/stbctrls/zoomctrl \
183    svx/source/svdraw/ActionDescriptionProvider \
184    svx/source/smarttags/SmartTagMgr \
185    svx/source/svdraw/impgrfll \
186    svx/source/table/accessiblecell \
187    svx/source/table/accessibletableshape \
188    svx/source/table/celleditsource \
189    svx/source/table/tabledesign \
190    svx/source/table/tablertfexporter \
191    svx/source/table/tablertfimporter \
192    svx/source/tbxctrls/colrctrl \
193    svx/source/tbxctrls/fillctrl \
194    svx/source/tbxctrls/formatpaintbrushctrl \
195    svx/source/tbxctrls/grafctrl \
196    svx/source/tbxctrls/itemwin \
197    svx/source/tbxctrls/layctrl \
198    svx/source/tbxctrls/lboxctrl \
199    svx/source/tbxctrls/linectrl \
200    svx/source/tbxctrls/subtoolboxcontrol \
201    svx/source/tbxctrls/tbunocontroller \
202    svx/source/tbxctrls/tbunosearchcontrollers \
203    svx/source/tbxctrls/tbxalign \
204    svx/source/tbxctrls/tbxcolor \
205    svx/source/tbxctrls/tbxdrctl \
206    svx/source/tbxctrls/verttexttbxctrl \
207    svx/source/unodraw/recoveryui \
208    svx/source/unodraw/unoctabl \
209    svx/source/unodraw/UnoNamespaceMap \
210    svx/source/unodraw/unopool \
211    svx/source/unodraw/unoshcol \
212    svx/source/unogallery/unogalitem \
213    svx/source/unogallery/unogaltheme \
214    svx/source/unogallery/unogalthemeprovider \
215))
216
217ifeq ($(GUI),UNX)
218$(eval $(call gb_Library_add_exception_objects,svx,\
219    svx/source/dialog/sendreportunx \
220))
221else
222ifeq ($(OS),WNT)
223$(eval $(call gb_Library_add_linked_libs,svx,\
224	advapi32 \
225))
226$(eval $(call gb_Library_add_exception_objects,svx,\
227    svx/source/dialog/sendreportw32 \
228))
229else
230$(eval $(call gb_Library_add_exception_objects,svx,\
231    svx/source/dialog/sendreportgen \
232))
233endif
234endif
235
236# vim: set noet sw=4 ts=4:
237