build fix
[LibreOffice.git] / slideshow / Library_OGLTrans.mk
blobb908a0bb36504e48282f980b9ade514703ded0e4
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 ifneq ($(strip $(debug)$(DEBUG)),)
13 $(eval $(call gb_Library_add_defs,OGLTrans,\
14 -DBOOST_SP_ENABLE_DEBUG_HOOKS \
16 endif
18 $(eval $(call gb_Library_add_defs,OGLTrans,\
19 -DGLM_FORCE_RADIANS \
22 $(eval $(call gb_Library_use_sdk_api,OGLTrans))
24 $(eval $(call gb_Library_use_libraries,OGLTrans,\
25 basegfx \
26 canvastools \
27 comphelper \
28 cppu \
29 cppuhelper \
30 sal \
31 vcl \
32 $(gb_UWINAPI) \
35 $(eval $(call gb_Library_use_externals,OGLTrans,\
36 boost_headers \
37 glew \
38 glm_headers \
41 $(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/opengl/ogltrans))
43 ifeq ($(strip $(OS)),MACOSX)
45 $(eval $(call gb_Library_use_system_darwin_frameworks,OGLTrans,\
46 Cocoa \
47 GLUT \
48 OpenGL \
51 else ifeq ($(strip $(OS)),WNT)
53 $(eval $(call gb_Library_use_system_win32_libs,OGLTrans,\
54 gdi32 \
55 glu32 \
56 opengl32 \
59 else
61 $(eval $(call gb_Library_add_libs,OGLTrans,\
62 -lGL \
63 -lX11 \
66 endif
68 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
69 slideshow/source/engine/opengl/TransitionerImpl \
70 slideshow/source/engine/opengl/TransitionImpl \
71 slideshow/source/engine/opengl/Operation \
74 # vim: set noet sw=4 ts=4: