Revert "reduce symbol visibility in sw"
[LibreOffice.git] / svl / Library_svl.mk
blob04abb8c6cf3ace3c54a1247b827200de6bfcbb23
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 iOS %BSD SOLARIS HAIKU,$(OS)), \
25 curl) \
26 dtoa \
27 icu_headers \
28 icui18n \
29 icuuc \
30 mdds_headers \
31 libxml2 \
32 zxcvbn-c \
35 $(eval $(call gb_Library_set_componentfile,svl,svl/util/svl,services))
37 $(eval $(call gb_Library_set_include,svl,\
38 -I$(SRCDIR)/svl/source/inc \
39 $$(INCLUDE) \
42 $(eval $(call gb_Library_use_custom_headers,svl,\
43 officecfg/registry \
46 $(eval $(call gb_Library_set_precompiled_header,svl,svl/inc/pch/precompiled_svl))
48 $(eval $(call gb_Library_use_sdk_api,svl))
50 $(eval $(call gb_Library_add_defs,svl,\
51 -DSVL_DLLIMPLEMENTATION \
54 ifeq ($(TLS),NSS)
55 $(eval $(call gb_Library_use_externals,svl,\
56 plc4 \
57 nss3 \
59 else
60 ifeq ($(TLS),OPENSSL)
61 $(eval $(call gb_Library_use_externals,svl,\
62 openssl \
63 openssl_headers \
65 endif
66 endif
68 $(eval $(call gb_Library_use_libraries,svl,\
69 basegfx \
70 comphelper \
71 cppu \
72 cppuhelper \
73 i18nlangtag \
74 i18nutil \
75 $(if $(ENABLE_JAVA), \
76 jvmfwk) \
77 sal \
78 salhelper \
79 sot \
80 tl \
81 ucbhelper \
82 utl \
85 $(eval $(call gb_Library_use_system_win32_libs,svl,\
86 advapi32 \
87 crypt32 \
88 gdi32 \
89 gdiplus \
90 imm32 \
91 mpr \
92 ole32 \
93 shell32 \
94 usp10 \
95 uuid \
96 version \
97 winspool \
98 setupapi \
99 shlwapi \
102 ifneq (,$(filter CRYPTO_NSS,$(BUILD_TYPE)))
103 $(eval $(call gb_Library_use_externals,svl,\
104 nss3 \
105 plc4 \
107 endif
109 $(eval $(call gb_Library_add_exception_objects,svl,\
110 svl/source/config/asiancfg \
111 svl/source/config/cjkoptions \
112 svl/source/config/ctloptions \
113 svl/source/config/itemholder2 \
114 svl/source/config/languageoptions \
115 svl/source/crypto/cryptosign \
116 svl/source/filepicker/pickerhistory \
117 svl/source/items/cenumitm \
118 svl/source/items/cintitem \
119 svl/source/items/custritm \
120 svl/source/items/flagitem \
121 svl/source/items/globalnameitem \
122 svl/source/items/grabbagitem \
123 svl/source/items/ilstitem \
124 svl/source/items/imageitm \
125 svl/source/items/intitem \
126 svl/source/items/int64item \
127 svl/source/items/itemiter \
128 svl/source/items/itempool \
129 svl/source/items/itemprop \
130 svl/source/items/IndexedStyleSheets \
131 svl/source/items/itemset \
132 svl/source/items/lckbitem \
133 svl/source/items/legacyitem \
134 svl/source/items/macitem \
135 svl/source/items/poolitem \
136 svl/source/items/ptitem \
137 svl/source/items/rectitem \
138 svl/source/items/rngitem \
139 svl/source/items/sitem \
140 svl/source/items/slstitm \
141 svl/source/items/srchitem \
142 svl/source/items/stringio \
143 svl/source/items/stritem \
144 svl/source/items/style \
145 svl/source/items/stylepool \
146 svl/source/items/visitem \
147 svl/source/items/voiditem \
148 svl/source/items/whiter \
149 svl/source/misc/PasswordHelper \
150 svl/source/misc/adrparse \
151 $(if $(filter DESKTOP,$(BUILD_TYPE)),\
152 svl/source/misc/documentlockfile \
153 svl/source/misc/msodocumentlockfile) \
154 svl/source/misc/filenotation \
155 svl/source/misc/fstathelper \
156 svl/source/misc/getstringresource \
157 svl/source/misc/gridprinter \
158 svl/source/misc/inethist \
159 svl/source/misc/inettype \
160 svl/source/misc/lngmisc \
161 svl/source/misc/lockfilecommon \
162 svl/source/misc/ownlist \
163 svl/source/misc/sharecontrolfile \
164 svl/source/misc/sharedstring \
165 svl/source/misc/sharedstringpool \
166 svl/source/misc/strmadpt \
167 svl/source/misc/urihelper \
168 svl/source/notify/SfxBroadcaster \
169 svl/source/notify/broadcast \
170 svl/source/notify/listener \
171 svl/source/notify/lstner \
172 svl/source/numbers/currencytable \
173 svl/source/numbers/numfmuno \
174 svl/source/numbers/numuno \
175 svl/source/numbers/supservs \
176 svl/source/numbers/zforfind \
177 svl/source/numbers/zforlist \
178 svl/source/numbers/zformat \
179 svl/source/numbers/zforscan \
180 svl/source/svsql/converter \
181 svl/source/undo/undo \
182 svl/source/uno/pathservice \
185 ifeq ($(OS),WNT)
186 $(eval $(call gb_Library_add_exception_objects,svl,\
187 svl/source/svdde/ddecli \
188 svl/source/svdde/ddedata \
189 svl/source/svdde/ddestrg \
190 svl/source/svdde/ddesvr \
193 else
194 $(eval $(call gb_Library_add_exception_objects,svl,\
195 svl/unx/source/svdde/ddedummy \
197 endif
198 # vim: set noet sw=4 ts=4: