xref: /trunk/main/package/Library_xstor.mk (revision 2204446b)
1873c956eSdamjan#**************************************************************
2873c956eSdamjan#
3873c956eSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4873c956eSdamjan#  or more contributor license agreements.  See the NOTICE file
5873c956eSdamjan#  distributed with this work for additional information
6873c956eSdamjan#  regarding copyright ownership.  The ASF licenses this file
7873c956eSdamjan#  to you under the Apache License, Version 2.0 (the
8873c956eSdamjan#  "License"); you may not use this file except in compliance
9873c956eSdamjan#  with the License.  You may obtain a copy of the License at
10873c956eSdamjan#
11873c956eSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12873c956eSdamjan#
13873c956eSdamjan#  Unless required by applicable law or agreed to in writing,
14873c956eSdamjan#  software distributed under the License is distributed on an
15873c956eSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16873c956eSdamjan#  KIND, either express or implied.  See the License for the
17873c956eSdamjan#  specific language governing permissions and limitations
18873c956eSdamjan#  under the License.
19873c956eSdamjan#
20873c956eSdamjan#**************************************************************
21873c956eSdamjan
22873c956eSdamjan
23873c956eSdamjan
24873c956eSdamjan$(eval $(call gb_Library_Library,xstor))
25873c956eSdamjan
26873c956eSdamjan$(eval $(call gb_Library_add_precompiled_header,xstor,$(SRCDIR)/package/inc/pch/precompiled_package))
27873c956eSdamjan
28873c956eSdamjan$(eval $(call gb_Library_set_componentfile,xstor,package/source/xstor/xstor))
29873c956eSdamjan
30873c956eSdamjan$(eval $(call gb_Library_set_include,xstor,\
31873c956eSdamjan        $$(INCLUDE) \
32873c956eSdamjan	-I$(SRCDIR)/package/inc \
33873c956eSdamjan	-I$(SRCDIR)/package/inc/pch \
34873c956eSdamjan))
35873c956eSdamjan
36873c956eSdamjan$(eval $(call gb_Library_add_defs,xstor,\
37873c956eSdamjan	-DPACKAGE_DLLIMPLEMENTATION \
38873c956eSdamjan))
39873c956eSdamjan
40873c956eSdamjan$(eval $(call gb_Library_add_api,xstor,\
41873c956eSdamjan	offapi \
42873c956eSdamjan	udkapi \
43873c956eSdamjan))
44873c956eSdamjan
45873c956eSdamjan$(eval $(call gb_Library_add_linked_libs,xstor,\
46873c956eSdamjan	comphelper \
47873c956eSdamjan	cppuhelper \
48873c956eSdamjan	cppu \
49873c956eSdamjan	sal \
50*2204446bSdamjan	stl \
51873c956eSdamjan	$(gb_STDLIBS) \
52873c956eSdamjan))
53873c956eSdamjan
54873c956eSdamjan
55873c956eSdamjan$(eval $(call gb_Library_add_exception_objects,xstor,\
56873c956eSdamjan	package/source/xstor/ohierarchyholder \
57873c956eSdamjan	package/source/xstor/ocompinstream \
58873c956eSdamjan	package/source/xstor/oseekinstream \
59873c956eSdamjan	package/source/xstor/owriteablestream \
60873c956eSdamjan	package/source/xstor/xstorage \
61873c956eSdamjan	package/source/xstor/xfactory \
62873c956eSdamjan	package/source/xstor/disposelistener \
63873c956eSdamjan	package/source/xstor/selfterminatefilestream \
64873c956eSdamjan	package/source/xstor/switchpersistencestream \
65873c956eSdamjan	package/source/xstor/register \
66873c956eSdamjan))
67873c956eSdamjan
68873c956eSdamjan# vim: set noet sw=4 ts=4:
69