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$(eval $(call gb_Library_Library,slideshow))
24
25$(eval $(call gb_Library_set_componentfile,slideshow,slideshow/util/slideshow))
26
27$(eval $(call gb_Library_add_linked_libs,slideshow,\
28	avmedia \
29	basegfx \
30	canvastools \
31	comphelper \
32	cppcanvas \
33	cppuhelper \
34	cppu \
35	sal \
36	stl \
37	svt \
38	tl \
39	utl \
40	vcl \
41	$(gb_STDLIBS) \
42))
43
44# Necessary for building slideshowimpl
45$(eval $(call gb_Library_set_include,slideshow,\
46        $$(INCLUDE) \
47	-I$(SRCDIR)/slideshow/source/inc \
48	-I$(SRCDIR)/slideshow/inc/pch \
49))
50
51# Necessary for building slideshowimpl
52$(eval $(call gb_Library_add_defs,sildeshow,\
53	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
54))
55
56# Necessary for building slideshowimpl
57$(eval $(call gb_Library_add_api,slideshow,\
58	offapi \
59	udkapi \
60))
61
62$(eval $(call gb_Library_add_linked_static_libs,slideshow,\
63	sldshw_s \
64))
65
66# List this file again, even though it's in the static lib, so that
67# component_getFactory and component_getImplementationEnvironment are exported:
68$(eval $(call gb_Library_add_exception_objects,slideshow,\
69	slideshow/source/engine/slideshowimpl \
70))
71
72# vim: set noet sw=4 ts=4:
73