17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=desktop
2773c96003SYuri Dario.IF "$(OS)" == "OS2"
2873c96003SYuri DarioTARGET = migroo2
2973c96003SYuri Dario.ELSE
30cdf0e10cSrcweirTARGET = migrationoo2.uno
3173c96003SYuri Dario.ENDIF
32cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
33cdf0e10cSrcweirCOMP1TYPELIST = migrationoo2
34cdf0e10cSrcweirLIBTARGET=NO
35cdf0e10cSrcweir
36cdf0e10cSrcweir# --- Settings -----------------------------------------------------
37*5e679a6cSOliver-Rainer WittmannPRJINC=..$/..
38cdf0e10cSrcweir.INCLUDE :  settings.mk
39*5e679a6cSOliver-Rainer Wittmann.INCLUDE : ..$/..$/deployment/inc/dp_misc.mk
40*5e679a6cSOliver-Rainer Wittmann.INCLUDE : ..$/..$/deployment/inc/dp_gui.mk
41cdf0e10cSrcweirDLLPRE =
42cdf0e10cSrcweir
43cdf0e10cSrcweir# ------------------------------------------------------------------
44cdf0e10cSrcweir
45cdf0e10cSrcweir.INCLUDE :  cppumaker.mk
46cdf0e10cSrcweir
47cdf0e10cSrcweirSLOFILES= \
48cdf0e10cSrcweir		$(SLO)$/jvmfwk.obj \
49cdf0e10cSrcweir		$(SLO)$/cexports.obj \
50cdf0e10cSrcweir		$(SLO)$/basicmigration.obj \
51cdf0e10cSrcweir		$(SLO)$/wordbookmigration.obj \
52cdf0e10cSrcweir		$(SLO)$/autocorrmigration.obj \
53*5e679a6cSOliver-Rainer Wittmann		$(SLO)$/oo3extensionmigration.obj
54cdf0e10cSrcweir
55cdf0e10cSrcweirSHL1OBJS= \
56cdf0e10cSrcweir		$(SLO)$/jvmfwk.obj \
57cdf0e10cSrcweir		$(SLO)$/cexports.obj \
58cdf0e10cSrcweir		$(SLO)$/basicmigration.obj \
59cdf0e10cSrcweir		$(SLO)$/wordbookmigration.obj \
60*5e679a6cSOliver-Rainer Wittmann		$(SLO)$/autocorrmigration.obj \
61*5e679a6cSOliver-Rainer Wittmann		$(SLO)$/oo3extensionmigration.obj
62cdf0e10cSrcweir
63cdf0e10cSrcweirSHL1TARGET=$(TARGET)
64cdf0e10cSrcweirSHL1VERSIONMAP = $(SOLARENV)/src/component.map
65cdf0e10cSrcweir
66cdf0e10cSrcweirSHL1STDLIBS= \
67cdf0e10cSrcweir	$(DEPLOYMENTMISCLIB) \
68*5e679a6cSOliver-Rainer Wittmann	$(DEPLOYMENTGUILIB) \
69cdf0e10cSrcweir	$(CPPULIB)		\
70cdf0e10cSrcweir	$(CPPUHELPERLIB)	\
71cdf0e10cSrcweir	$(SALLIB) \
72cdf0e10cSrcweir	$(UCBHELPERLIB)	\
73cdf0e10cSrcweir	$(UNOTOOLSLIB) \
74cdf0e10cSrcweir	$(TOOLSLIB)	\
75cdf0e10cSrcweir	$(I18NISOLANGLIB) \
76cdf0e10cSrcweir	$(JVMFWKLIB) \
77cdf0e10cSrcweir	$(XMLSCRIPTLIB) \
78cdf0e10cSrcweir
79cdf0e10cSrcweirSHL1DEPN=
80cdf0e10cSrcweirSHL1IMPLIB=imigrationoo2
81cdf0e10cSrcweir#SHL1LIBS=$(SLB)$/$(TARGET).lib
82cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def
83cdf0e10cSrcweir
84cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
85cdf0e10cSrcweir
86cdf0e10cSrcweir# --- Targets ------------------------------------------------------
87cdf0e10cSrcweir
88cdf0e10cSrcweir.INCLUDE : target.mk
89cdf0e10cSrcweir
90cdf0e10cSrcweirALLTAR : $(MISC)/migrationoo2.component
91cdf0e10cSrcweir
92cdf0e10cSrcweir$(MISC)/migrationoo2.component .ERRREMOVE : \
93cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
94cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
95cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
96cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
97