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