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 31UCPTDOC_MAJOR=1 32TARGET=ucptdoc$(UCPTDOC_MAJOR).uno 33ENABLE_EXCEPTIONS=TRUE 34USE_DEFFILE=TRUE 35NO_BSYMBOLIC=TRUE 36 37# --- Settings --------------------------------------------------------- 38 39.INCLUDE: settings.mk 40 41# --- General ----------------------------------------------------- 42.IF "$(L10N_framework)"=="" 43 44# no "lib" prefix 45DLLPRE = 46 47SLOFILES=\ 48 $(SLO)$/tdoc_provider.obj \ 49 $(SLO)$/tdoc_services.obj \ 50 $(SLO)$/tdoc_uri.obj \ 51 $(SLO)$/tdoc_content.obj \ 52 $(SLO)$/tdoc_contentcaps.obj \ 53 $(SLO)$/tdoc_storage.obj \ 54 $(SLO)$/tdoc_docmgr.obj \ 55 $(SLO)$/tdoc_datasupplier.obj \ 56 $(SLO)$/tdoc_resultset.obj \ 57 $(SLO)$/tdoc_documentcontentfactory.obj \ 58 $(SLO)$/tdoc_passwordrequest.obj \ 59 $(SLO)$/tdoc_stgelems.obj 60 61LIB1TARGET=$(SLB)$/_$(TARGET).lib 62LIB1OBJFILES=$(SLOFILES) 63 64# --- Shared-Library --------------------------------------------------- 65 66SHL1TARGET=$(TARGET) 67SHL1IMPLIB=i$(TARGET) 68 69SHL1VERSIONMAP=$(SOLARENV)/src/component.map 70 71SHL1STDLIBS=\ 72 $(COMPHELPERLIB) \ 73 $(CPPUHELPERLIB) \ 74 $(CPPULIB) \ 75 $(SALLIB) \ 76 $(SALHELPERLIB) \ 77 $(UCBHELPERLIB) 78 79SHL1DEF=$(MISC)$/$(SHL1TARGET).def 80SHL1LIBS=$(LIB1TARGET) 81 82# Make symbol renaming match library name for Mac OS X 83.IF "$(OS)"=="MACOSX" 84SYMBOLPREFIX=$(TARGET) 85.ENDIF 86 87DEF1NAME=$(SHL1TARGET) 88 89.ENDIF # L10N_framework 90 91# --- Targets ---------------------------------------------------------- 92 93.INCLUDE: target.mk 94 95 96ALLTAR : $(MISC)/ucptdoc1.component 97 98$(MISC)/ucptdoc1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 99 ucptdoc1.component 100 $(XSLTPROC) --nonet --stringparam uri \ 101 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 102 $(SOLARENV)/bin/createcomponent.xslt ucptdoc1.component 103