fdo79368 Don't process overflow menu items twice.
[LibreOffice.git] / slideshow / Library_OGLTrans.mk
bloba539847d776b3bcd384b9729a29141238470ed51
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 vclopengl \
35 $(gb_UWINAPI) \
38 $(eval $(call gb_Library_use_externals,OGLTrans,\
39 boost_headers \
40 glew \
41 mesa_headers \
44 $(eval $(call gb_Library_set_componentfile,OGLTrans,slideshow/source/engine/OGLTrans/ogltrans))
46 ifeq ($(strip $(OS)),MACOSX)
47 $(eval $(call gb_Library_add_objcobjects,OGLTrans,\
48 slideshow/source/engine/OGLTrans/mac/aquaOpenGLView \
49 slideshow/source/engine/OGLTrans/mac/OGLTrans_Shaders \
53 $(eval $(call gb_Library_add_objcxxobjects,OGLTrans,\
54 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionerImpl \
55 slideshow/source/engine/OGLTrans/mac/OGLTrans_TransitionImpl \
56 , $(gb_LinkTarget_EXCEPTIONFLAGS) \
59 $(eval $(call gb_Library_use_system_darwin_frameworks,OGLTrans,\
60 Cocoa \
61 GLUT \
62 OpenGL \
65 else ifeq ($(strip $(OS)),WNT)
66 $(eval $(call gb_Library_use_system_win32_libs,OGLTrans,\
67 gdi32 \
68 glu32 \
69 opengl32 \
72 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
73 slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders \
74 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
75 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
78 else
79 $(eval $(call gb_Library_add_exception_objects,OGLTrans,\
80 slideshow/source/engine/OGLTrans/generic/OGLTrans_Shaders \
81 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl \
82 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl \
85 $(eval $(call gb_Library_add_libs,OGLTrans,\
86 -lGL \
87 -lGLU \
88 -lX11 \
90 endif
92 # vim: set noet sw=4 ts=4: