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#************************************************************************* 27PRJ=..$/..$/.. 28 29PRJNAME=shell 30TARGET=gconfbe 31 32LIBTARGET=NO 33ENABLE_EXCEPTIONS=TRUE 34VISIBILITY_HIDDEN=TRUE 35 36# --- Settings --- 37 38.INCLUDE : settings.mk 39 40# no "lib" prefix 41DLLPRE = 42 43.IF "$(ENABLE_LOCKDOWN)" == "YES" 44CFLAGS+=-DENABLE_LOCKDOWN 45.ENDIF 46 47.IF "$(ENABLE_GCONF)"!="" 48COMPILER_WARN_ALL=TRUE 49PKGCONFIG_MODULES=gconf-2.0 gobject-2.0 ORBit-2.0 glib-2.0 50.INCLUDE: pkg_config.mk 51 52.IF "$(OS)" == "SOLARIS" 53LINKFLAGS+=-z nodefs 54.ENDIF # "$(OS)" == "SOLARIS" 55 56.IF "$(OS)" == "LINUX" 57# hack for faked SO environment 58CFLAGS+=-gdwarf-2 59PKGCONFIG_LIBS!:=-Wl,--export-dynamic $(PKGCONFIG_LIBS) 60.ENDIF 61 62# --- Files --- 63 64 65SLOFILES=\ 66 $(SLO)$/gconfaccess.obj \ 67 $(SLO)$/gconfbackend.obj 68 69SHL1NOCHECK=TRUE 70SHL1TARGET=$(TARGET)1.uno 71SHL1OBJS=$(SLOFILES) 72SHL1DEF=$(MISC)$/$(SHL1TARGET).def 73 74SHL1IMPLIB=i$(SHL1TARGET) 75SHL1STDLIBS= \ 76 $(CPPUHELPERLIB) \ 77 $(CPPULIB) \ 78 $(SALLIB) 79 80SHL1STDLIBS+=$(PKGCONFIG_LIBS) 81 82SHL1DEF=$(MISC)$/$(SHL1TARGET).def 83DEF1NAME=$(SHL1TARGET) 84 85.ENDIF # "$(ENABLE_GCONF)"!="" 86 87# --- Targets --- 88 89.INCLUDE : target.mk 90 91ALLTAR : $(MISC)/gconfbe1.component 92 93$(MISC)/gconfbe1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 94 gconfbe1.component 95 $(XSLTPROC) --nonet --stringparam uri \ 96 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 97 $(SOLARENV)/bin/createcomponent.xslt gconfbe1.component 98