tdf#118517: Use xStg before resetting it
[LibreOffice.git] / avmedia / Module_avmedia.mk
blob20d2dcfec8436084d35780e1a93bd4c8665fa1c1
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_Module_Module,avmedia))
12 $(eval $(call gb_Module_add_targets,avmedia,\
13 Library_avmedia \
16 ifneq ($(USE_AVMEDIA_DUMMY),TRUE)
17 $(eval $(call gb_Module_add_l10n_targets,avmedia,\
18 AllLangMoTarget_avmedia \
21 ifeq ($(ENABLE_GSTREAMER_1_0),TRUE)
22 $(eval $(call gb_Module_add_targets,avmedia,\
23 Library_avmediagst \
25 endif
27 ifeq ($(ENABLE_GSTREAMER_0_10),TRUE)
28 $(eval $(call gb_Module_add_targets,avmedia,\
29 Library_avmediagst_0_10 \
31 endif
33 ifeq ($(ENABLE_VLC),TRUE)
34 $(eval $(call gb_Module_add_targets,avmedia,\
35 Library_avmediavlc \
37 endif
39 ifeq ($(OS),MACOSX)
40 ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
41 ifneq ($(shell test $(MACOSX_SDK_VERSION) -ge 101200; echo $$?),0)
42 $(eval $(call gb_Module_add_targets,avmedia,\
43 Library_avmediaQuickTime \
45 endif
46 endif
47 endif
49 ifeq ($(OS),MACOSX)
50 $(eval $(call gb_Module_add_targets,avmedia,\
51 Library_avmediaMacAVF \
53 endif
55 ifeq ($(OS),WNT)
56 $(eval $(call gb_Module_add_targets,avmedia,\
57 Library_avmediawin \
59 endif
61 endif
63 # vim: set noet sw=4 ts=4: