1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=..$/.. 29PRJNAME=avmediagst 30TARGET=avmediagst 31 32# --- Settings ---------------------------------- 33 34.INCLUDE : settings.mk 35 36.IF "$(verbose)"!="" || "$(VERBOSE)"!="" 37CDEFS+= -DVERBOSE 38.ENDIF 39 40# --- Files ---------------------------------- 41 42.IF "$(GUI)" == "UNX" && "$(GUIBASE)"!="aqua" && "$(ENABLE_GSTREAMER)" != "" 43 44PKGCONFIG_MODULES=gtk+-2.0 gstreamer-0.10 gstreamer-interfaces-0.10 45.INCLUDE : pkg_config.mk 46 47SLOFILES= \ 48 $(SLO)$/gstuno.obj \ 49 $(SLO)$/gstmanager.obj \ 50 $(SLO)$/gstwindow.obj \ 51 $(SLO)$/gstplayer.obj \ 52 $(SLO)$/gstframegrabber.obj 53 54EXCEPTIONSFILES= \ 55 $(SLO)$/gstuno.obj \ 56 $(SLO)$/gstplayer.obj \ 57 $(SLO)$/gstframegrabber.obj 58 59SHL1TARGET=$(TARGET) 60SHL1STDLIBS= $(CPPULIB) $(SALLIB) $(COMPHELPERLIB) $(CPPUHELPERLIB) $(TOOLSLIB) $(VCLLIB) 61SHL1STDLIBS+=$(PKGCONFIG_LIBS) 62SHL1IMPLIB=i$(TARGET) 63SHL1LIBS=$(SLB)$/$(TARGET).lib 64SHL1DEF=$(MISC)$/$(SHL1TARGET).def 65# on Solaris checkdll does not work: LD_LIBRARY_PATH breaks the 2 libxml2.so.2 66SHL1NOCHECK=t 67 68DEF1NAME=$(SHL1TARGET) 69DEF1EXPORTFILE=exports.dxp 70 71.ENDIF 72 73.INCLUDE : target.mk 74 75ALLTAR : $(MISC)/avmediagst.component 76 77$(MISC)/avmediagst.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 78 avmediagst.component 79 $(XSLTPROC) --nonet --stringparam uri \ 80 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 81 $(SOLARENV)/bin/createcomponent.xslt avmediagst.component 82