xref: /trunk/main/slideshow/Module_slideshow.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*df3f5cbcSdamjan#**************************************************************
2*df3f5cbcSdamjan#
3*df3f5cbcSdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*df3f5cbcSdamjan#  or more contributor license agreements.  See the NOTICE file
5*df3f5cbcSdamjan#  distributed with this work for additional information
6*df3f5cbcSdamjan#  regarding copyright ownership.  The ASF licenses this file
7*df3f5cbcSdamjan#  to you under the Apache License, Version 2.0 (the
8*df3f5cbcSdamjan#  "License"); you may not use this file except in compliance
9*df3f5cbcSdamjan#  with the License.  You may obtain a copy of the License at
10*df3f5cbcSdamjan#
11*df3f5cbcSdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*df3f5cbcSdamjan#
13*df3f5cbcSdamjan#  Unless required by applicable law or agreed to in writing,
14*df3f5cbcSdamjan#  software distributed under the License is distributed on an
15*df3f5cbcSdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*df3f5cbcSdamjan#  KIND, either express or implied.  See the License for the
17*df3f5cbcSdamjan#  specific language governing permissions and limitations
18*df3f5cbcSdamjan#  under the License.
19*df3f5cbcSdamjan#
20*df3f5cbcSdamjan#**************************************************************
21*df3f5cbcSdamjan
22*df3f5cbcSdamjan
23*df3f5cbcSdamjan
24*df3f5cbcSdamjan$(eval $(call gb_Module_Module,slideshow))
25*df3f5cbcSdamjan
26*df3f5cbcSdamjan$(eval $(call gb_Module_add_targets,slideshow,\
27*df3f5cbcSdamjan    Library_slideshow \
28*df3f5cbcSdamjan    StaticLibrary_sldshw_s \
29*df3f5cbcSdamjan))
30*df3f5cbcSdamjan
31*df3f5cbcSdamjanifeq ($(ENABLE_OPENGL),TRUE)
32*df3f5cbcSdamjan$(eval $(call gb_Module_add_targets,slideshow,\
33*df3f5cbcSdamjan    Library_OGLTrans \
34*df3f5cbcSdamjan))
35*df3f5cbcSdamjanendif
36*df3f5cbcSdamjan
37*df3f5cbcSdamjanifeq ($(ENABLE_UNIT_TESTS),YES)
38*df3f5cbcSdamjan$(eval $(call gb_Module_add_check_targets,slideshow,\
39*df3f5cbcSdamjan        GoogleTest_slideshow_tests \
40*df3f5cbcSdamjan))
41*df3f5cbcSdamjanendif
42*df3f5cbcSdamjan
43*df3f5cbcSdamjan# crashes on startup, did so before port to gbuild:
44*df3f5cbcSdamjan#        GoogleTest_slideshow_demoshow \
45*df3f5cbcSdamjan
46*df3f5cbcSdamjan
47*df3f5cbcSdamjan
48*df3f5cbcSdamjan# vim: set noet sw=4 ts=4:
49