xref: /aoo42x/main/ucb/Library_ucpftp1.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,ucpftp1))
25
26$(eval $(call gb_Library_add_precompiled_header,ucpftp1,$(SRCDIR)/ucb/inc/pch/precompiled_ftp))
27
28$(eval $(call gb_Library_set_componentfile,ucpftp1,ucb/source/ucp/ftp/ucpftp1))
29
30$(eval $(call gb_Library_set_include,ucpftp1,\
31        $$(INCLUDE) \
32	-I$(SRCDIR)/ucb/inc/pch \
33	-I$(SRCDIR)/ucb/source/inc \
34	$(filter -I%,$(CURL_CFLAGS)) \
35))
36
37$(eval $(call gb_Library_add_cflags,ucpftp1,\
38	$(filter-out -I%,$(CURL_CFLAGS)) \
39))
40
41$(eval $(call gb_Library_add_api,ucpftp1,\
42	offapi \
43	udkapi \
44))
45
46$(eval $(call gb_Library_add_linked_libs,ucpftp1,\
47	cppuhelper \
48	cppu \
49	sal \
50	stl \
51	ucbhelper \
52	$(gb_STDLIBS) \
53))
54
55$(eval $(call gb_Library_add_libs,ucpftp1,\
56	$(CURL_LIBS) \
57))
58
59$(eval $(call gb_Library_add_exception_objects,ucpftp1,\
60	ucb/source/ucp/ftp/ftpservices \
61	ucb/source/ucp/ftp/ftpcontentprovider \
62	ucb/source/ucp/ftp/ftpcontent \
63	ucb/source/ucp/ftp/ftpcontentidentifier \
64	ucb/source/ucp/ftp/ftpcontentcaps \
65	ucb/source/ucp/ftp/ftpdynresultset \
66	ucb/source/ucp/ftp/ftpresultsetbase \
67	ucb/source/ucp/ftp/ftpresultsetI \
68	ucb/source/ucp/ftp/ftploaderthread \
69	ucb/source/ucp/ftp/ftpinpstr \
70	ucb/source/ucp/ftp/ftpdirp \
71	ucb/source/ucp/ftp/ftpcfunc \
72	ucb/source/ucp/ftp/ftpurl \
73	ucb/source/ucp/ftp/ftpintreq \
74))
75
76# vim: set noet sw=4 ts=4:
77