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 -----------------------------------------------------
37PRJINC=..$/..
38.INCLUDE :  settings.mk
39.INCLUDE : ..$/..$/deployment/inc/dp_misc.mk
40.INCLUDE : ..$/..$/deployment/inc/dp_gui.mk
41DLLPRE =
42
43# ------------------------------------------------------------------
44
45.INCLUDE :  cppumaker.mk
46
47SLOFILES= \
48		$(SLO)$/jvmfwk.obj \
49		$(SLO)$/cexports.obj \
50		$(SLO)$/basicmigration.obj \
51		$(SLO)$/wordbookmigration.obj \
52		$(SLO)$/autocorrmigration.obj \
53		$(SLO)$/oo3extensionmigration.obj
54
55SHL1OBJS= \
56		$(SLO)$/jvmfwk.obj \
57		$(SLO)$/cexports.obj \
58		$(SLO)$/basicmigration.obj \
59		$(SLO)$/wordbookmigration.obj \
60		$(SLO)$/autocorrmigration.obj \
61		$(SLO)$/oo3extensionmigration.obj
62
63SHL1TARGET=$(TARGET)
64SHL1VERSIONMAP = $(SOLARENV)/src/component.map
65
66SHL1STDLIBS= \
67	$(DEPLOYMENTMISCLIB) \
68	$(DEPLOYMENTGUILIB) \
69	$(CPPULIB)		\
70	$(CPPUHELPERLIB)	\
71	$(SALLIB) \
72	$(UCBHELPERLIB)	\
73	$(UNOTOOLSLIB) \
74	$(TOOLSLIB)	\
75	$(I18NISOLANGLIB) \
76	$(JVMFWKLIB) \
77	$(XMLSCRIPTLIB) \
78
79SHL1DEPN=
80SHL1IMPLIB=imigrationoo2
81#SHL1LIBS=$(SLB)$/$(TARGET).lib
82SHL1DEF=$(MISC)$/$(SHL1TARGET).def
83
84DEF1NAME=$(SHL1TARGET)
85
86# --- Targets ------------------------------------------------------
87
88.INCLUDE : target.mk
89
90ALLTAR : $(MISC)/migrationoo2.component
91
92$(MISC)/migrationoo2.component .ERRREMOVE : \
93        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
94    $(XSLTPROC) --nonet --stringparam uri \
95        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
96        $(SOLARENV)/bin/createcomponent.xslt migrationoo2.component
97