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