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=ucb 30# Version 31UCPGVFS_MAJOR=1 32TARGET=ucpgvfs 33ENABLE_EXCEPTIONS=TRUE 34USE_DEFFILE=TRUE 35NO_BSYMBOLIC=TRUE 36 37.INCLUDE: settings.mk 38.IF "$(L10N_framework)"=="" 39 40.IF "$(ENABLE_GNOMEVFS)"!="" 41COMPILER_WARN_ALL=TRUE 42PKGCONFIG_MODULES=gnome-vfs-2.0 43.INCLUDE: pkg_config.mk 44 45.IF "$(OS)" == "SOLARIS" 46LINKFLAGS+=-z nodefs 47.ENDIF # "$(OS)" == "SOLARIS" 48 49.IF "$(OS)" == "LINUX" 50# hack for faked SO environment 51CFLAGS+=-gdwarf-2 52PKGCONFIG_LIBS!:=-Wl,--export-dynamic $(PKGCONFIG_LIBS:s/ -llinc//:s/ -lbonobo-activation//:s/ -lgconf-2//:s/ -lORBit-2//:s/ -lIDL-2//:s/ -lgmodule-2.0//:s/ -lgobject-2.0//:s/ -lgthread-2.0//) 53.ENDIF # "$(OS)" == "LINUX" 54 55# no "lib" prefix 56DLLPRE = 57 58SLOFILES=\ 59 $(SLO)$/gvfs_content.obj \ 60 $(SLO)$/gvfs_directory.obj \ 61 $(SLO)$/gvfs_stream.obj \ 62 $(SLO)$/gvfs_provider.obj 63 64SHL1NOCHECK=TRUE 65SHL1TARGET=$(TARGET)$(UCPGVFS_MAJOR).uno 66SHL1DEF=$(MISC)$/$(SHL1TARGET).def 67SHL1LIBS=$(SLB)$/$(TARGET).lib 68SHL1IMPLIB=i$(TARGET) 69SHL1STDLIBS=\ 70 $(CPPUHELPERLIB) \ 71 $(CPPULIB) \ 72 $(SALLIB) \ 73 $(SALHELPERLIB) \ 74 $(UCBHELPERLIB) 75 76SHL1STDLIBS+=$(PKGCONFIG_LIBS) 77 78SHL1VERSIONMAP=$(SOLARENV)/src/component.map 79 80.ENDIF # "$(ENABLE_GNOMEVFS)"!="" 81.ENDIF # L10N_framework 82 83.INCLUDE: target.mk 84 85ALLTAR : $(MISC)/ucpgvfs.component 86 87$(MISC)/ucpgvfs.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 88 ucpgvfs.component 89 $(XSLTPROC) --nonet --stringparam uri \ 90 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 91 $(SOLARENV)/bin/createcomponent.xslt ucpgvfs.component 92