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_not_errors
,libcmis
))
14 ifeq ($(COM_IS_CLANG
),TRUE
)
15 # Avoid narrowing conversion error (even though the option is technically a warning)
17 # Also avoid -Wdynamic-exception-spec errors in C++17 mode.
18 $(eval
$(call gb_StaticLibrary_add_cxxflags
,libcmis
,\
19 -Wno-error
=c
++11-narrowing \
20 $(if
$(filter -std
=gnu
++17 -std
=gnu
++1z
-std
=c
++17 -std
=c
++1z
, \
22 -Wno-error
=dynamic-exception-spec
) \
26 # Build as C++14 if necessary to avoid GCC C++17 "error: ISO C++1z does not
27 # allow dynamic exception specifications", until upstream libcmis is ported to
29 ifeq ($(COM
)-$(COM_IS_CLANG
),GCC-
)
30 $(eval
$(call gb_StaticLibrary_add_cxxflags
,libcmis
, \
31 $(if
$(filter -std
=gnu
++17 -std
=gnu
++1z
-std
=c
++17 -std
=c
++1z
, \
37 $(eval
$(call gb_StaticLibrary_add_defs
,libcmis
, \
41 $(eval
$(call gb_StaticLibrary_set_include
,libcmis
, \
42 -I
$(call gb_UnpackedTarball_get_dir
,libcmis
/src
/libcmis
) \
46 $(eval
$(call gb_StaticLibrary_use_unpacked
,libcmis
,libcmis
))
48 $(eval
$(call gb_StaticLibrary_use_externals
,libcmis
,\
54 $(eval
$(call gb_StaticLibrary_add_generated_exception_objects
,libcmis
,\
55 UnpackedTarball
/libcmis
/src
/libcmis
/allowable-actions \
56 UnpackedTarball
/libcmis
/src
/libcmis
/atom-document \
57 UnpackedTarball
/libcmis
/src
/libcmis
/atom-folder \
58 UnpackedTarball
/libcmis
/src
/libcmis
/atom-object-type \
59 UnpackedTarball
/libcmis
/src
/libcmis
/atom-object \
60 UnpackedTarball
/libcmis
/src
/libcmis
/atom-session \
61 UnpackedTarball
/libcmis
/src
/libcmis
/atom-workspace \
62 UnpackedTarball
/libcmis
/src
/libcmis
/base-session \
63 UnpackedTarball
/libcmis
/src
/libcmis
/document \
64 UnpackedTarball
/libcmis
/src
/libcmis
/folder \
65 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-document \
66 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-folder \
67 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-object \
68 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-object-type \
69 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-property \
70 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-repository \
71 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-session \
72 UnpackedTarball
/libcmis
/src
/libcmis
/gdrive-utils \
73 UnpackedTarball
/libcmis
/src
/libcmis
/http-session \
74 UnpackedTarball
/libcmis
/src
/libcmis
/json-utils \
75 UnpackedTarball
/libcmis
/src
/libcmis
/oauth2-data \
76 UnpackedTarball
/libcmis
/src
/libcmis
/oauth2-handler \
77 UnpackedTarball
/libcmis
/src
/libcmis
/oauth2-providers \
78 UnpackedTarball
/libcmis
/src
/libcmis
/object \
79 UnpackedTarball
/libcmis
/src
/libcmis
/object-type \
80 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-document \
81 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-folder \
82 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-object \
83 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-object-type \
84 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-property \
85 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-repository \
86 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-session \
87 UnpackedTarball
/libcmis
/src
/libcmis
/onedrive-utils \
88 UnpackedTarball
/libcmis
/src
/libcmis
/property \
89 UnpackedTarball
/libcmis
/src
/libcmis
/property-type \
90 UnpackedTarball
/libcmis
/src
/libcmis
/rendition \
91 UnpackedTarball
/libcmis
/src
/libcmis
/repository \
92 UnpackedTarball
/libcmis
/src
/libcmis
/session-factory \
93 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-document \
94 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-folder \
95 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-object \
96 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-object-type \
97 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-property \
98 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-repository \
99 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-session \
100 UnpackedTarball
/libcmis
/src
/libcmis
/sharepoint-utils \
101 UnpackedTarball
/libcmis
/src
/libcmis
/ws-document \
102 UnpackedTarball
/libcmis
/src
/libcmis
/ws-folder \
103 UnpackedTarball
/libcmis
/src
/libcmis
/ws-navigationservice \
104 UnpackedTarball
/libcmis
/src
/libcmis
/ws-object \
105 UnpackedTarball
/libcmis
/src
/libcmis
/ws-object-type \
106 UnpackedTarball
/libcmis
/src
/libcmis
/ws-objectservice \
107 UnpackedTarball
/libcmis
/src
/libcmis
/ws-relatedmultipart \
108 UnpackedTarball
/libcmis
/src
/libcmis
/ws-repositoryservice \
109 UnpackedTarball
/libcmis
/src
/libcmis
/ws-requests \
110 UnpackedTarball
/libcmis
/src
/libcmis
/ws-session \
111 UnpackedTarball
/libcmis
/src
/libcmis
/ws-soap \
112 UnpackedTarball
/libcmis
/src
/libcmis
/ws-versioningservice \
113 UnpackedTarball
/libcmis
/src
/libcmis
/xml-utils \
116 # vim: set noet sw=4 ts=4: