xref: /trunk/main/avmedia/Library_avmediagst.mk (revision deb7b1c2)
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_Library_Library,avmediagst))
25*deb7b1c2Sdamjan
26*deb7b1c2Sdamjan$(eval $(call gb_Library_add_package_headers,avmediagst,avmedia_inc))
27*deb7b1c2Sdamjan
28*deb7b1c2Sdamjan$(eval $(call gb_Library_set_componentfile,avmediagst,avmedia/source/gstreamer/avmediagst))
29*deb7b1c2Sdamjan
30*deb7b1c2Sdamjan$(eval $(call gb_Library_set_include,avmediagst,\
31*deb7b1c2Sdamjan        $$(INCLUDE) \
32*deb7b1c2Sdamjan	-I$(SRCDIR)/avmedia/inc \
33*deb7b1c2Sdamjan	-I$(SRCDIR)/avmedia/source/inc \
34*deb7b1c2Sdamjan	$(filter -I%,$(GTK_CFLAGS)) \
35*deb7b1c2Sdamjan	$(shell pkg-config --cflags-only-I gstreamer-0.10 gstreamer-interfaces-0.10) \
36*deb7b1c2Sdamjan))
37*deb7b1c2Sdamjan
38*deb7b1c2Sdamjan$(eval $(call gb_Library_add_cflags,avmediagst,\
39*deb7b1c2Sdamjan	$(filter-out -I%,$(GTK_CFLAGS)) \
40*deb7b1c2Sdamjan))
41*deb7b1c2Sdamjan
42*deb7b1c2Sdamjan$(eval $(call gb_Library_add_api,avmediagst,\
43*deb7b1c2Sdamjan	offapi \
44*deb7b1c2Sdamjan	udkapi \
45*deb7b1c2Sdamjan))
46*deb7b1c2Sdamjan
47*deb7b1c2Sdamjan$(eval $(call gb_Library_add_linked_libs,avmediagst,\
48*deb7b1c2Sdamjan	comphelper \
49*deb7b1c2Sdamjan	cppuhelper \
50*deb7b1c2Sdamjan	cppu \
51*deb7b1c2Sdamjan	sal \
52*deb7b1c2Sdamjan	stl \
53*deb7b1c2Sdamjan	tl \
54*deb7b1c2Sdamjan	vcl \
55*deb7b1c2Sdamjan	$(gb_STDLIBS) \
56*deb7b1c2Sdamjan))
57*deb7b1c2Sdamjan
58*deb7b1c2Sdamjan$(eval $(call gb_Library_add_libs,avmediagst,\
59*deb7b1c2Sdamjan	$(GTK_LIBS) \
60*deb7b1c2Sdamjan	$(shell pkg-config --libs gstreamer-0.10 gstreamer-interfaces-0.10) \
61*deb7b1c2Sdamjan))
62*deb7b1c2Sdamjan
63*deb7b1c2Sdamjan$(eval $(call gb_Library_add_exception_objects,avmediagst,\
64*deb7b1c2Sdamjan	avmedia/source/gstreamer/gstuno \
65*deb7b1c2Sdamjan	avmedia/source/gstreamer/gstmanager \
66*deb7b1c2Sdamjan	avmedia/source/gstreamer/gstwindow \
67*deb7b1c2Sdamjan	avmedia/source/gstreamer/gstplayer \
68*deb7b1c2Sdamjan	avmedia/source/gstreamer/gstframegrabber \
69*deb7b1c2Sdamjan))
70*deb7b1c2Sdamjan
71*deb7b1c2Sdamjan# vim: set noet sw=4 ts=4:
72