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=..$/.. 29 30PRJNAME=scripting 31TARGET=dlgprov 32ENABLE_EXCEPTIONS=TRUE 33COMP1TYPELIST=$(TARGET) 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38DLLPRE = 39 40# ------------------------------------------------------------------ 41 42SLOFILES= \ 43 $(SLO)$/dlgprov.obj \ 44 $(SLO)$/DialogModelProvider.obj \ 45 $(SLO)$/dlgevtatt.obj 46 47SHL1TARGET= $(TARGET)$(DLLPOSTFIX).uno 48SHL1IMPLIB= i$(TARGET) 49 50SHL1VERSIONMAP=$(SOLARENV)/src/component.map 51SHL1DEF=$(MISC)$/$(SHL1TARGET).def 52DEF1NAME=$(SHL1TARGET) 53 54SHL1STDLIBS= \ 55 $(SFX2LIB) \ 56 $(VCLLIB) \ 57 $(TOOLSLIB) \ 58 $(XMLSCRIPTLIB) \ 59 $(CPPUHELPERLIB) \ 60 $(COMPHELPERLIB) \ 61 $(UCBHELPERLIB) \ 62 $(VBAHELPERLIB) \ 63 $(CPPULIB) \ 64 $(BASICLIB) \ 65 $(SALLIB) 66 67SHL1DEPN= 68SHL1LIBS=$(SLB)$/$(TARGET).lib 69 70# --- Targets ------------------------------------------------------ 71 72.INCLUDE : target.mk 73 74# ------------------------------------------------------------------ 75 76ALLTAR : \ 77 $(MISC)$/$(TARGET).don \ 78 79$(SLOFILES) : $(MISC)$/$(TARGET).don 80 81$(MISC)$/$(TARGET).don : $(SOLARBINDIR)$/oovbaapi.rdb 82 +$(CPPUMAKER) -O$(INCCOM)$/$(TARGET) -BUCR $(SOLARBINDIR)$/oovbaapi.rdb -X$(SOLARBINDIR)$/types.rdb && echo > $@ 83 echo $@ 84 85 86ALLTAR : $(MISC)/dlgprov.component 87 88$(MISC)/dlgprov.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 89 dlgprov.component 90 $(XSLTPROC) --nonet --stringparam uri \ 91 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 92 $(SOLARENV)/bin/createcomponent.xslt dlgprov.component 93