xref: /aoo42x/main/ucb/Library_ucpftp1.mk (revision 421ed02e)
1*421ed02eSdamjan#**************************************************************
2*421ed02eSdamjan#
3*421ed02eSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*421ed02eSdamjan#  or more contributor license agreements.  See the NOTICE file
5*421ed02eSdamjan#  distributed with this work for additional information
6*421ed02eSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*421ed02eSdamjan#  to you under the Apache License, Version 2.0 (the
8*421ed02eSdamjan#  "License"); you may not use this file except in compliance
9*421ed02eSdamjan#  with the License.  You may obtain a copy of the License at
10*421ed02eSdamjan#
11*421ed02eSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*421ed02eSdamjan#
13*421ed02eSdamjan#  Unless required by applicable law or agreed to in writing,
14*421ed02eSdamjan#  software distributed under the License is distributed on an
15*421ed02eSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*421ed02eSdamjan#  KIND, either express or implied.  See the License for the
17*421ed02eSdamjan#  specific language governing permissions and limitations
18*421ed02eSdamjan#  under the License.
19*421ed02eSdamjan#
20*421ed02eSdamjan#**************************************************************
21*421ed02eSdamjan
22*421ed02eSdamjan
23*421ed02eSdamjan
24*421ed02eSdamjan$(eval $(call gb_Library_Library,ucpftp1))
25*421ed02eSdamjan
26*421ed02eSdamjan$(eval $(call gb_Library_add_precompiled_header,ucpftp1,$(SRCDIR)/ucb/inc/pch/precompiled_ftp))
27*421ed02eSdamjan
28*421ed02eSdamjan$(eval $(call gb_Library_set_componentfile,ucpftp1,ucb/source/ucp/ftp/ucpftp1))
29*421ed02eSdamjan
30*421ed02eSdamjan$(eval $(call gb_Library_set_include,ucpftp1,\
31*421ed02eSdamjan        $$(INCLUDE) \
32*421ed02eSdamjan	-I$(SRCDIR)/ucb/inc/pch \
33*421ed02eSdamjan	-I$(SRCDIR)/ucb/source/inc \
34*421ed02eSdamjan	$(filter -I%,$(CURL_CFLAGS)) \
35*421ed02eSdamjan))
36*421ed02eSdamjan
37*421ed02eSdamjan$(eval $(call gb_Library_add_cflags,ucpftp1,\
38*421ed02eSdamjan	$(filter-out -I%,$(CURL_CFLAGS)) \
39*421ed02eSdamjan))
40*421ed02eSdamjan
41*421ed02eSdamjan$(eval $(call gb_Library_add_api,ucpftp1,\
42*421ed02eSdamjan	offapi \
43*421ed02eSdamjan	udkapi \
44*421ed02eSdamjan))
45*421ed02eSdamjan
46*421ed02eSdamjan$(eval $(call gb_Library_add_linked_libs,ucpftp1,\
47*421ed02eSdamjan	cppuhelper \
48*421ed02eSdamjan	cppu \
49*421ed02eSdamjan	sal \
50*421ed02eSdamjan	stl \
51*421ed02eSdamjan	ucbhelper \
52*421ed02eSdamjan	$(gb_STDLIBS) \
53*421ed02eSdamjan))
54*421ed02eSdamjan
55*421ed02eSdamjan$(eval $(call gb_Library_add_libs,ucpftp1,\
56*421ed02eSdamjan	$(CURL_LIBS) \
57*421ed02eSdamjan))
58*421ed02eSdamjan
59*421ed02eSdamjan$(eval $(call gb_Library_add_exception_objects,ucpftp1,\
60*421ed02eSdamjan	ucb/source/ucp/ftp/ftpservices \
61*421ed02eSdamjan	ucb/source/ucp/ftp/ftpcontentprovider \
62*421ed02eSdamjan	ucb/source/ucp/ftp/ftpcontent \
63*421ed02eSdamjan	ucb/source/ucp/ftp/ftpcontentidentifier \
64*421ed02eSdamjan	ucb/source/ucp/ftp/ftpcontentcaps \
65*421ed02eSdamjan	ucb/source/ucp/ftp/ftpdynresultset \
66*421ed02eSdamjan	ucb/source/ucp/ftp/ftpresultsetbase \
67*421ed02eSdamjan	ucb/source/ucp/ftp/ftpresultsetI \
68*421ed02eSdamjan	ucb/source/ucp/ftp/ftploaderthread \
69*421ed02eSdamjan	ucb/source/ucp/ftp/ftpinpstr \
70*421ed02eSdamjan	ucb/source/ucp/ftp/ftpdirp \
71*421ed02eSdamjan	ucb/source/ucp/ftp/ftpcfunc \
72*421ed02eSdamjan	ucb/source/ucp/ftp/ftpurl \
73*421ed02eSdamjan	ucb/source/ucp/ftp/ftpintreq \
74*421ed02eSdamjan))
75*421ed02eSdamjan
76*421ed02eSdamjan# vim: set noet sw=4 ts=4:
77