xref: /trunk/main/ucb/Library_ucpdav1.mk (revision 51ba086b)
1421ed02eSdamjan#**************************************************************
2421ed02eSdamjan#
3421ed02eSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4421ed02eSdamjan#  or more contributor license agreements.  See the NOTICE file
5421ed02eSdamjan#  distributed with this work for additional information
6421ed02eSdamjan#  regarding copyright ownership.  The ASF licenses this file
7421ed02eSdamjan#  to you under the Apache License, Version 2.0 (the
8421ed02eSdamjan#  "License"); you may not use this file except in compliance
9421ed02eSdamjan#  with the License.  You may obtain a copy of the License at
10421ed02eSdamjan#
11421ed02eSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12421ed02eSdamjan#
13421ed02eSdamjan#  Unless required by applicable law or agreed to in writing,
14421ed02eSdamjan#  software distributed under the License is distributed on an
15421ed02eSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16421ed02eSdamjan#  KIND, either express or implied.  See the License for the
17421ed02eSdamjan#  specific language governing permissions and limitations
18421ed02eSdamjan#  under the License.
19421ed02eSdamjan#
20421ed02eSdamjan#**************************************************************
21421ed02eSdamjan
22421ed02eSdamjan
23421ed02eSdamjan
24421ed02eSdamjan$(eval $(call gb_Library_Library,ucpdav1))
25421ed02eSdamjan
26421ed02eSdamjan$(eval $(call gb_Library_add_precompiled_header,ucpdav1,$(SRCDIR)/ucb/inc/pch/precompiled_webdav))
27421ed02eSdamjan
28421ed02eSdamjan$(eval $(call gb_Library_set_componentfile,ucpdav1,ucb/source/ucp/webdav/ucpdav1))
29421ed02eSdamjan
30421ed02eSdamjan$(eval $(call gb_Library_set_include,ucpdav1,\
31421ed02eSdamjan        $$(INCLUDE) \
32421ed02eSdamjan	-I$(SRCDIR)/ucb/inc/pch \
33421ed02eSdamjan	-I$(SRCDIR)/ucb/source/inc \
34421ed02eSdamjan))
35421ed02eSdamjan
36421ed02eSdamjan$(eval $(call gb_Library_add_api,ucpdav1,\
37421ed02eSdamjan	offapi \
38421ed02eSdamjan	udkapi \
39421ed02eSdamjan))
40421ed02eSdamjan
41421ed02eSdamjan$(eval $(call gb_Library_add_linked_libs,ucpdav1,\
42421ed02eSdamjan	comphelper \
43421ed02eSdamjan	cppuhelper \
44421ed02eSdamjan	cppu \
45421ed02eSdamjan	sal \
46421ed02eSdamjan	salhelper \
47421ed02eSdamjan	stl \
48421ed02eSdamjan	tl \
49421ed02eSdamjan	ucbhelper \
50421ed02eSdamjan	$(gb_STDLIBS) \
51421ed02eSdamjan))
52421ed02eSdamjan
53421ed02eSdamjanifeq ($(GUI),WNT)
54421ed02eSdamjan$(eval $(call gb_Library_add_linked_libs,ucpdav1,wsock32))
55421ed02eSdamjanifneq ($(WINDOWS_VISTA_PSDK),)
56421ed02eSdamjan$(eval $(call gb_Library_add_linked_libs,ucpdav1,ws2_32))
57421ed02eSdamjanendif
58421ed02eSdamjanendif
59421ed02eSdamjan
60421ed02eSdamjanifeq ($(OS),SOLARIS)
61421ed02eSdamjan$(eval $(call gb_Library_add_linked_libs,ucpdav1,\
62421ed02eSdamjan	dl \
63421ed02eSdamjan	nsl \
64421ed02eSdamjan	socket \
65421ed02eSdamjan))
66421ed02eSdamjanendif
67421ed02eSdamjan
68*51ba086bSDamjan Jovanovic$(call gb_Library_use_external,ucpdav1,curl)
69421ed02eSdamjan$(call gb_Library_use_external,ucpdav1,libxml2)
70421ed02eSdamjan$(call gb_Library_use_external,ucpdav1,openssl)
71421ed02eSdamjan
72421ed02eSdamjan$(eval $(call gb_Library_add_exception_objects,ucpdav1,\
73421ed02eSdamjan	ucb/source/ucp/webdav/webdavservices \
74421ed02eSdamjan	ucb/source/ucp/webdav/webdavprovider \
75421ed02eSdamjan	ucb/source/ucp/webdav/webdavcontent \
76421ed02eSdamjan	ucb/source/ucp/webdav/webdavcontentcaps \
77421ed02eSdamjan	ucb/source/ucp/webdav/webdavresultset \
78421ed02eSdamjan	ucb/source/ucp/webdav/webdavdatasupplier \
79421ed02eSdamjan	ucb/source/ucp/webdav/ContentProperties \
80421ed02eSdamjan	ucb/source/ucp/webdav/DAVProperties \
81421ed02eSdamjan	ucb/source/ucp/webdav/DAVSessionFactory \
82421ed02eSdamjan	ucb/source/ucp/webdav/DAVResourceAccess \
83421ed02eSdamjan	ucb/source/ucp/webdav/webdavresponseparser \
84*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/CurlSession \
85*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/CurlRequest \
86*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/CurlLockStore \
87*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/LockRequest \
88*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/PropfindRequest \
89*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/ProppatchRequest \
90*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/CurlUri \
91*51ba086bSDamjan Jovanovic	ucb/source/ucp/webdav/CurlInputStream \
92421ed02eSdamjan	ucb/source/ucp/webdav/DateTimeHelper \
93421ed02eSdamjan	ucb/source/ucp/webdav/UCBDeadPropertyValue \
94421ed02eSdamjan))
95421ed02eSdamjan
96421ed02eSdamjan# vim: set noet sw=4 ts=4:
97