merge the formfield patch from ooo-build
[ooovba.git] / avmedia / source / gstreamer / makefile.mk
blob2f1b9c89542240ffd88198694140f33726ae35b6
1 #*************************************************************************
3 # OpenOffice.org - a multi-platform office productivity suite
5 # $RCSfile$
7 # $Revision$
9 # last change: $Author$ $Date$
11 # The Contents of this file are made available subject to
12 # the terms of GNU Lesser General Public License Version 2.1.
15 # GNU Lesser General Public License Version 2.1
16 # =============================================
17 # Copyright 2005 by Sun Microsystems, Inc.
18 # 901 San Antonio Road, Palo Alto, CA 94303, USA
20 # This library is free software; you can redistribute it and/or
21 # modify it under the terms of the GNU Lesser General Public
22 # License version 2.1, as published by the Free Software Foundation.
24 # This library is distributed in the hope that it will be useful,
25 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 # Lesser General Public License for more details.
29 # You should have received a copy of the GNU Lesser General Public
30 # License along with this library; if not, write to the Free Software
31 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
32 # MA 02111-1307 USA
34 #*************************************************************************
36 PRJ=..$/..
37 PRJNAME=avmedia
38 TARGET=avmediagst
40 # --- Settings ----------------------------------
42 .INCLUDE : settings.mk
44 .IF "$(ENABLE_GSTREAMER)" == "TRUE"
46 .IF "$(verbose)"!="" || "$(VERBOSE)"!=""
47 CDEFS+= -DVERBOSE
48 .ENDIF
50 PKGCONFIG_MODULES=gstreamer-0.10, gstreamer-plugins-base-0.10
51 .INCLUDE: pkg_config.mk
52 PKGCONFIG_LIBS+=-lgstinterfaces-0.10
54 # --- Files ----------------------------------
56 .IF "$(GUI)" == "UNX" || "$(GUI)" == "WNT"
58 .IF "$(GUI)" == "WNT"
59 CDEFS+= -DWINNT
60 .ENDIF
62 SLOFILES= \
63 $(SLO)$/gstuno.obj \
64 $(SLO)$/gstmanager.obj \
65 $(SLO)$/gstplayer.obj \
66 $(SLO)$/gstwindow.obj
69 EXCEPTIONSFILES= \
70 $(SLO)$/gstuno.obj \
72 SHL1TARGET=$(TARGET)
73 SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(PKGCONFIG_LIBS) $(TOOLSLIB)
74 SHL1IMPLIB=i$(TARGET)
75 SHL1LIBS=$(SLB)$/$(TARGET).lib
76 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
78 DEF1NAME=$(SHL1TARGET)
79 DEF1EXPORTFILE=exports.dxp
81 .ENDIF
83 .ENDIF
85 .INCLUDE : target.mk