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
27.IF "$(OS)" == "OS2"
28TARGET = migroo2
29.ELSE
30TARGET = migrationoo2.uno
31.ENDIF
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
84.IF "$(OS)" == "OS2"
85SHL2TARGET=migroo3
86.ELSE
87SHL2TARGET=migrationoo3.uno
88.ENDIF
89SHL2VERSIONMAP = $(SOLARENV)/src/component.map
90
91SHL2OBJS= \
92		$(SLO)$/cexportsoo3.obj \
93		$(SLO)$/oo3extensionmigration.obj
94
95SHL2STDLIBS= \
96	$(DEPLOYMENTMISCLIB) \
97	$(CPPULIB)		\
98	$(CPPUHELPERLIB)	\
99	$(SALLIB) \
100	$(UCBHELPERLIB)	\
101	$(UNOTOOLSLIB) \
102	$(TOOLSLIB)	\
103	$(I18NISOLANGLIB) \
104	$(JVMFWKLIB) \
105	$(XMLSCRIPTLIB) \
106
107SHL2DEPN=
108SHL2IMPLIB=imigrationoo3
109#SHL2LIBS=$(SLB)$/$(SHL2TARGET).lib
110SHL2DEF=$(MISC)$/$(SHL2TARGET).def
111
112DEF2NAME=$(SHL2TARGET)
113
114# --- Targets ------------------------------------------------------
115
116.INCLUDE : target.mk
117
118ALLTAR : $(MISC)/migrationoo3.component
119
120$(MISC)/migrationoo3.component .ERRREMOVE : \
121        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
122    $(XSLTPROC) --nonet --stringparam uri \
123        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
124        $(SOLARENV)/bin/createcomponent.xslt migrationoo3.component
125
126ALLTAR : $(MISC)/migrationoo2.component
127
128$(MISC)/migrationoo2.component .ERRREMOVE : \
129        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
130    $(XSLTPROC) --nonet --stringparam uri \
131        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
132        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
133