Branch libreoffice-24-8-3
[LibreOffice.git] / ucb / Library_ucpcmis1.mk
blob9392c86995cad5dfc60d976643f35d4f56f4b302
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 $(eval $(call gb_Library_Library,ucpcmis1))
13 $(eval $(call gb_Library_set_componentfile,ucpcmis1,ucb/source/ucp/cmis/ucpcmis1,services))
15 $(eval $(call gb_Library_use_sdk_api,ucpcmis1))
17 $(eval $(call gb_Library_use_custom_headers,ucpcmis1,\
18 officecfg/registry \
21 $(eval $(call gb_Library_use_libraries,ucpcmis1,\
22 comphelper \
23 cppu \
24 cppuhelper \
25 sal \
26 salhelper \
27 sax \
28 ucbhelper \
29 tl \
32 $(eval $(call gb_Library_use_externals,ucpcmis1,\
33 boost_headers \
34 boost_date_time \
35 libcmis \
36 curl \
37 libxml2 \
40 # On Windows, libcmis.lib(ws-relatedmultipart.o) references BCryptCloseAlgorithmProvider,
41 # BCryptGenRandom, and BCryptOpenAlgorithmProvider via
42 # workdir/UnpackedTarball/boost/boost/winapi/bcrypt.hpp:
43 ifeq ($(OS),WNT)
44 ifeq ($(SYSTEM_LIBCMIS)$(SYSTEM_BOOST),)
45 $(eval $(call gb_Library_add_libs,ucpcmis1, \
46 Bcrypt.lib \
48 endif
49 endif
51 $(eval $(call gb_Library_add_exception_objects,ucpcmis1,\
52 ucb/source/ucp/cmis/auth_provider \
53 ucb/source/ucp/cmis/cmis_content \
54 ucb/source/ucp/cmis/cmis_repo_content \
55 ucb/source/ucp/cmis/cmis_datasupplier \
56 ucb/source/ucp/cmis/cmis_provider \
57 ucb/source/ucp/cmis/cmis_resultset \
58 ucb/source/ucp/cmis/cmis_url \
59 ucb/source/ucp/cmis/std_inputstream \
60 ucb/source/ucp/cmis/std_outputstream \
63 # vim: set noet sw=4 ts=4: