xref: /aoo42x/main/ucb/Library_ucpdav1.mk (revision 9646dec5)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,ucpdav1))
25
26$(eval $(call gb_Library_add_precompiled_header,ucpdav1,$(SRCDIR)/ucb/inc/pch/precompiled_webdav))
27
28$(eval $(call gb_Library_set_componentfile,ucpdav1,ucb/source/ucp/webdav/ucpdav1))
29
30$(eval $(call gb_Library_set_include,ucpdav1,\
31        $$(INCLUDE) \
32	-I$(SRCDIR)/ucb/inc/pch \
33	-I$(SRCDIR)/ucb/source/inc \
34))
35
36$(eval $(call gb_Library_add_api,ucpdav1,\
37	offapi \
38	udkapi \
39))
40
41$(eval $(call gb_Library_add_linked_libs,ucpdav1,\
42	comphelper \
43	cppuhelper \
44	cppu \
45	sal \
46	salhelper \
47	stl \
48	tl \
49	ucbhelper \
50	$(gb_STDLIBS) \
51))
52
53ifeq ($(GUI),WNT)
54$(eval $(call gb_Library_add_linked_libs,ucpdav1,wsock32))
55ifneq ($(WINDOWS_VISTA_PSDK),)
56$(eval $(call gb_Library_add_linked_libs,ucpdav1,ws2_32))
57endif
58endif
59
60ifeq ($(OS),SOLARIS)
61$(eval $(call gb_Library_add_linked_libs,ucpdav1,\
62	dl \
63	nsl \
64	socket \
65))
66endif
67
68$(call gb_Library_use_external,ucpdav1,curl)
69$(call gb_Library_use_external,ucpdav1,libxml2)
70$(call gb_Library_use_external,ucpdav1,openssl)
71
72$(eval $(call gb_Library_add_exception_objects,ucpdav1,\
73	ucb/source/ucp/webdav/webdavservices \
74	ucb/source/ucp/webdav/webdavprovider \
75	ucb/source/ucp/webdav/webdavcontent \
76	ucb/source/ucp/webdav/webdavcontentcaps \
77	ucb/source/ucp/webdav/webdavresultset \
78	ucb/source/ucp/webdav/webdavdatasupplier \
79	ucb/source/ucp/webdav/ContentProperties \
80	ucb/source/ucp/webdav/DAVProperties \
81	ucb/source/ucp/webdav/DAVSessionFactory \
82	ucb/source/ucp/webdav/DAVResourceAccess \
83	ucb/source/ucp/webdav/webdavresponseparser \
84	ucb/source/ucp/webdav/CurlSession \
85	ucb/source/ucp/webdav/CurlRequest \
86	ucb/source/ucp/webdav/CurlLockStore \
87	ucb/source/ucp/webdav/LockRequest \
88	ucb/source/ucp/webdav/PropfindRequest \
89	ucb/source/ucp/webdav/ProppatchRequest \
90	ucb/source/ucp/webdav/CurlUri \
91	ucb/source/ucp/webdav/CurlInputStream \
92	ucb/source/ucp/webdav/DateTimeHelper \
93	ucb/source/ucp/webdav/UCBDeadPropertyValue \
94))
95
96# vim: set noet sw=4 ts=4:
97