summaryrefslogtreecommitdiff
path: root/avmedia/Module_avmedia.mk
blob: 8e1bd011d5e8b6c0d017a06ab840f0f599402ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Module_Module,avmedia))

$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmedia \
))

ifneq ($(USE_AVMEDIA_DUMMY),TRUE)
$(eval $(call gb_Module_add_l10n_targets,avmedia,\
    AllLangMoTarget_avmedia \
))

ifeq ($(ENABLE_GSTREAMER_1_0),TRUE)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediagst \
))
endif

ifeq ($(ENABLE_GSTREAMER_0_10),TRUE)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediagst_0_10 \
))
endif

ifeq ($(ENABLE_VLC),TRUE)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediavlc \
))
endif

ifeq ($(OS),MACOSX)
ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
ifneq ($(shell test $(MACOSX_SDK_VERSION) -ge 101200; echo $$?),0)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediaQuickTime \
))
endif
endif
endif

ifeq ($(OS),MACOSX)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediaMacAVF \
))
endif

ifeq ($(OS),WNT)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediawin \
))
endif

ifeq ($(ENABLE_GLTF),TRUE)
$(eval $(call gb_Module_add_targets,avmedia,\
	Library_avmediaogl \
))
endif
endif

# vim: set noet sw=4 ts=4: