fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / avmedia / Library_avmedia.mk
blobec70670487cea5d4f96813b0e262e679f65e9f4d
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 \
28 glew \
29 mesa_headers \
32 $(eval $(call gb_Library_use_libraries,avmedia,\
33 comphelper \
34 ucbhelper \
35 cppu \
36 cppuhelper \
37 sal \
38 i18nlangtag \
39 sfx \
40 svl \
41 svt \
42 tl \
43 utl \
44 vcl \
45 $(gb_UWINAPI) \
48 ifeq ($(ENABLE_GLTF),TRUE)
49 $(eval $(call gb_Library_add_exception_objects,avmedia,\
50 avmedia/source/framework/modeltools \
52 endif
54 ifeq ($(ENABLE_COLLADA),TRUE)
56 ifeq ($(OS),LINUX)
57 $(eval $(call gb_Library_add_libs,avmedia,\
58 -lrt \
60 endif
62 $(eval $(call gb_Library_use_externals,avmedia,\
63 collada2gltf \
64 libxml2 \
65 opencollada_parser \
66 png \
69 endif
71 $(eval $(call gb_Library_add_exception_objects,avmedia,\
72 avmedia/source/framework/mediacontrol \
73 avmedia/source/framework/mediaitem \
74 avmedia/source/framework/mediamisc \
75 avmedia/source/framework/mediaplayer \
76 avmedia/source/framework/mediatoolbox \
77 avmedia/source/framework/soundhandler \
78 avmedia/source/viewer/mediaevent_impl \
79 avmedia/source/viewer/mediawindow \
80 avmedia/source/viewer/mediawindow_impl \
83 # vim: set noet sw=4 ts=4: