bump product version to 5.0.4.1
[LibreOffice.git] / slideshow / Library_OGLTrans.mk
blobf5f4676677e6a86cff29d1af3adb4b1ebcbe9f9d
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,OGLTrans))
12 ifeq ($(strip $(VERBOSE)),TRUE)
13 $(eval $(call gb_Library_add_defs,OGLTrans,\
14 -DVERBOSE \
16 endif
18 ifneq ($(strip $(debug)$(DEBUG)),)
19 $(eval $(call gb_Library_add_defs,OGLTrans,\
20 -DBOOST_SP_ENABLE_DEBUG_HOOKS \
22 endif
24 $(eval $(call gb_Library_use_sdk_api,OGLTrans))
26 $(eval $(call gb_Library_use_libraries,OGLTrans,\
27 basegfx \
28 canvastools \
29 comphelper \
30 cppu \
31 cppuhelper \
32 sal \
33 vcl \
34 $(gb_UWINAPI) \
37 $(eval $(call gb_Library_use_externals,OGLTrans,\
38 boost_headers \
39 glew \
40 mesa_headers \
41 glm_headers \
44 $(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/OGLTrans/ogltrans))
46 ifeq ($(strip $(OS)),MACOSX)
48 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
49 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
50 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
53 $(eval $(call gb_Library_use_system_darwin_frameworks,OGLTrans,\
54 Cocoa \
55 GLUT \
56 OpenGL \
59 else ifeq ($(strip $(OS)),WNT)
60 $(eval $(call gb_Library_use_system_win32_libs,OGLTrans,\
61 gdi32 \
62 glu32 \
63 opengl32 \
66 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
67 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
68 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
71 else
72 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
73 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
74 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
77 $(eval $(call gb_Library_add_libs,OGLTrans,\
78 -lGL \
79 -lX11 \
81 endif
83 # vim: set noet sw=4 ts=4: