xref: /AOO42X/main/avmedia/Module_avmedia.mk (revision 5e48fca7e524eb943907f0a8808aae8b4c4c7424)
1*deb7b1c2Sdamjan#**************************************************************
2*deb7b1c2Sdamjan#
3*deb7b1c2Sdamjan#  Licensed to the Apache Software Foundation (ASF) under one
4*deb7b1c2Sdamjan#  or more contributor license agreements.  See the NOTICE file
5*deb7b1c2Sdamjan#  distributed with this work for additional information
6*deb7b1c2Sdamjan#  regarding copyright ownership.  The ASF licenses this file
7*deb7b1c2Sdamjan#  to you under the Apache License, Version 2.0 (the
8*deb7b1c2Sdamjan#  "License"); you may not use this file except in compliance
9*deb7b1c2Sdamjan#  with the License.  You may obtain a copy of the License at
10*deb7b1c2Sdamjan#
11*deb7b1c2Sdamjan#    http://www.apache.org/licenses/LICENSE-2.0
12*deb7b1c2Sdamjan#
13*deb7b1c2Sdamjan#  Unless required by applicable law or agreed to in writing,
14*deb7b1c2Sdamjan#  software distributed under the License is distributed on an
15*deb7b1c2Sdamjan#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*deb7b1c2Sdamjan#  KIND, either express or implied.  See the License for the
17*deb7b1c2Sdamjan#  specific language governing permissions and limitations
18*deb7b1c2Sdamjan#  under the License.
19*deb7b1c2Sdamjan#
20*deb7b1c2Sdamjan#**************************************************************
21*deb7b1c2Sdamjan
22*deb7b1c2Sdamjan
23*deb7b1c2Sdamjan
24*deb7b1c2Sdamjan$(eval $(call gb_Module_Module,avmedia))
25*deb7b1c2Sdamjan
26*deb7b1c2Sdamjan$(eval $(call gb_Module_add_targets,avmedia,\
27*deb7b1c2Sdamjan    AllLangResTarget_avmedia \
28*deb7b1c2Sdamjan    Library_avmedia \
29*deb7b1c2Sdamjan    Package_inc \
30*deb7b1c2Sdamjan    Package_avmedia_jar \
31*deb7b1c2Sdamjan))
32*deb7b1c2Sdamjan
33*deb7b1c2Sdamjanifeq ($(ENABLE_GSTREAMER),TRUE)
34*deb7b1c2Sdamjanifeq ($(GUI),UNX)
35*deb7b1c2Sdamjanifneq ($(GUIBASE),aqua)
36*deb7b1c2Sdamjan$(eval $(call gb_Module_add_targets,avmedia,\
37*deb7b1c2Sdamjan        Library_avmediagst \
38*deb7b1c2Sdamjan))
39*deb7b1c2Sdamjanendif
40*deb7b1c2Sdamjanendif
41*deb7b1c2Sdamjanendif
42*deb7b1c2Sdamjan
43*deb7b1c2Sdamjan# Seems obsolete, "javamedia" is not found anywhere else in the project,
44*deb7b1c2Sdamjan# and avmedia.jar is delivered from the pre-existing avmedia.jar in
45*deb7b1c2Sdamjan# main/avmedia/source/java. This is not tested:
46*deb7b1c2Sdamjanifeq ($(GUIBASE),javamedia)
47*deb7b1c2Sdamjan$(eval $(call gb_Module_add_targets,avmedia,\
48*deb7b1c2Sdamjan    Jar_avmedia \
49*deb7b1c2Sdamjan))
50*deb7b1c2Sdamjanendif
51*deb7b1c2Sdamjan
52*deb7b1c2Sdamjanifeq ($(GUI),WNT)
53*deb7b1c2Sdamjan$(eval $(call gb_Module_add_targets,avmedia,\
54*deb7b1c2Sdamjan    Library_avmediawin \
55*deb7b1c2Sdamjan))
56*deb7b1c2Sdamjanendif
57*deb7b1c2Sdamjan
58*deb7b1c2Sdamjanifeq ($(GUIBASE),aqua)
59*deb7b1c2Sdamjan$(eval $(call gb_Module_add_targets,avmedia,\
60*deb7b1c2Sdamjan    Library_avmediaMacAVF \
61*deb7b1c2Sdamjan))
62*deb7b1c2Sdamjanendif
63*deb7b1c2Sdamjan
64*deb7b1c2Sdamjan
65*deb7b1c2Sdamjan# vim: set noet sw=4 ts=4:
66