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=desktop 31TARGET = migrationoo2.uno 32ENABLE_EXCEPTIONS=TRUE 33COMP1TYPELIST = migrationoo2 34LIBTARGET=NO 35 36# --- Settings ----------------------------------------------------- 37.INCLUDE : ..$/..$/deployment/inc/dp_misc.mk 38.INCLUDE : settings.mk 39DLLPRE = 40 41# ------------------------------------------------------------------ 42 43.INCLUDE : cppumaker.mk 44 45.IF "$(SYSTEM_DB)" == "YES" 46CFLAGS+=-DSYSTEM_DB -I$(DB_INCLUDES) 47.ENDIF 48 49SLOFILES= \ 50 $(SLO)$/jvmfwk.obj \ 51 $(SLO)$/cexports.obj \ 52 $(SLO)$/basicmigration.obj \ 53 $(SLO)$/wordbookmigration.obj \ 54 $(SLO)$/autocorrmigration.obj \ 55 $(SLO)$/oo3extensionmigration.obj \ 56 $(SLO)$/cexportsoo3.obj 57 58SHL1OBJS= \ 59 $(SLO)$/jvmfwk.obj \ 60 $(SLO)$/cexports.obj \ 61 $(SLO)$/basicmigration.obj \ 62 $(SLO)$/wordbookmigration.obj \ 63 $(SLO)$/autocorrmigration.obj 64 65SHL1TARGET=$(TARGET) 66SHL1VERSIONMAP = $(SOLARENV)/src/component.map 67 68SHL1STDLIBS= \ 69 $(DEPLOYMENTMISCLIB) \ 70 $(CPPULIB) \ 71 $(CPPUHELPERLIB) \ 72 $(SALLIB) \ 73 $(UCBHELPERLIB) \ 74 $(UNOTOOLSLIB) \ 75 $(TOOLSLIB) \ 76 $(I18NISOLANGLIB) \ 77 $(JVMFWKLIB) \ 78 $(XMLSCRIPTLIB) \ 79 $(BERKELEYLIB) 80 81SHL1DEPN= 82SHL1IMPLIB=imigrationoo2 83#SHL1LIBS=$(SLB)$/$(TARGET).lib 84SHL1DEF=$(MISC)$/$(SHL1TARGET).def 85 86DEF1NAME=$(SHL1TARGET) 87 88COMP2TYPELIST = migrationoo3 89SHL2TARGET=migrationoo3.uno 90SHL2VERSIONMAP = $(SOLARENV)/src/component.map 91 92SHL2OBJS= \ 93 $(SLO)$/cexportsoo3.obj \ 94 $(SLO)$/oo3extensionmigration.obj 95 96SHL2STDLIBS= \ 97 $(DEPLOYMENTMISCLIB) \ 98 $(CPPULIB) \ 99 $(CPPUHELPERLIB) \ 100 $(SALLIB) \ 101 $(UCBHELPERLIB) \ 102 $(UNOTOOLSLIB) \ 103 $(TOOLSLIB) \ 104 $(I18NISOLANGLIB) \ 105 $(JVMFWKLIB) \ 106 $(XMLSCRIPTLIB) \ 107 $(BERKELEYLIB) 108 109SHL2DEPN= 110SHL2IMPLIB=imigrationoo3 111#SHL2LIBS=$(SLB)$/$(SHL2TARGET).lib 112SHL2DEF=$(MISC)$/$(SHL2TARGET).def 113 114DEF2NAME=$(SHL2TARGET) 115 116# --- Targets ------------------------------------------------------ 117 118.INCLUDE : target.mk 119 120ALLTAR : $(MISC)/migrationoo3.component 121 122$(MISC)/migrationoo3.component .ERRREMOVE : \ 123 $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component 124 $(XSLTPROC) --nonet --stringparam uri \ 125 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \ 126 $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component 127 128ALLTAR : $(MISC)/migrationoo2.component 129 130$(MISC)/migrationoo2.component .ERRREMOVE : \ 131 $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component 132 $(XSLTPROC) --nonet --stringparam uri \ 133 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 134 $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component 135