xref: /trunk/main/avmedia/Library_avmedia.mk (revision c373d468)
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,avmedia))
25deb7b1c2Sdamjan
26deb7b1c2Sdamjan$(eval $(call gb_Library_add_package_headers,avmedia,avmedia_inc))
27deb7b1c2Sdamjan
28deb7b1c2Sdamjan$(eval $(call gb_Library_set_componentfile,avmedia,avmedia/util/avmedia))
29deb7b1c2Sdamjan
30deb7b1c2Sdamjan$(eval $(call gb_Library_set_include,avmedia,\
31deb7b1c2Sdamjan        $$(INCLUDE) \
32deb7b1c2Sdamjan	-I$(SRCDIR)/avmedia/inc \
33deb7b1c2Sdamjan	-I$(SRCDIR)/avmedia/source/inc \
34deb7b1c2Sdamjan))
35deb7b1c2Sdamjan
36deb7b1c2Sdamjan$(eval $(call gb_Library_add_defs,avmedia,\
37deb7b1c2Sdamjan	-DAVMEDIA_DLLIMPLEMENTATION \
38deb7b1c2Sdamjan))
39deb7b1c2Sdamjan
40deb7b1c2Sdamjan$(eval $(call gb_Library_add_api,avmedia,\
41deb7b1c2Sdamjan	offapi \
42deb7b1c2Sdamjan	udkapi \
43deb7b1c2Sdamjan))
44deb7b1c2Sdamjan
45*c373d468SJim Jagielskiifeq ($(OS),MACOSX)
46*c373d468SJim Jagielski$(eval $(call gb_Library_add_cxxflags,avmedia,\
47*c373d468SJim Jagielski    -x objective-c++ \
48*c373d468SJim Jagielski))
49*c373d468SJim Jagielskiendif
50*c373d468SJim Jagielski
51deb7b1c2Sdamjan$(eval $(call gb_Library_add_linked_libs,avmedia,\
52deb7b1c2Sdamjan	comphelper \
53deb7b1c2Sdamjan	cppuhelper \
54deb7b1c2Sdamjan	cppu \
55deb7b1c2Sdamjan	sal \
56deb7b1c2Sdamjan	sfx \
57deb7b1c2Sdamjan	stl \
58deb7b1c2Sdamjan	svl \
59deb7b1c2Sdamjan	svt \
60deb7b1c2Sdamjan	tl \
61deb7b1c2Sdamjan	utl \
62deb7b1c2Sdamjan	vcl \
63deb7b1c2Sdamjan	vos3 \
64deb7b1c2Sdamjan	$(gb_STDLIBS) \
65deb7b1c2Sdamjan))
66deb7b1c2Sdamjan
67deb7b1c2Sdamjan$(eval $(call gb_Library_add_noexception_objects,avmedia,\
68deb7b1c2Sdamjan	avmedia/source/framework/mediaitem \
69deb7b1c2Sdamjan	avmedia/source/framework/mediamisc \
70deb7b1c2Sdamjan	avmedia/source/framework/mediacontrol \
71deb7b1c2Sdamjan	avmedia/source/framework/mediaplayer \
72deb7b1c2Sdamjan	avmedia/source/viewer/mediaevent_impl \
73deb7b1c2Sdamjan))
74deb7b1c2Sdamjan
75deb7b1c2Sdamjan$(eval $(call gb_Library_add_exception_objects,avmedia,\
76deb7b1c2Sdamjan	avmedia/source/framework/mediatoolbox \
77deb7b1c2Sdamjan	avmedia/source/framework/soundhandler \
78deb7b1c2Sdamjan	avmedia/source/viewer/mediawindow \
79deb7b1c2Sdamjan	avmedia/source/viewer/mediawindowbase_impl \
80deb7b1c2Sdamjan	avmedia/source/viewer/mediawindow_impl \
81deb7b1c2Sdamjan))
82deb7b1c2Sdamjan
83deb7b1c2Sdamjan# vim: set noet sw=4 ts=4:
84