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
24PRJ=..$/..
25PRJNAME=avmediagst
26TARGET=avmediagst
27
28# --- Settings ----------------------------------
29
30.INCLUDE :  	settings.mk
31
32.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
33CDEFS+= -DVERBOSE
34.ENDIF
35
36# --- Files ----------------------------------
37
38.IF "$(GUI)" == "UNX"  && "$(GUIBASE)"!="aqua" && "$(ENABLE_GSTREAMER)" != ""
39
40PKGCONFIG_MODULES=gtk+-2.0 gstreamer-0.10 gstreamer-interfaces-0.10
41.INCLUDE : pkg_config.mk
42
43SLOFILES= \
44		$(SLO)$/gstuno.obj		\
45		$(SLO)$/gstmanager.obj		\
46		$(SLO)$/gstwindow.obj		\
47		$(SLO)$/gstplayer.obj		\
48		$(SLO)$/gstframegrabber.obj
49
50EXCEPTIONSFILES= \
51		$(SLO)$/gstuno.obj		\
52		$(SLO)$/gstplayer.obj		\
53		$(SLO)$/gstframegrabber.obj
54
55SHL1TARGET=$(TARGET)
56SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(TOOLSLIB) $(VCLLIB)
57SHL1STDLIBS+=$(PKGCONFIG_LIBS)
58SHL1IMPLIB=i$(TARGET)
59SHL1LIBS=$(SLB)$/$(TARGET).lib
60SHL1DEF=$(MISC)$/$(SHL1TARGET).def
61# on Solaris checkdll does not work: LD_LIBRARY_PATH breaks the 2 libxml2.so.2
62SHL1NOCHECK=t
63
64DEF1NAME=$(SHL1TARGET)
65DEF1EXPORTFILE=exports.dxp
66
67.ENDIF
68
69.INCLUDE :  	target.mk
70
71ALLTAR : $(MISC)/avmediagst.component
72
73$(MISC)/avmediagst.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
74        avmediagst.component
75    $(XSLTPROC) --nonet --stringparam uri \
76        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
77        $(SOLARENV)/bin/createcomponent.xslt avmediagst.component
78