1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/.. 25PRJNAME=ucb 26# Version 27UCPGVFS_MAJOR=1 28TARGET=ucpgvfs 29ENABLE_EXCEPTIONS=TRUE 30USE_DEFFILE=TRUE 31NO_BSYMBOLIC=TRUE 32 33.INCLUDE: settings.mk 34.IF "$(L10N_framework)"=="" 35 36.IF "$(ENABLE_GNOMEVFS)"!="" 37COMPILER_WARN_ALL=TRUE 38PKGCONFIG_MODULES=gnome-vfs-2.0 39.INCLUDE: pkg_config.mk 40 41.IF "$(OS)" == "SOLARIS" 42LINKFLAGS+=-z nodefs 43.ENDIF # "$(OS)" == "SOLARIS" 44 45.IF "$(OS)" == "LINUX" 46# hack for faked SO environment 47CFLAGS+=-gdwarf-2 48PKGCONFIG_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//) 49.ENDIF # "$(OS)" == "LINUX" 50 51# no "lib" prefix 52DLLPRE = 53 54SLOFILES=\ 55 $(SLO)$/gvfs_content.obj \ 56 $(SLO)$/gvfs_directory.obj \ 57 $(SLO)$/gvfs_stream.obj \ 58 $(SLO)$/gvfs_provider.obj 59 60SHL1NOCHECK=TRUE 61SHL1TARGET=$(TARGET)$(UCPGVFS_MAJOR).uno 62SHL1DEF=$(MISC)$/$(SHL1TARGET).def 63SHL1LIBS=$(SLB)$/$(TARGET).lib 64SHL1IMPLIB=i$(TARGET) 65SHL1STDLIBS=\ 66 $(CPPUHELPERLIB) \ 67 $(CPPULIB) \ 68 $(SALLIB) \ 69 $(SALHELPERLIB) \ 70 $(UCBHELPERLIB) 71 72SHL1STDLIBS+=$(PKGCONFIG_LIBS) 73 74SHL1VERSIONMAP=$(SOLARENV)/src/component.map 75 76.ENDIF # "$(ENABLE_GNOMEVFS)"!="" 77.ENDIF # L10N_framework 78 79.INCLUDE: target.mk 80 81ALLTAR : $(MISC)/ucpgvfs.component 82 83$(MISC)/ucpgvfs.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 84 ucpgvfs.component 85 $(XSLTPROC) --nonet --stringparam uri \ 86 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 87 $(SOLARENV)/bin/createcomponent.xslt ucpgvfs.component 88