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=..$/..$/..$/..
29PRJNAME=setup_native
30TARGET=rebase
31
32# --- Settings -----------------------------------------------------
33
34LIBTARGET=NO
35ENABLE_EXCEPTIONS=TRUE
36NO_DEFAULT_STL=TRUE
37DYNAMIC_CRT=
38USE_DEFFILE=TRUE
39MINGW_NODLL=YES
40
41.INCLUDE : settings.mk
42
43.IF "$(USE_SYSTEM_STL)" != "YES"
44CFLAGS+=-D_STLP_USE_STATIC_LIB
45.ENDIF
46
47UWINAPILIB=
48
49# --- Files --------------------------------------------------------
50
51.IF "$(GUI)"=="WNT"
52
53STDSHL += \
54	$(ADVAPI32LIB)\
55	$(SHELL32LIB)\
56	$(MSILIB)
57
58.IF "$(USE_SYSTEM_STL)" != "YES"
59STDSHL += $(LIBSTLPORTST)
60.ENDIF
61
62.IF "$(COM)"=="GCC"
63STDSHL+=	\
64	$(KERNEL32LIB)\
65	-lmsvcrt \
66	$(PSDK_HOME)$/lib$/imagehlp.lib
67.ELSE
68STDSHL+=	\
69	Imagehlp.lib
70.ENDIF
71
72SHL1OBJS =	\
73	$(SLO)$/rebase.obj
74
75SHL1TARGET = $(TARGET)
76SHL1IMPLIB = i$(TARGET)
77
78SHL1DEF = $(MISC)$/$(SHL1TARGET).def
79SHL1BASE = 0x1c000000
80DEF1NAME=$(SHL1TARGET)
81SHL1DEPN=$(SHL1OBJS)
82DEF1EXPORTFILE=$(TARGET).dxp
83
84.ENDIF
85
86# --- Targets --------------------------------------------------------------
87
88.INCLUDE : target.mk
89
90# -------------------------------------------------------------------------
91