Bump version to 5.0-14
[LibreOffice.git] / avmedia / Library_avmediaogl.mk
blob3ff98181184669168cc7ec2b5c11ba43f41dbac3
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,avmediaogl))
12 $(eval $(call gb_Library_set_componentfile,avmediaogl,avmedia/source/opengl/avmediaogl))
14 $(eval $(call gb_Library_use_sdk_api,avmediaogl))
16 $(eval $(call gb_Library_use_externals,avmediaogl, \
17 boost_headers \
18 libgltf \
19 glew \
20 glm_headers \
21 mesa_headers \
24 $(eval $(call gb_Library_use_libraries,avmediaogl,\
25 comphelper \
26 cppu \
27 cppuhelper \
28 sal \
29 salhelper \
30 tl \
31 vcl \
32 $(gb_UWINAPI) \
35 $(eval $(call gb_Library_set_include,avmediaogl,\
36 $$(INCLUDE) \
39 $(eval $(call gb_Library_add_exception_objects,avmediaogl,\
40 avmedia/source/opengl/oglframegrabber \
41 avmedia/source/opengl/oglmanager \
42 avmedia/source/opengl/oglplayer \
43 avmedia/source/opengl/ogluno \
44 avmedia/source/opengl/oglwindow \
47 ifeq ($(strip $(OS)),WNT)
48 $(eval $(call gb_Library_use_system_win32_libs,avmediaogl,\
49 opengl32 \
51 else ifeq ($(OS),MACOSX)
52 $(eval $(call gb_Library_use_system_darwin_frameworks,avmediaogl,\
53 OpenGL \
55 else ifeq ($(OS),LINUX)
56 $(eval $(call gb_Library_add_libs,avmediaogl,\
57 -lGL \
59 endif
61 # vim: set noet sw=4 ts=4: