xref: /aoo42x/main/ucb/Library_ucpgio1.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,ucpgio1))
25
26$(eval $(call gb_Library_set_componentfile,ucpgio1,ucb/source/ucp/gio/ucpgio))
27
28$(eval $(call gb_Library_set_include,ucpgio1,\
29        $$(INCLUDE) \
30	-I$(SRCDIR)/ucb/inc/pch \
31	-I$(SRCDIR)/ucb/source/inc \
32	$(filter -I%,$(GIO_CFLAGS)) \
33))
34
35$(eval $(call gb_Library_add_cflags,ucpgio1,\
36	$(filter-out -I%,$(GIO_CFLAGS)) \
37))
38
39$(eval $(call gb_Library_add_api,ucpgio1,\
40	offapi \
41	udkapi \
42))
43
44$(eval $(call gb_Library_add_linked_libs,ucpgio1,\
45	cppuhelper \
46	cppu \
47	sal \
48	salhelper \
49	stl \
50	ucbhelper \
51	$(gb_STDLIBS) \
52))
53
54$(eval $(call gb_Library_add_libs,ucpgio1,\
55	$(GIO_LIBS) \
56))
57
58$(eval $(call gb_Library_add_exception_objects,ucpgio1,\
59	ucp/source/ucp/gio/gio_provider \
60	ucp/source/ucp/gio/gio_content \
61	ucp/source/ucp/gio/gio_resultset \
62	ucp/source/ucp/gio/gio_datasupplier \
63	ucp/source/ucp/gio/gio_seekable \
64	ucp/source/ucp/gio/gio_inputstream \
65	ucp/source/ucp/gio/gio_outputstream \
66	ucp/source/ucp/gio/gio_mount \
67))
68
69# vim: set noet sw=4 ts=4:
70