Bump version to 4.1-6
[LibreOffice.git] / slideshow / Library_OGLTrans.mk
blobba47cde5e8b69840eac540d6f5552adb5e80684d
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 mesa_headers \
42 $(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/OGLTrans/ogltrans))
44 ifeq ($(strip $(OS)),MACOSX)
45 $(eval $(call gb_Library_add_objcobjects,OGLTrans,\
46 slideshow/source/engine/OGLTrans/mac/aquaOpenGLView \
47 slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders \
51 $(eval $(call gb_Library_add_objcxxobjects,OGLTrans,\
52 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl \
53 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl \
54 , $(gb_LinkTarget_EXCEPTIONFLAGS) \
57 $(eval $(call gb_Library_use_system_darwin_frameworks,OGLTrans,\
58 Cocoa \
59 GLUT \
60 OpenGL \
63 else ifeq ($(strip $(OS)),WNT)
64 $(eval $(call gb_Library_use_system_win32_libs,OGLTrans,\
65 gdi32 \
66 glu32 \
67 opengl32 \
70 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
71 slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders \
72 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
73 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
76 else
77 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
78 slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders \
79 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
80 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
83 $(eval $(call gb_Library_add_libs,OGLTrans,\
84 -lGL \
85 -lGLU \
86 -lX11 \
88 endif
90 # vim: set noet sw=4 ts=4: