xref: /AOO41X/main/desktop/source/migration/services/makefile.mk (revision 8809db7a87f97847b57a57f4cd2b0104b2b83182)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25
26PRJNAME=desktop
27TARGET = migrationoo2.uno
28ENABLE_EXCEPTIONS=TRUE
29COMP1TYPELIST = migrationoo2
30LIBTARGET=NO
31
32# --- Settings -----------------------------------------------------
33.INCLUDE : ..$/..$/deployment/inc/dp_misc.mk
34.INCLUDE :  settings.mk
35DLLPRE =
36
37# ------------------------------------------------------------------
38
39.INCLUDE :  cppumaker.mk
40
41SLOFILES= \
42        $(SLO)$/jvmfwk.obj \
43        $(SLO)$/cexports.obj \
44        $(SLO)$/basicmigration.obj \
45        $(SLO)$/wordbookmigration.obj \
46        $(SLO)$/autocorrmigration.obj \
47        $(SLO)$/oo3extensionmigration.obj \
48        $(SLO)$/cexportsoo3.obj
49
50SHL1OBJS= \
51        $(SLO)$/jvmfwk.obj \
52        $(SLO)$/cexports.obj \
53        $(SLO)$/basicmigration.obj \
54        $(SLO)$/wordbookmigration.obj \
55        $(SLO)$/autocorrmigration.obj
56
57SHL1TARGET=$(TARGET)
58SHL1VERSIONMAP = $(SOLARENV)/src/component.map
59
60SHL1STDLIBS= \
61    $(DEPLOYMENTMISCLIB) \
62    $(CPPULIB)      \
63    $(CPPUHELPERLIB)    \
64    $(SALLIB) \
65    $(UCBHELPERLIB) \
66    $(UNOTOOLSLIB) \
67    $(TOOLSLIB) \
68    $(I18NISOLANGLIB) \
69    $(JVMFWKLIB) \
70    $(XMLSCRIPTLIB) \
71
72SHL1DEPN=
73SHL1IMPLIB=imigrationoo2
74#SHL1LIBS=$(SLB)$/$(TARGET).lib
75SHL1DEF=$(MISC)$/$(SHL1TARGET).def
76
77DEF1NAME=$(SHL1TARGET)
78
79COMP2TYPELIST = migrationoo3
80SHL2TARGET=migrationoo3.uno
81SHL2VERSIONMAP = $(SOLARENV)/src/component.map
82
83SHL2OBJS= \
84        $(SLO)$/cexportsoo3.obj \
85        $(SLO)$/oo3extensionmigration.obj
86
87SHL2STDLIBS= \
88    $(DEPLOYMENTMISCLIB) \
89    $(CPPULIB)      \
90    $(CPPUHELPERLIB)    \
91    $(SALLIB) \
92    $(UCBHELPERLIB) \
93    $(UNOTOOLSLIB) \
94    $(TOOLSLIB) \
95    $(I18NISOLANGLIB) \
96    $(JVMFWKLIB) \
97    $(XMLSCRIPTLIB) \
98
99SHL2DEPN=
100SHL2IMPLIB=imigrationoo3
101#SHL2LIBS=$(SLB)$/$(SHL2TARGET).lib
102SHL2DEF=$(MISC)$/$(SHL2TARGET).def
103
104DEF2NAME=$(SHL2TARGET)
105
106# --- Targets ------------------------------------------------------
107
108.INCLUDE : target.mk
109
110ALLTAR : $(MISC)/migrationoo3.component
111
112$(MISC)/migrationoo3.component .ERRREMOVE : \
113        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
114    $(XSLTPROC) --nonet --stringparam uri \
115        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
116        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
117
118ALLTAR : $(MISC)/migrationoo2.component
119
120$(MISC)/migrationoo2.component .ERRREMOVE : \
121        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
122    $(XSLTPROC) --nonet --stringparam uri \
123        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
124        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
125