tdf#123218 tdf#108067 config key ReverseXAxisOrientationDoughnutChart
[LibreOffice.git] / svl / Library_svl.mk
blobb2ed3f5a6089f6303503d9dda7cab3df298dec5e
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,svl))
22 $(eval $(call gb_Library_use_externals,svl,\
23 boost_headers \
24 $(if $(filter LINUX MACOSX ANDROID %BSD SOLARIS HAIKU,$(OS)), \
25 curl) \
26 dtoa \
27 icu_headers \
28 icuuc \
29 mdds_headers \
30 libxml2 \
33 $(eval $(call gb_Library_set_componentfile,svl,svl/util/svl))
35 $(eval $(call gb_Library_set_include,svl,\
36 -I$(SRCDIR)/svl/source/inc \
37 $$(INCLUDE) \
40 $(eval $(call gb_Library_use_custom_headers,svl,\
41 officecfg/registry \
44 $(eval $(call gb_Library_set_precompiled_header,svl,svl/inc/pch/precompiled_svl))
46 $(eval $(call gb_Library_use_sdk_api,svl))
48 $(eval $(call gb_Library_add_defs,svl,\
49 -DSVL_DLLIMPLEMENTATION \
52 ifeq ($(TLS),NSS)
53 $(eval $(call gb_Library_use_externals,svl,\
54 plc4 \
55 nss3 \
57 else
58 ifeq ($(TLS),OPENSSL)
59 $(eval $(call gb_Library_use_externals,svl,\
60 openssl \
61 openssl_headers \
63 endif
64 endif
66 $(eval $(call gb_Library_use_libraries,svl,\
67 basegfx \
68 comphelper \
69 cppu \
70 cppuhelper \
71 i18nlangtag \
72 i18nutil \
73 $(if $(ENABLE_JAVA), \
74 jvmfwk) \
75 sal \
76 sot \
77 tl \
78 ucbhelper \
79 utl \
82 $(eval $(call gb_Library_use_system_win32_libs,svl,\
83 advapi32 \
84 crypt32 \
85 gdi32 \
86 gdiplus \
87 imm32 \
88 mpr \
89 ole32 \
90 shell32 \
91 usp10 \
92 uuid \
93 version \
94 winspool \
95 setupapi \
96 shlwapi \
99 ifeq ($(OS),WNT)
100 $(eval $(call gb_Library_add_defs,svl,\
101 -DSVL_CRYPTO_MSCRYPTO \
103 $(eval $(call gb_Library_use_system_win32_libs,svl,\
104 crypt32 \
106 else
107 ifneq (,$(filter DESKTOP,$(BUILD_TYPE))$(filter ANDROID,$(OS)))
108 $(eval $(call gb_Library_add_defs,svl,\
109 -DSVL_CRYPTO_NSS \
111 $(eval $(call gb_Library_use_externals,svl,\
112 nss3 \
113 plc4 \
115 endif # BUILD_TYPE=DESKTOP
116 endif
118 $(eval $(call gb_Library_add_exception_objects,svl,\
119 svl/source/config/asiancfg \
120 svl/source/config/cjkoptions \
121 svl/source/config/ctloptions \
122 svl/source/config/itemholder2 \
123 svl/source/config/languageoptions \
124 svl/source/crypto/cryptosign \
125 svl/source/filepicker/pickerhistory \
126 svl/source/items/aeitem \
127 svl/source/items/cenumitm \
128 svl/source/items/cintitem \
129 svl/source/items/custritm \
130 svl/source/items/flagitem \
131 svl/source/items/globalnameitem \
132 svl/source/items/grabbagitem \
133 svl/source/items/ilstitem \
134 svl/source/items/imageitm \
135 svl/source/items/intitem \
136 svl/source/items/int64item \
137 svl/source/items/itemiter \
138 svl/source/items/itempool \
139 svl/source/items/itemprop \
140 svl/source/items/IndexedStyleSheets \
141 svl/source/items/itemset \
142 svl/source/items/lckbitem \
143 svl/source/items/legacyitem \
144 svl/source/items/macitem \
145 svl/source/items/poolcach \
146 svl/source/items/poolio \
147 svl/source/items/poolitem \
148 svl/source/items/ptitem \
149 svl/source/items/rectitem \
150 svl/source/items/rngitem \
151 svl/source/items/sitem \
152 svl/source/items/slstitm \
153 svl/source/items/srchitem \
154 svl/source/items/stringio \
155 svl/source/items/stritem \
156 svl/source/items/style \
157 svl/source/items/stylepool \
158 svl/source/items/visitem \
159 svl/source/items/whiter \
160 svl/source/misc/PasswordHelper \
161 svl/source/misc/adrparse \
162 $(if $(filter DESKTOP,$(BUILD_TYPE)),\
163 svl/source/misc/documentlockfile \
164 svl/source/misc/msodocumentlockfile) \
165 svl/source/misc/filenotation \
166 svl/source/misc/fstathelper \
167 svl/source/misc/getstringresource \
168 svl/source/misc/gridprinter \
169 svl/source/misc/inethist \
170 svl/source/misc/inettype \
171 svl/source/misc/lngmisc \
172 svl/source/misc/lockfilecommon \
173 svl/source/misc/ownlist \
174 svl/source/misc/sharecontrolfile \
175 svl/source/misc/sharedstring \
176 svl/source/misc/sharedstringpool \
177 svl/source/misc/strmadpt \
178 svl/source/misc/urihelper \
179 svl/source/notify/SfxBroadcaster \
180 svl/source/notify/broadcast \
181 svl/source/notify/hint \
182 svl/source/notify/isethint \
183 svl/source/notify/listener \
184 svl/source/notify/lstner \
185 svl/source/numbers/currencytable \
186 svl/source/numbers/numfmuno \
187 svl/source/numbers/numuno \
188 svl/source/numbers/supservs \
189 svl/source/numbers/zforfind \
190 svl/source/numbers/zforlist \
191 svl/source/numbers/zformat \
192 svl/source/numbers/zforscan \
193 svl/source/svsql/converter \
194 svl/source/undo/undo \
195 svl/source/uno/pathservice \
198 ifeq ($(OS),WNT)
199 $(eval $(call gb_Library_add_exception_objects,svl,\
200 svl/source/svdde/ddecli \
201 svl/source/svdde/ddedata \
202 svl/source/svdde/ddestrg \
203 svl/source/svdde/ddesvr \
206 else
207 $(eval $(call gb_Library_add_exception_objects,svl,\
208 svl/unx/source/svdde/ddedummy \
210 endif
211 # vim: set noet sw=4 ts=4: