xref: /trunk/main/desktop/source/migration/services/makefile.mk (revision dde344203169340759d4fac2605ca8b407ef0eef)
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
45SLOFILES= \
46        $(SLO)$/jvmfwk.obj \
47        $(SLO)$/cexports.obj \
48        $(SLO)$/basicmigration.obj \
49        $(SLO)$/wordbookmigration.obj \
50        $(SLO)$/autocorrmigration.obj \
51        $(SLO)$/oo3extensionmigration.obj \
52        $(SLO)$/cexportsoo3.obj
53
54SHL1OBJS= \
55        $(SLO)$/jvmfwk.obj \
56        $(SLO)$/cexports.obj \
57        $(SLO)$/basicmigration.obj \
58        $(SLO)$/wordbookmigration.obj \
59        $(SLO)$/autocorrmigration.obj
60
61SHL1TARGET=$(TARGET)
62SHL1VERSIONMAP = $(SOLARENV)/src/component.map
63
64SHL1STDLIBS= \
65    $(DEPLOYMENTMISCLIB) \
66    $(CPPULIB)      \
67    $(CPPUHELPERLIB)    \
68    $(SALLIB) \
69    $(UCBHELPERLIB) \
70    $(UNOTOOLSLIB) \
71    $(TOOLSLIB) \
72    $(I18NISOLANGLIB) \
73    $(JVMFWKLIB) \
74    $(XMLSCRIPTLIB) \
75
76SHL1DEPN=
77SHL1IMPLIB=imigrationoo2
78#SHL1LIBS=$(SLB)$/$(TARGET).lib
79SHL1DEF=$(MISC)$/$(SHL1TARGET).def
80
81DEF1NAME=$(SHL1TARGET)
82
83COMP2TYPELIST = migrationoo3
84SHL2TARGET=migrationoo3.uno
85SHL2VERSIONMAP = $(SOLARENV)/src/component.map
86
87SHL2OBJS= \
88        $(SLO)$/cexportsoo3.obj \
89        $(SLO)$/oo3extensionmigration.obj
90
91SHL2STDLIBS= \
92    $(DEPLOYMENTMISCLIB) \
93    $(CPPULIB)      \
94    $(CPPUHELPERLIB)    \
95    $(SALLIB) \
96    $(UCBHELPERLIB) \
97    $(UNOTOOLSLIB) \
98    $(TOOLSLIB) \
99    $(I18NISOLANGLIB) \
100    $(JVMFWKLIB) \
101    $(XMLSCRIPTLIB) \
102
103SHL2DEPN=
104SHL2IMPLIB=imigrationoo3
105#SHL2LIBS=$(SLB)$/$(SHL2TARGET).lib
106SHL2DEF=$(MISC)$/$(SHL2TARGET).def
107
108DEF2NAME=$(SHL2TARGET)
109
110# --- Targets ------------------------------------------------------
111
112.INCLUDE : target.mk
113
114ALLTAR : $(MISC)/migrationoo3.component
115
116$(MISC)/migrationoo3.component .ERRREMOVE : \
117        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
118    $(XSLTPROC) --nonet --stringparam uri \
119        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
120        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
121
122ALLTAR : $(MISC)/migrationoo2.component
123
124$(MISC)/migrationoo2.component .ERRREMOVE : \
125        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
126    $(XSLTPROC) --nonet --stringparam uri \
127        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
128        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
129