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