xref: /trunk/main/slideshow/Library_slideshow.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1df3f5cbcSdamjan#**************************************************************
2df3f5cbcSdamjan#
3df3f5cbcSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4df3f5cbcSdamjan#  or more contributor license agreements.  See the NOTICE file
5df3f5cbcSdamjan#  distributed with this work for additional information
6df3f5cbcSdamjan#  regarding copyright ownership.  The ASF licenses this file
7df3f5cbcSdamjan#  to you under the Apache License, Version 2.0 (the
8df3f5cbcSdamjan#  "License"); you may not use this file except in compliance
9df3f5cbcSdamjan#  with the License.  You may obtain a copy of the License at
10df3f5cbcSdamjan#
11df3f5cbcSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12df3f5cbcSdamjan#
13df3f5cbcSdamjan#  Unless required by applicable law or agreed to in writing,
14df3f5cbcSdamjan#  software distributed under the License is distributed on an
15df3f5cbcSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16df3f5cbcSdamjan#  KIND, either express or implied.  See the License for the
17df3f5cbcSdamjan#  specific language governing permissions and limitations
18df3f5cbcSdamjan#  under the License.
19df3f5cbcSdamjan#
20df3f5cbcSdamjan#**************************************************************
21df3f5cbcSdamjan
22df3f5cbcSdamjan
23774c2d42SYuri Dario$(eval $(call gb_Library_Library,slideshow))
24df3f5cbcSdamjan
25774c2d42SYuri Dario$(eval $(call gb_Library_set_componentfile,slideshow,slideshow/util/slideshow))
26df3f5cbcSdamjan
27774c2d42SYuri Dario$(eval $(call gb_Library_add_linked_libs,slideshow,\
28df3f5cbcSdamjan    avmedia \
29df3f5cbcSdamjan    basegfx \
30df3f5cbcSdamjan    canvastools \
31df3f5cbcSdamjan    comphelper \
32df3f5cbcSdamjan    cppcanvas \
33df3f5cbcSdamjan    cppuhelper \
34df3f5cbcSdamjan    cppu \
35df3f5cbcSdamjan    sal \
36df3f5cbcSdamjan    stl \
37df3f5cbcSdamjan    svt \
38df3f5cbcSdamjan    tl \
39df3f5cbcSdamjan    utl \
40df3f5cbcSdamjan    vcl \
41df3f5cbcSdamjan    $(gb_STDLIBS) \
42df3f5cbcSdamjan))
43df3f5cbcSdamjan
44*f65264f8SArrigo Marchiori# Necessary for building slideshowimpl
45*f65264f8SArrigo Marchiori$(eval $(call gb_Library_set_include,slideshow,\
46*f65264f8SArrigo Marchiori        $$(INCLUDE) \
47*f65264f8SArrigo Marchiori    -I$(SRCDIR)/slideshow/source/inc \
48*f65264f8SArrigo Marchiori    -I$(SRCDIR)/slideshow/inc/pch \
49*f65264f8SArrigo Marchiori))
50*f65264f8SArrigo Marchiori
51*f65264f8SArrigo Marchiori# Necessary for building slideshowimpl
52*f65264f8SArrigo Marchiori$(eval $(call gb_Library_add_defs,sildeshow,\
53*f65264f8SArrigo Marchiori    -DBOOST_SPIRIT_USE_OLD_NAMESPACE \
54*f65264f8SArrigo Marchiori))
55*f65264f8SArrigo Marchiori
56*f65264f8SArrigo Marchiori# Necessary for building slideshowimpl
57*f65264f8SArrigo Marchiori$(eval $(call gb_Library_add_api,slideshow,\
58*f65264f8SArrigo Marchiori    offapi \
59*f65264f8SArrigo Marchiori    udkapi \
60*f65264f8SArrigo Marchiori))
61*f65264f8SArrigo Marchiori
62774c2d42SYuri Dario$(eval $(call gb_Library_add_linked_static_libs,slideshow,\
63df3f5cbcSdamjan    sldshw_s \
64df3f5cbcSdamjan))
65df3f5cbcSdamjan
66df3f5cbcSdamjan# List this file again, even though it's in the static lib, so that
67df3f5cbcSdamjan# component_getFactory and component_getImplementationEnvironment are exported:
68774c2d42SYuri Dario$(eval $(call gb_Library_add_exception_objects,slideshow,\
69df3f5cbcSdamjan    slideshow/source/engine/slideshowimpl \
70df3f5cbcSdamjan))
71df3f5cbcSdamjan
72df3f5cbcSdamjan# vim: set noet sw=4 ts=4:
73