Branch libreoffice-5-0-4
[LibreOffice.git] / svtools / Library_svt.mk
blob07dc321e631451130792932c86cac385c47d3d29
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,svt))
22 $(eval $(call gb_Library_set_precompiled_header,svt,$(SRCDIR)/svtools/inc/pch/precompiled_svt))
24 $(eval $(call gb_Library_set_componentfile,svt,svtools/util/svt))
26 $(eval $(call gb_Library_use_custom_headers,svt,\
27 officecfg/registry \
30 $(eval $(call gb_Library_use_sdk_api,svt))
32 $(eval $(call gb_Library_set_include,svt,\
33 $$(INCLUDE) \
34 -I$(SRCDIR)/svtools/source/inc \
35 -I$(SRCDIR)/svtools/inc \
38 $(eval $(call gb_Library_add_defs,svt,\
39 -DSVT_DLLIMPLEMENTATION \
42 $(eval $(call gb_Library_use_libraries,svt,\
43 basegfx \
44 comphelper \
45 cppu \
46 cppuhelper \
47 i18nlangtag \
48 i18nutil \
49 $(if $(ENABLE_JAVA), \
50 jvmfwk) \
51 salhelper \
52 sal \
53 sot \
54 svl \
55 tk \
56 tl \
57 ucbhelper \
58 utl \
59 vcl \
60 $(gb_UWINAPI) \
63 $(eval $(call gb_Library_use_externals,svt,\
64 boost_headers \
65 icuuc \
66 icu_headers \
69 $(eval $(call gb_Library_add_exception_objects,svt,\
70 svtools/source/brwbox/brwbox1 \
71 svtools/source/brwbox/brwbox2 \
72 svtools/source/brwbox/brwbox3 \
73 svtools/source/brwbox/brwhead \
74 svtools/source/brwbox/datwin \
75 svtools/source/brwbox/ebbcontrols \
76 svtools/source/brwbox/editbrowsebox \
77 svtools/source/brwbox/editbrowsebox2 \
78 svtools/source/config/accessibilityoptions \
79 svtools/source/config/apearcfg \
80 svtools/source/config/colorcfg \
81 svtools/source/config/extcolorcfg \
82 svtools/source/config/fontsubstconfig \
83 svtools/source/config/helpopt \
84 svtools/source/config/htmlcfg \
85 svtools/source/config/itemholder2 \
86 svtools/source/config/menuoptions \
87 svtools/source/config/miscopt \
88 svtools/source/config/slidesorterbaropt \
89 svtools/source/config/toolpanelopt \
90 svtools/source/config/optionsdrawinglayer \
91 svtools/source/config/printoptions \
92 svtools/source/contnr/DocumentInfoPreview \
93 svtools/source/contnr/contentenumeration \
94 svtools/source/contnr/fileview \
95 svtools/source/contnr/imivctl1 \
96 svtools/source/contnr/imivctl2 \
97 svtools/source/contnr/ivctrl \
98 svtools/source/contnr/simptabl \
99 svtools/source/contnr/svimpbox \
100 svtools/source/contnr/svlbitm \
101 svtools/source/contnr/svtabbx \
102 svtools/source/contnr/templwin \
103 svtools/source/contnr/treelist \
104 svtools/source/contnr/treelistbox \
105 svtools/source/contnr/treelistentry \
106 svtools/source/contnr/viewdataentry \
107 svtools/source/control/accessibleruler \
108 svtools/source/control/asynclink \
109 svtools/source/control/calendar \
110 svtools/source/control/collatorres \
111 svtools/source/control/ctrlbox \
112 svtools/source/control/ctrltool \
113 svtools/source/control/filectrl \
114 svtools/source/control/fileurlbox \
115 svtools/source/control/fmtfield \
116 svtools/source/control/headbar \
117 svtools/source/control/hyperlabel \
118 svtools/source/control/indexentryres \
119 svtools/source/control/inettbc \
120 svtools/source/control/roadmap \
121 svtools/source/control/ruler \
122 svtools/source/control/scriptedtext \
123 svtools/source/control/scrwin \
124 svtools/source/control/stdctrl \
125 svtools/source/control/stdmenu \
126 svtools/source/control/tabbar \
127 svtools/source/control/toolbarmenu \
128 svtools/source/control/toolbarmenuacc \
129 svtools/source/control/urlcontrol \
130 svtools/source/control/valueacc \
131 svtools/source/control/valueset \
132 svtools/source/control/vclxaccessibleheaderbar \
133 svtools/source/control/vclxaccessibleheaderbaritem \
134 svtools/source/dialogs/addresstemplate \
135 svtools/source/dialogs/colrdlg \
136 svtools/source/dialogs/insdlg \
137 svtools/source/dialogs/mcvmath \
138 svtools/source/dialogs/PlaceEditDialog \
139 svtools/source/dialogs/prnsetup \
140 svtools/source/dialogs/restartdialog \
141 svtools/source/dialogs/roadmapwizard \
142 svtools/source/dialogs/ServerDetailsControls \
143 svtools/source/dialogs/wizardmachine \
144 svtools/source/dialogs/wizdlg \
145 svtools/source/edit/editsyntaxhighlighter \
146 svtools/source/edit/svmedit \
147 svtools/source/edit/svmedit2 \
148 svtools/source/edit/textwindowpeer \
149 svtools/source/filter/SvFilterOptionsDialog \
150 svtools/source/filter/GraphicExportOptionsDialog \
151 svtools/source/filter/DocumentToGraphicRenderer \
152 svtools/source/filter/exportdialog \
153 svtools/source/graphic/descriptor \
154 svtools/source/graphic/graphic \
155 svtools/source/graphic/graphicunofactory \
156 svtools/source/graphic/grfattr \
157 svtools/source/graphic/grfcache \
158 svtools/source/graphic/grfmgr \
159 svtools/source/graphic/grfmgr2 \
160 svtools/source/graphic/provider \
161 svtools/source/graphic/renderer \
162 svtools/source/graphic/transformer \
163 svtools/source/hatchwindow/documentcloser \
164 svtools/source/hatchwindow/hatchwindow \
165 svtools/source/hatchwindow/hatchwindowfactory \
166 svtools/source/hatchwindow/ipwin \
167 $(if $(ENABLE_JAVA), \
168 svtools/source/java/javacontext \
169 svtools/source/java/javainteractionhandler) \
170 svtools/source/misc/acceleratorexecute \
171 svtools/source/misc/bindablecontrolhelper \
172 svtools/source/misc/cliplistener \
173 svtools/source/misc/dialogclosedlistener \
174 svtools/source/misc/dialogcontrolling \
175 svtools/source/misc/ehdl \
176 svtools/source/misc/embedhlp \
177 svtools/source/misc/embedtransfer \
178 svtools/source/misc/filechangedchecker \
179 svtools/source/misc/imagemgr \
180 svtools/source/misc/imageresourceaccess \
181 svtools/source/misc/imap \
182 svtools/source/misc/imap2 \
183 svtools/source/misc/imap3 \
184 svtools/source/misc/langtab \
185 svtools/source/misc/langhelp \
186 svtools/source/misc/openfiledroptargetlistener \
187 svtools/source/misc/sampletext \
188 svtools/source/misc/stringtransfer \
189 svtools/source/misc/svtaccessiblefactory \
190 svtools/source/misc/svtresid \
191 svtools/source/misc/templatefoldercache \
192 svtools/source/misc/transfer \
193 svtools/source/misc/transfer2 \
194 svtools/source/misc/unitconv \
195 svtools/source/misc/xwindowitem \
196 svtools/source/svhtml/htmlkywd \
197 svtools/source/svhtml/htmlout \
198 svtools/source/svhtml/htmlsupp \
199 svtools/source/svhtml/HtmlWriter \
200 svtools/source/svhtml/parhtml \
201 svtools/source/svrtf/parrtf \
202 svtools/source/svrtf/rtfkeywd \
203 svtools/source/svrtf/rtfout \
204 svtools/source/svrtf/svparser \
205 svtools/source/table/defaultinputhandler \
206 svtools/source/table/gridtablerenderer \
207 svtools/source/table/tablecontrol \
208 svtools/source/table/tablecontrol_impl \
209 svtools/source/table/tabledatawindow \
210 svtools/source/table/mousefunction \
211 svtools/source/table/cellvalueconversion \
212 svtools/source/table/tablegeometry \
213 svtools/source/toolpanel/drawerlayouter \
214 svtools/source/toolpanel/dummypanel \
215 svtools/source/toolpanel/paneldecklisteners \
216 svtools/source/toolpanel/paneltabbar \
217 svtools/source/toolpanel/paneltabbarpeer \
218 svtools/source/toolpanel/tabbargeometry \
219 svtools/source/toolpanel/tablayouter \
220 svtools/source/toolpanel/toolpanel \
221 svtools/source/toolpanel/toolpanelcollection \
222 svtools/source/toolpanel/toolpaneldeck \
223 svtools/source/toolpanel/toolpaneldeckpeer \
224 svtools/source/toolpanel/toolpaneldrawer \
225 svtools/source/toolpanel/toolpaneldrawerpeer \
226 svtools/source/uno/addrtempuno \
227 svtools/source/uno/contextmenuhelper \
228 svtools/source/uno/fpicker \
229 svtools/source/uno/framestatuslistener \
230 svtools/source/uno/generictoolboxcontroller \
231 svtools/source/uno/genericunodialog \
232 svtools/source/uno/miscservices \
233 svtools/source/uno/popupmenucontrollerbase \
234 svtools/source/uno/popupwindowcontroller \
235 svtools/source/uno/statusbarcontroller \
236 svtools/source/uno/svtxgridcontrol \
237 svtools/source/uno/toolboxcontroller \
238 svtools/source/uno/treecontrolpeer \
239 svtools/source/uno/unocontroltablemodel \
240 svtools/source/uno/unogridcolumnfacade \
241 svtools/source/uno/unoevent \
242 svtools/source/uno/unoiface \
243 svtools/source/uno/unoimap \
244 svtools/source/uno/wizard/unowizard \
245 svtools/source/uno/wizard/wizardpagecontroller \
246 svtools/source/uno/wizard/wizardshell \
247 svtools/source/urlobj/inetimg \
250 ifeq ($(OS),WNT)
251 $(eval $(call gb_Library_use_system_win32_libs,svt,\
252 advapi32 \
253 gdi32 \
254 ole32 \
255 oleaut32 \
256 uuid \
258 endif
260 # Runtime dependency for unit-tests
261 $(eval $(call gb_Library_use_restarget,svt,svt))
263 # vim: set noet sw=4 ts=4: