Update git submodules
[LibreOffice.git] / external / libcmis / StaticLibrary_libcmis.mk
blobebcd16607c5963d857a222ca08d3d25fe588873a
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/.
10 $(eval $(call gb_StaticLibrary_StaticLibrary,libcmis))
12 $(eval $(call gb_StaticLibrary_set_warnings_disabled,libcmis))
14 $(eval $(call gb_StaticLibrary_set_precompiled_header,libcmis,external/libcmis/inc/pch/precompiled_libcmis))
16 ifeq ($(COM_IS_CLANG),TRUE)
17 # Avoid narrowing conversion error (even though the option is technically a warning)
18 # caused by boost
19 $(eval $(call gb_StaticLibrary_add_cxxflags,libcmis,\
20 -Wno-error=c++11-narrowing \
22 endif
24 $(eval $(call gb_StaticLibrary_add_defs,libcmis, \
25 -DBOOST_ALL_NO_LIB \
28 $(eval $(call gb_StaticLibrary_set_include,libcmis, \
29 -I$(call gb_UnpackedTarball_get_dir,libcmis/inc) \
30 -I$(call gb_UnpackedTarball_get_dir,libcmis/src/libcmis) \
31 $$(INCLUDE) \
34 $(eval $(call gb_StaticLibrary_use_unpacked,libcmis,libcmis))
36 $(eval $(call gb_StaticLibrary_use_externals,libcmis,\
37 boost_headers \
38 curl \
39 libxml2 \
42 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,libcmis,\
43 UnpackedTarball/libcmis/src/libcmis/allowable-actions \
44 UnpackedTarball/libcmis/src/libcmis/atom-document \
45 UnpackedTarball/libcmis/src/libcmis/atom-folder \
46 UnpackedTarball/libcmis/src/libcmis/atom-object-type \
47 UnpackedTarball/libcmis/src/libcmis/atom-object \
48 UnpackedTarball/libcmis/src/libcmis/atom-session \
49 UnpackedTarball/libcmis/src/libcmis/atom-workspace \
50 UnpackedTarball/libcmis/src/libcmis/base-session \
51 UnpackedTarball/libcmis/src/libcmis/document \
52 UnpackedTarball/libcmis/src/libcmis/folder \
53 UnpackedTarball/libcmis/src/libcmis/gdrive-document \
54 UnpackedTarball/libcmis/src/libcmis/gdrive-folder \
55 UnpackedTarball/libcmis/src/libcmis/gdrive-object \
56 UnpackedTarball/libcmis/src/libcmis/gdrive-object-type \
57 UnpackedTarball/libcmis/src/libcmis/gdrive-property \
58 UnpackedTarball/libcmis/src/libcmis/gdrive-repository \
59 UnpackedTarball/libcmis/src/libcmis/gdrive-session \
60 UnpackedTarball/libcmis/src/libcmis/gdrive-utils \
61 UnpackedTarball/libcmis/src/libcmis/http-session \
62 UnpackedTarball/libcmis/src/libcmis/json-utils \
63 UnpackedTarball/libcmis/src/libcmis/oauth2-data \
64 UnpackedTarball/libcmis/src/libcmis/oauth2-handler \
65 UnpackedTarball/libcmis/src/libcmis/oauth2-providers \
66 UnpackedTarball/libcmis/src/libcmis/object \
67 UnpackedTarball/libcmis/src/libcmis/object-type \
68 UnpackedTarball/libcmis/src/libcmis/onedrive-document \
69 UnpackedTarball/libcmis/src/libcmis/onedrive-folder \
70 UnpackedTarball/libcmis/src/libcmis/onedrive-object \
71 UnpackedTarball/libcmis/src/libcmis/onedrive-object-type \
72 UnpackedTarball/libcmis/src/libcmis/onedrive-property \
73 UnpackedTarball/libcmis/src/libcmis/onedrive-repository \
74 UnpackedTarball/libcmis/src/libcmis/onedrive-session \
75 UnpackedTarball/libcmis/src/libcmis/onedrive-utils \
76 UnpackedTarball/libcmis/src/libcmis/property \
77 UnpackedTarball/libcmis/src/libcmis/property-type \
78 UnpackedTarball/libcmis/src/libcmis/rendition \
79 UnpackedTarball/libcmis/src/libcmis/repository \
80 UnpackedTarball/libcmis/src/libcmis/session-factory \
81 UnpackedTarball/libcmis/src/libcmis/sharepoint-document \
82 UnpackedTarball/libcmis/src/libcmis/sharepoint-folder \
83 UnpackedTarball/libcmis/src/libcmis/sharepoint-object \
84 UnpackedTarball/libcmis/src/libcmis/sharepoint-object-type \
85 UnpackedTarball/libcmis/src/libcmis/sharepoint-property \
86 UnpackedTarball/libcmis/src/libcmis/sharepoint-repository \
87 UnpackedTarball/libcmis/src/libcmis/sharepoint-session \
88 UnpackedTarball/libcmis/src/libcmis/sharepoint-utils \
89 UnpackedTarball/libcmis/src/libcmis/ws-document \
90 UnpackedTarball/libcmis/src/libcmis/ws-folder \
91 UnpackedTarball/libcmis/src/libcmis/ws-navigationservice \
92 UnpackedTarball/libcmis/src/libcmis/ws-object \
93 UnpackedTarball/libcmis/src/libcmis/ws-object-type \
94 UnpackedTarball/libcmis/src/libcmis/ws-objectservice \
95 UnpackedTarball/libcmis/src/libcmis/ws-relatedmultipart \
96 UnpackedTarball/libcmis/src/libcmis/ws-repositoryservice \
97 UnpackedTarball/libcmis/src/libcmis/ws-requests \
98 UnpackedTarball/libcmis/src/libcmis/ws-session \
99 UnpackedTarball/libcmis/src/libcmis/ws-soap \
100 UnpackedTarball/libcmis/src/libcmis/ws-versioningservice \
101 UnpackedTarball/libcmis/src/libcmis/xml-utils \
104 # vim: set noet sw=4 ts=4: