Version 5.4.3.2, tag libreoffice-5.4.3.2
[LibreOffice.git] / avmedia / Library_avmedia.mk
blob72f46a38b5c6451c4007cfc33165483cc62d215f
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,avmedia))
12 $(eval $(call gb_Library_set_componentfile,avmedia,avmedia/util/avmedia))
14 $(eval $(call gb_Library_set_include,avmedia,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/avmedia/inc \
17 -I$(SRCDIR)/avmedia/source/inc \
20 $(eval $(call gb_Library_use_sdk_api,avmedia,))
22 $(eval $(call gb_Library_add_defs,avmedia,\
23 -DAVMEDIA_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_use_externals,avmedia,\
27 boost_headers \
30 ifeq ($(ENABLE_HEADLESS),)
31 $(eval $(call gb_Library_use_externals,avmedia,\
32 epoxy \
34 endif
37 $(eval $(call gb_Library_use_libraries,avmedia,\
38 comphelper \
39 ucbhelper \
40 cppu \
41 cppuhelper \
42 sal \
43 i18nlangtag \
44 sfx \
45 svl \
46 svt \
47 tl \
48 utl \
49 vcl \
52 ifeq ($(ENABLE_GLTF),TRUE)
53 $(eval $(call gb_Library_add_exception_objects,avmedia,\
54 avmedia/source/framework/modeltools \
56 endif
58 ifeq ($(ENABLE_COLLADA),TRUE)
60 ifeq ($(OS),LINUX)
61 $(eval $(call gb_Library_add_libs,avmedia,\
62 -lrt \
64 endif
66 $(eval $(call gb_Library_use_externals,avmedia,\
67 collada2gltf \
68 libxml2 \
69 opencollada_parser \
70 png \
73 endif
75 $(eval $(call gb_Library_add_exception_objects,avmedia,\
76 avmedia/source/framework/mediacontrol \
77 avmedia/source/framework/MediaControlBase \
78 avmedia/source/framework/mediaitem \
79 avmedia/source/framework/mediamisc \
80 avmedia/source/framework/mediaplayer \
81 avmedia/source/framework/mediatoolbox \
82 avmedia/source/framework/soundhandler \
83 avmedia/source/viewer/mediaevent_impl \
84 avmedia/source/viewer/mediawindow \
85 avmedia/source/viewer/mediawindow_impl \
88 # vim: set noet sw=4 ts=4: