xref: /aoo42x/main/package/Library_xstor.mk (revision 873c956e)
1*873c956eSdamjan#**************************************************************
2*873c956eSdamjan#
3*873c956eSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*873c956eSdamjan#  or more contributor license agreements.  See the NOTICE file
5*873c956eSdamjan#  distributed with this work for additional information
6*873c956eSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*873c956eSdamjan#  to you under the Apache License, Version 2.0 (the
8*873c956eSdamjan#  "License"); you may not use this file except in compliance
9*873c956eSdamjan#  with the License.  You may obtain a copy of the License at
10*873c956eSdamjan#
11*873c956eSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*873c956eSdamjan#
13*873c956eSdamjan#  Unless required by applicable law or agreed to in writing,
14*873c956eSdamjan#  software distributed under the License is distributed on an
15*873c956eSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*873c956eSdamjan#  KIND, either express or implied.  See the License for the
17*873c956eSdamjan#  specific language governing permissions and limitations
18*873c956eSdamjan#  under the License.
19*873c956eSdamjan#
20*873c956eSdamjan#**************************************************************
21*873c956eSdamjan
22*873c956eSdamjan
23*873c956eSdamjan
24*873c956eSdamjan$(eval $(call gb_Library_Library,xstor))
25*873c956eSdamjan
26*873c956eSdamjan$(eval $(call gb_Library_add_precompiled_header,xstor,$(SRCDIR)/package/inc/pch/precompiled_package))
27*873c956eSdamjan
28*873c956eSdamjan$(eval $(call gb_Library_set_componentfile,xstor,package/source/xstor/xstor))
29*873c956eSdamjan
30*873c956eSdamjan$(eval $(call gb_Library_set_include,xstor,\
31*873c956eSdamjan        $$(INCLUDE) \
32*873c956eSdamjan	-I$(SRCDIR)/package/inc \
33*873c956eSdamjan	-I$(SRCDIR)/package/inc/pch \
34*873c956eSdamjan))
35*873c956eSdamjan
36*873c956eSdamjan$(eval $(call gb_Library_add_defs,xstor,\
37*873c956eSdamjan	-DPACKAGE_DLLIMPLEMENTATION \
38*873c956eSdamjan))
39*873c956eSdamjan
40*873c956eSdamjan$(eval $(call gb_Library_add_api,xstor,\
41*873c956eSdamjan	offapi \
42*873c956eSdamjan	udkapi \
43*873c956eSdamjan))
44*873c956eSdamjan
45*873c956eSdamjan$(eval $(call gb_Library_add_linked_libs,xstor,\
46*873c956eSdamjan	comphelper \
47*873c956eSdamjan	cppuhelper \
48*873c956eSdamjan	cppu \
49*873c956eSdamjan	sal \
50*873c956eSdamjan	$(gb_STDLIBS) \
51*873c956eSdamjan))
52*873c956eSdamjan
53*873c956eSdamjan
54*873c956eSdamjan$(eval $(call gb_Library_add_exception_objects,xstor,\
55*873c956eSdamjan	package/source/xstor/ohierarchyholder \
56*873c956eSdamjan	package/source/xstor/ocompinstream \
57*873c956eSdamjan	package/source/xstor/oseekinstream \
58*873c956eSdamjan	package/source/xstor/owriteablestream \
59*873c956eSdamjan	package/source/xstor/xstorage \
60*873c956eSdamjan	package/source/xstor/xfactory \
61*873c956eSdamjan	package/source/xstor/disposelistener \
62*873c956eSdamjan	package/source/xstor/selfterminatefilestream \
63*873c956eSdamjan	package/source/xstor/switchpersistencestream \
64*873c956eSdamjan	package/source/xstor/register \
65*873c956eSdamjan))
66*873c956eSdamjan
67*873c956eSdamjan# vim: set noet sw=4 ts=4:
68