1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..
29PRJINC=$(PRJ)$/source
30PRJNAME=dbaccess
31TARGET=dbmm
32USE_DEFFILE=TRUE
33
34ENABLE_EXCEPTIONS=TRUE
35VISIBILITY_HIDDEN=TRUE
36
37# --- Settings ----------------------------------
38
39.INCLUDE : settings.mk
40
41# --- Files -------------------------------------
42
43# ... resource files ............................
44
45SRS1NAME=$(TARGET)
46SRC1FILES =	\
47		macromigration.src
48
49# ... object files ............................
50SLOFILES=   $(SLO)$/macromigrationwizard.obj \
51            $(SLO)$/macromigrationdialog.obj \
52            $(SLO)$/macromigrationpages.obj \
53            $(SLO)$/dbmm_module.obj \
54            $(SLO)$/dbmm_services.obj \
55            $(SLO)$/migrationengine.obj \
56            $(SLO)$/docinteraction.obj \
57            $(SLO)$/progresscapture.obj \
58            $(SLO)$/progressmixer.obj \
59            $(SLO)$/migrationlog.obj \
60            $(SLO)$/dbmm_types.obj \
61
62# --- library -----------------------------------
63
64SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
65SHL1VERSIONMAP=$(SOLARENV)/src/component.map
66
67SHL1STDLIBS= \
68        $(CPPULIB)          \
69		$(CPPUHELPERLIB)    \
70		$(COMPHELPERLIB)    \
71		$(UNOTOOLSLIB)      \
72		$(TOOLSLIB)         \
73        $(SALLIB)           \
74		$(SVTOOLLIB)        \
75		$(SVLLIB)           \
76        $(VCLLIB)           \
77        $(SVXCORELIB)           \
78        $(SVXLIB)           \
79        $(UCBHELPERLIB)     \
80        $(XMLSCRIPTLIB)
81
82SHL1LIBS=       $(SLB)$/$(TARGET).lib
83SHL1IMPLIB=     i$(TARGET)
84SHL1DEPN=       $(SHL1LIBS)
85SHL1DEF=        $(MISC)$/$(SHL1TARGET).def
86
87DEF1NAME=       $(SHL1TARGET)
88
89# --- .res files -------------------------------
90
91RES1FILELIST=\
92	$(SRS)$/$(TARGET).srs
93
94RESLIB1NAME=$(TARGET)
95RESLIB1IMAGES=$(PRJ)$/res
96RESLIB1SRSFILES=$(RES1FILELIST)
97
98# --- Targets ----------------------------------
99
100.INCLUDE : target.mk
101
102
103ALLTAR : $(MISC)/dbmm.component
104
105$(MISC)/dbmm.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
106        dbmm.component
107    $(XSLTPROC) --nonet --stringparam uri \
108        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
109        $(SOLARENV)/bin/createcomponent.xslt dbmm.component
110