xref: /trunk/main/avmedia/Library_avmediaMacAVF.mk (revision 128f043ffef4fec2b7a064d69617459c6f65a0cd)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24$(eval $(call gb_Library_Library,avmediaMacAVF))
25
26$(eval $(call gb_Library_add_package_headers,avmediaMacAVF,avmedia_inc))
27
28$(eval $(call gb_Library_set_componentfile,avmediaMacAVF,avmedia/source/macavf/avmediaMacAVF))
29
30$(eval $(call gb_Library_set_include,avmediaMacAVF,\
31        $$(INCLUDE) \
32    -I$(SRCDIR)/avmedia/inc \
33    -I$(SRCDIR)/avmedia/source/inc \
34))
35
36$(eval $(call gb_Library_add_api,avmediaMacAVF,\
37    offapi \
38    udkapi \
39))
40
41$(eval $(call gb_Library_add_linked_libs,avmediaMacAVF,\
42    comphelper \
43    cppuhelper \
44    cppu \
45    sal \
46    tl \
47    vcl \
48    $(gb_STDLIBS) \
49))
50
51$(eval $(call gb_Library_add_libs,avmediaMacAVF,\
52    -framework Cocoa \
53    -framework AVFoundation \
54    -framework CoreMedia \
55))
56
57$(eval $(call gb_Library_add_noexception_objects,avmediaMacAVF,\
58    avmedia/source/macavf/macavf_manager \
59    avmedia/source/macavf/macavf_player \
60    avmedia/source/macavf/macavf_window \
61))
62
63$(eval $(call gb_Library_add_exception_objects,avmediaMacAVF,\
64    avmedia/source/macavf/macavf_framegrabber \
65    avmedia/source/macavf/macavf_uno \
66))
67
68# vim: set noet sw=4 ts=4:
69