Version 4.3.0.0.beta1, tag libreoffice-4.3.0.0.beta1
[LibreOffice.git] / ucb / Library_ucpdav1.mk
blob51225d21901de7627b07468bb2760134d051c0b0
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,ucpdav1))
13 $(eval $(call gb_Library_set_componentfile,ucpdav1,ucb/source/ucp/webdav-neon/ucpdav1))
15 $(eval $(call gb_Library_use_sdk_api,ucpdav1))
17 $(eval $(call gb_Library_use_libraries,ucpdav1,\
18 comphelper \
19 cppu \
20 cppuhelper \
21 sal \
22 salhelper \
23 ucbhelper \
24 $(gb_UWINAPI) \
27 ifeq ($(WITH_WEBDAV),neon)
29 $(eval $(call gb_Library_use_externals,ucpdav1,\
30 boost_headers \
31 libxml2 \
32 neon \
33 openssl \
36 $(eval $(call gb_Library_add_exception_objects,ucpdav1,\
37 ucb/source/ucp/webdav-neon/ContentProperties \
38 ucb/source/ucp/webdav-neon/DateTimeHelper \
39 ucb/source/ucp/webdav-neon/DAVProperties \
40 ucb/source/ucp/webdav-neon/DAVResourceAccess \
41 ucb/source/ucp/webdav-neon/DAVSessionFactory \
42 ucb/source/ucp/webdav-neon/LinkSequence \
43 ucb/source/ucp/webdav-neon/LockEntrySequence \
44 ucb/source/ucp/webdav-neon/LockSequence \
45 ucb/source/ucp/webdav-neon/NeonHeadRequest \
46 ucb/source/ucp/webdav-neon/NeonInputStream \
47 ucb/source/ucp/webdav-neon/NeonLockStore \
48 ucb/source/ucp/webdav-neon/NeonPropFindRequest \
49 ucb/source/ucp/webdav-neon/NeonSession \
50 ucb/source/ucp/webdav-neon/NeonUri \
51 ucb/source/ucp/webdav-neon/UCBDeadPropertyValue \
52 ucb/source/ucp/webdav-neon/webdavcontentcaps \
53 ucb/source/ucp/webdav-neon/webdavcontent \
54 ucb/source/ucp/webdav-neon/webdavdatasupplier \
55 ucb/source/ucp/webdav-neon/webdavprovider \
56 ucb/source/ucp/webdav-neon/webdavresultset \
57 ucb/source/ucp/webdav-neon/webdavservices \
60 else # WITH_WEBDAV == serf
62 $(eval $(call gb_Library_use_externals,ucpdav1,\
63 boost_headers \
64 apr \
65 openssl \
66 serf \
67 zlib \
70 $(eval $(call gb_Library_add_libs,ucpdav1,\
71 $(if $(filter $(OS),LINUX),-lpthread) \
74 $(eval $(call gb_Library_add_exception_objects,ucpdav1,\
75 ucb/source/ucp/webdav/AprEnv \
76 ucb/source/ucp/webdav/ContentProperties \
77 ucb/source/ucp/webdav/DAVProperties \
78 ucb/source/ucp/webdav/DAVResourceAccess \
79 ucb/source/ucp/webdav/DAVSessionFactory \
80 ucb/source/ucp/webdav/DateTimeHelper \
81 ucb/source/ucp/webdav/SerfCallbacks \
82 ucb/source/ucp/webdav/SerfCopyReqProcImpl \
83 ucb/source/ucp/webdav/SerfDeleteReqProcImpl \
84 ucb/source/ucp/webdav/SerfGetReqProcImpl \
85 ucb/source/ucp/webdav/SerfHeadReqProcImpl \
86 ucb/source/ucp/webdav/SerfInputStream \
87 ucb/source/ucp/webdav/SerfLockReqProcImpl \
88 ucb/source/ucp/webdav/SerfLockStore \
89 ucb/source/ucp/webdav/SerfMkColReqProcImpl \
90 ucb/source/ucp/webdav/SerfMoveReqProcImpl \
91 ucb/source/ucp/webdav/SerfPostReqProcImpl \
92 ucb/source/ucp/webdav/SerfPropFindReqProcImpl \
93 ucb/source/ucp/webdav/SerfPropPatchReqProcImpl \
94 ucb/source/ucp/webdav/SerfPutReqProcImpl \
95 ucb/source/ucp/webdav/SerfRequestProcessor \
96 ucb/source/ucp/webdav/SerfRequestProcessorImpl \
97 ucb/source/ucp/webdav/SerfSession \
98 ucb/source/ucp/webdav/SerfUnlockReqProcImpl \
99 ucb/source/ucp/webdav/SerfUri \
100 ucb/source/ucp/webdav/UCBDeadPropertyValue \
101 ucb/source/ucp/webdav/webdavcontent \
102 ucb/source/ucp/webdav/webdavcontentcaps \
103 ucb/source/ucp/webdav/webdavdatasupplier \
104 ucb/source/ucp/webdav/webdavprovider \
105 ucb/source/ucp/webdav/webdavresponseparser \
106 ucb/source/ucp/webdav/webdavresultset \
107 ucb/source/ucp/webdav/webdavservices \
110 endif # WITH_WEBDAV
112 ifeq ($(OS),WNT)
113 $(eval $(call gb_Library_use_system_win32_libs,ucpdav1,\
114 ws2_32 \
116 endif
118 ifeq ($(OS),SOLARIS)
119 $(eval $(call gb_Library_add_libs,ucpdav1,\
120 -ldl \
121 -lnsl \
122 -lsocket \
124 endif
126 # vim: set noet sw=4 ts=4: