xref: /AOO41X/main/avmedia/source/gstreamer/makefile.mk (revision 2407af082dace66c1b57237797ea1e24af5fe607)
1*2407af08SAndrew Rist#**************************************************************
2cdf0e10cSrcweir#
3*2407af08SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*2407af08SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*2407af08SAndrew Rist#  distributed with this work for additional information
6*2407af08SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*2407af08SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*2407af08SAndrew Rist#  "License"); you may not use this file except in compliance
9*2407af08SAndrew Rist#  with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir#
11*2407af08SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir#
13*2407af08SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*2407af08SAndrew Rist#  software distributed under the License is distributed on an
15*2407af08SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*2407af08SAndrew Rist#  KIND, either express or implied.  See the License for the
17*2407af08SAndrew Rist#  specific language governing permissions and limitations
18*2407af08SAndrew Rist#  under the License.
19cdf0e10cSrcweir#
20*2407af08SAndrew Rist#**************************************************************
21*2407af08SAndrew Rist
22*2407af08SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..
25cdf0e10cSrcweirPRJNAME=avmediagst
26cdf0e10cSrcweirTARGET=avmediagst
27cdf0e10cSrcweir
28cdf0e10cSrcweir# --- Settings ----------------------------------
29cdf0e10cSrcweir
30cdf0e10cSrcweir.INCLUDE :  	settings.mk
31cdf0e10cSrcweir
32cdf0e10cSrcweir.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
33cdf0e10cSrcweirCDEFS+= -DVERBOSE
34cdf0e10cSrcweir.ENDIF
35cdf0e10cSrcweir
36cdf0e10cSrcweir# --- Files ----------------------------------
37cdf0e10cSrcweir
38cdf0e10cSrcweir.IF "$(GUI)" == "UNX"  && "$(GUIBASE)"!="aqua" && "$(ENABLE_GSTREAMER)" != ""
39cdf0e10cSrcweir
40cdf0e10cSrcweirPKGCONFIG_MODULES=gtk+-2.0 gstreamer-0.10 gstreamer-interfaces-0.10
41cdf0e10cSrcweir.INCLUDE : pkg_config.mk
42cdf0e10cSrcweir
43cdf0e10cSrcweirSLOFILES= \
44cdf0e10cSrcweir		$(SLO)$/gstuno.obj		\
45cdf0e10cSrcweir		$(SLO)$/gstmanager.obj		\
46cdf0e10cSrcweir		$(SLO)$/gstwindow.obj		\
47cdf0e10cSrcweir		$(SLO)$/gstplayer.obj		\
48cdf0e10cSrcweir		$(SLO)$/gstframegrabber.obj
49cdf0e10cSrcweir
50cdf0e10cSrcweirEXCEPTIONSFILES= \
51cdf0e10cSrcweir		$(SLO)$/gstuno.obj		\
52cdf0e10cSrcweir		$(SLO)$/gstplayer.obj		\
53cdf0e10cSrcweir		$(SLO)$/gstframegrabber.obj
54cdf0e10cSrcweir
55cdf0e10cSrcweirSHL1TARGET=$(TARGET)
56cdf0e10cSrcweirSHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(TOOLSLIB) $(VCLLIB)
57cdf0e10cSrcweirSHL1STDLIBS+=$(PKGCONFIG_LIBS)
58cdf0e10cSrcweirSHL1IMPLIB=i$(TARGET)
59cdf0e10cSrcweirSHL1LIBS=$(SLB)$/$(TARGET).lib
60cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
61cdf0e10cSrcweir# on Solaris checkdll does not work: LD_LIBRARY_PATH breaks the 2 libxml2.so.2
62cdf0e10cSrcweirSHL1NOCHECK=t
63cdf0e10cSrcweir
64cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
65cdf0e10cSrcweirDEF1EXPORTFILE=exports.dxp
66cdf0e10cSrcweir
67cdf0e10cSrcweir.ENDIF
68cdf0e10cSrcweir
69cdf0e10cSrcweir.INCLUDE :  	target.mk
70cdf0e10cSrcweir
71cdf0e10cSrcweirALLTAR : $(MISC)/avmediagst.component
72cdf0e10cSrcweir
73cdf0e10cSrcweir$(MISC)/avmediagst.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
74cdf0e10cSrcweir        avmediagst.component
75cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
76cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
77cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt avmediagst.component
78