xref: /trunk/main/ucb/Library_ucpdav1.mk (revision 421ed02e)
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,apr)
69$(call gb_Library_use_external,ucpdav1,apr_util)
70$(call gb_Library_use_external,ucpdav1,libxml2)
71$(call gb_Library_use_external,ucpdav1,openssl)
72$(call gb_Library_use_external,ucpdav1,serf)
73
74$(eval $(call gb_Library_add_exception_objects,ucpdav1,\
75	ucb/source/ucp/webdav/webdavservices \
76	ucb/source/ucp/webdav/webdavprovider \
77	ucb/source/ucp/webdav/webdavcontent \
78	ucb/source/ucp/webdav/webdavcontentcaps \
79	ucb/source/ucp/webdav/webdavresultset \
80	ucb/source/ucp/webdav/webdavdatasupplier \
81	ucb/source/ucp/webdav/ContentProperties \
82	ucb/source/ucp/webdav/DAVProperties \
83	ucb/source/ucp/webdav/DAVSessionFactory \
84	ucb/source/ucp/webdav/DAVResourceAccess \
85	ucb/source/ucp/webdav/AprEnv \
86	ucb/source/ucp/webdav/webdavresponseparser \
87	ucb/source/ucp/webdav/SerfUri \
88	ucb/source/ucp/webdav/SerfRequestProcessor \
89	ucb/source/ucp/webdav/SerfRequestProcessorImpl \
90	ucb/source/ucp/webdav/SerfRequestProcessorImplFac \
91	ucb/source/ucp/webdav/SerfPropFindReqProcImpl \
92	ucb/source/ucp/webdav/SerfPropPatchReqProcImpl \
93	ucb/source/ucp/webdav/SerfGetReqProcImpl \
94	ucb/source/ucp/webdav/SerfHeadReqProcImpl \
95	ucb/source/ucp/webdav/SerfPutReqProcImpl \
96	ucb/source/ucp/webdav/SerfPostReqProcImpl \
97	ucb/source/ucp/webdav/SerfDeleteReqProcImpl \
98	ucb/source/ucp/webdav/SerfMkColReqProcImpl \
99	ucb/source/ucp/webdav/SerfCopyReqProcImpl \
100	ucb/source/ucp/webdav/SerfMoveReqProcImpl \
101	ucb/source/ucp/webdav/SerfLockReqProcImpl \
102	ucb/source/ucp/webdav/SerfLockRefreshProcImpl \
103	ucb/source/ucp/webdav/SerfUnlockProcImpl \
104	ucb/source/ucp/webdav/SerfLockStore \
105	ucb/source/ucp/webdav/SerfSession \
106	ucb/source/ucp/webdav/SerfCallbacks \
107	ucb/source/ucp/webdav/SerfInputStream \
108	ucb/source/ucp/webdav/DateTimeHelper \
109	ucb/source/ucp/webdav/UCBDeadPropertyValue \
110))
111
112# vim: set noet sw=4 ts=4:
113