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=..$/..$/..
25PRJINC=$(PRJ)$/source
26PRJNAME=dbaccess
27TARGET=dbmm
28USE_DEFFILE=TRUE
29
30ENABLE_EXCEPTIONS=TRUE
31VISIBILITY_HIDDEN=TRUE
32
33# --- Settings ----------------------------------
34
35.INCLUDE : settings.mk
36
37# --- Files -------------------------------------
38
39# ... resource files ............................
40
41SRS1NAME=$(TARGET)
42SRC1FILES =	\
43		macromigration.src
44
45# ... object files ............................
46SLOFILES=   $(SLO)$/macromigrationwizard.obj \
47            $(SLO)$/macromigrationdialog.obj \
48            $(SLO)$/macromigrationpages.obj \
49            $(SLO)$/dbmm_module.obj \
50            $(SLO)$/dbmm_services.obj \
51            $(SLO)$/migrationengine.obj \
52            $(SLO)$/docinteraction.obj \
53            $(SLO)$/progresscapture.obj \
54            $(SLO)$/progressmixer.obj \
55            $(SLO)$/migrationlog.obj \
56            $(SLO)$/dbmm_types.obj \
57
58# --- library -----------------------------------
59
60SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
61SHL1VERSIONMAP=$(SOLARENV)/src/component.map
62
63SHL1STDLIBS= \
64        $(CPPULIB)          \
65		$(CPPUHELPERLIB)    \
66		$(COMPHELPERLIB)    \
67		$(UNOTOOLSLIB)      \
68		$(TOOLSLIB)         \
69        $(SALLIB)           \
70		$(SVTOOLLIB)        \
71		$(SVLLIB)           \
72        $(VCLLIB)           \
73        $(SVXCORELIB)           \
74        $(SVXLIB)           \
75        $(UCBHELPERLIB)     \
76        $(XMLSCRIPTLIB)
77
78SHL1LIBS=       $(SLB)$/$(TARGET).lib
79SHL1IMPLIB=     i$(TARGET)
80SHL1DEPN=       $(SHL1LIBS)
81SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
82
83DEF1NAME=       $(SHL1TARGET)
84
85# --- .res files -------------------------------
86
87RES1FILELIST=\
88	$(SRS)$/$(TARGET).srs
89
90RESLIB1NAME=$(TARGET)
91RESLIB1IMAGES=$(PRJ)$/res
92RESLIB1SRSFILES=$(RES1FILELIST)
93
94# --- Targets ----------------------------------
95
96.INCLUDE : target.mk
97
98
99ALLTAR : $(MISC)/dbmm.component
100
101$(MISC)/dbmm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
102        dbmm.component
103    $(XSLTPROC) --nonet --stringparam uri \
104        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
105        $(SOLARENV)/bin/createcomponent.xslt dbmm.component
106