summaryrefslogtreecommitdiff
path: root/avmedia/source/gstreamer/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/gstreamer/makefile.mk')
-rw-r--r--avmedia/source/gstreamer/makefile.mk74
1 files changed, 36 insertions, 38 deletions
diff --git a/avmedia/source/gstreamer/makefile.mk b/avmedia/source/gstreamer/makefile.mk
index 546bc168db..2f52b9cc47 100644
--- a/avmedia/source/gstreamer/makefile.mk
+++ b/avmedia/source/gstreamer/makefile.mk
@@ -1,64 +1,68 @@
#*************************************************************************
#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
+# Copyright 2010 Novell, Inc.
#
-# OpenOffice.org - a multi-platform office productivity suite
+# OpenOffice.org - a multi-platform office productivity suite
#
-# This file is part of OpenOffice.org.
+# This file is part of OpenOffice.org.
#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
+# OpenOffice.org is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Lesser General Public License version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..
-PRJNAME=avmediagst
+PRJNAME=avmedia
TARGET=avmediagst
# --- Settings ----------------------------------
.INCLUDE : settings.mk
+.IF "$(ENABLE_GSTREAMER)" == "TRUE"
+
.IF "$(verbose)"!="" || "$(VERBOSE)"!=""
CDEFS+= -DVERBOSE
.ENDIF
+PKGCONFIG_MODULES=gstreamer-0.10, gstreamer-plugins-base-0.10
+.INCLUDE: pkg_config.mk
+PKGCONFIG_LIBS+=-lgstinterfaces-0.10
+
# --- Files ----------------------------------
-.IF "$(GUI)" == "UNX" && "$(GUIBASE)"!="aqua" && "$(ENABLE_GSTREAMER)" != ""
+.IF "$(GUI)" == "UNX" || "$(GUI)" == "WNT"
-PKGCONFIG_MODULES=gtk+-2.0 gstreamer-0.10 gstreamer-interfaces-0.10
-.INCLUDE : pkg_config.mk
+.IF "$(GUI)" == "WNT"
+CDEFS+= -DWINNT
+.ENDIF
SLOFILES= \
- $(SLO)$/gstuno.obj \
- $(SLO)$/gstmanager.obj \
- $(SLO)$/gstwindow.obj \
- $(SLO)$/gstplayer.obj \
- $(SLO)$/gstframegrabber.obj
+ $(SLO)$/gstuno.obj \
+ $(SLO)$/gstmanager.obj \
+ $(SLO)$/gstplayer.obj \
+ $(SLO)$/gstwindow.obj
+
EXCEPTIONSFILES= \
- $(SLO)$/gstuno.obj \
- $(SLO)$/gstplayer.obj \
- $(SLO)$/gstframegrabber.obj
+ $(SLO)$/gstuno.obj \
SHL1TARGET=$(TARGET)
-SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(TOOLSLIB) $(VCLLIB)
-SHL1STDLIBS+=$(PKGCONFIG_LIBS)
+SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(PKGCONFIG_LIBS) $(TOOLSLIB)
SHL1IMPLIB=i$(TARGET)
SHL1LIBS=$(SLB)$/$(TARGET).lib
SHL1DEF=$(MISC)$/$(SHL1TARGET).def
@@ -68,12 +72,6 @@ DEF1EXPORTFILE=exports.dxp
.ENDIF
-.INCLUDE : target.mk
-
-ALLTAR : $(MISC)/avmediagst.component
+.ENDIF
-$(MISC)/avmediagst.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
- avmediagst.component
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt avmediagst.component
+.INCLUDE : target.mk