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
,vclopengl
))
12 $(eval
$(call gb_Library_set_include
,vclopengl
,\
13 -I
$(SRCDIR
)/vcl
/inc
/ \
17 $(eval
$(call gb_Library_add_defs
,vclopengl
,\
18 -DVCLOPENGL_DLLIMPLEMENTATION \
21 $(eval
$(call gb_Library_use_externals
,vclopengl
,\
29 $(eval
$(call gb_Library_use_sdk_api
,vclopengl
))
31 $(eval
$(call gb_Library_use_libraries
,vclopengl
,\
41 $(eval
$(call gb_Library_add_exception_objects
,vclopengl
,\
42 vcl
/source
/opengl
/OpenGLContext \
43 vcl
/source
/opengl
/OpenGLHelper \
44 vcl
/source
/window
/openglwin \
49 $(eval
$(call gb_Library_add_cxxflags
,vclopengl
,\
53 $(eval
$(call gb_Library_add_libs
,vcl
,\
55 -F
/System
/Library
/PrivateFrameworks \
60 $(eval
$(call gb_Library_add_exception_objects
,vclopengl
,\
61 vcl
/osx
/OpenGLWrapper \
66 ifeq ($(strip $(OS
)),WNT
)
67 $(eval
$(call gb_Library_use_system_win32_libs
,vclopengl
,\
72 else ifeq ($(OS
),MACOSX
)
73 $(eval
$(call gb_Library_use_system_darwin_frameworks
,vclopengl
,\
79 else ifeq ($(OS
),LINUX
)
80 $(eval
$(call gb_Library_add_libs
,vclopengl
,\
88 # vim: set noet sw=4 ts=4: