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=reg4msdocmsi
31
32# --- Settings -----------------------------------------------------
33
34ENABLE_EXCEPTIONS=TRUE
35NO_DEFAULT_STL=TRUE
36DYNAMIC_CRT=
37USE_DEFFILE=TRUE
38MINGW_NODLL=YES
39
40.INCLUDE : settings.mk
41
42CFLAGS+=-DUNICODE -D_UNICODE
43.IF "$(USE_SYSTEM_STL)" != "YES"
44CFLAGS+=-D_STLP_USE_STATIC_LIB
45.ENDIF
46
47# --- Files --------------------------------------------------------
48
49.IF "$(GUI)"=="WNT"
50
51UWINAPILIB=
52
53SLOFILES =	$(SLO)$/msihelper.obj\
54            $(SLO)$/windowsregistry.obj\
55            $(SLO)$/userregistrar.obj\
56            $(SLO)$/stringconverter.obj\
57            $(SLO)$/registrywnt.obj\
58            $(SLO)$/registryw9x.obj\
59            $(SLO)$/registryvalueimpl.obj\
60            $(SLO)$/registryexception.obj\
61            $(SLO)$/registry.obj\
62            $(SLO)$/registrationcontextinformation.obj\
63            $(SLO)$/registrar.obj\
64            $(SLO)$/register.obj\
65            $(SLO)$/reg4msdocmsi.obj
66
67SHL1STDLIBS=	$(KERNEL32LIB)\
68				$(USER32LIB)\
69				$(ADVAPI32LIB)\
70				$(SHELL32LIB)\
71				$(MSILIB)\
72				$(SHLWAPILIB)
73
74.IF "$(USE_SYSTEM_STL)" != "YES"
75SHL1STDLIBS+=$(LIBSTLPORTST)
76.ENDIF
77
78SHL1LIBS = $(SLB)$/$(TARGET).lib
79
80SHL1TARGET = $(TARGET)
81SHL1IMPLIB = i$(TARGET)
82
83SHL1DEF = $(MISC)$/$(SHL1TARGET).def
84SHL1DEPN = $(SLB)$/$(TARGET).lib
85SHL1BASE = 0x1c000000
86DEF1NAME=$(SHL1TARGET)
87DEF1EXPORTFILE=exports.dxp
88
89.ENDIF
90
91# --- Targets --------------------------------------------------------------
92
93.INCLUDE : target.mk
94
95# -------------------------------------------------------------------------
96
97