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=quickstarter
31TARGET1=sdqsmsi
32TARGET2=qslnkmsi
33
34# --- Settings -----------------------------------------------------
35
36LIBTARGET=NO
37ENABLE_EXCEPTIONS=TRUE
38NO_DEFAULT_STL=TRUE
39DYNAMIC_CRT=
40USE_DEFFILE=TRUE
41
42.INCLUDE : settings.mk
43
44.IF "$(USE_SYSTEM_STL)" != "YES"
45CFLAGS+=-D_STLP_USE_STATIC_LIB
46.ENDIF
47
48UWINAPILIB=
49
50# --- Files --------------------------------------------------------
51
52.IF "$(GUI)"=="WNT"
53
54STDSHL += \
55	$(ADVAPI32LIB)\
56	$(SHELL32LIB)\
57	$(MSILIB)
58
59.IF "$(USE_SYSTEM_STL)" != "YES"
60STDSHL += $(LIBSTLPORTST)
61.ENDIF
62
63.IF "$(COM)"=="GCC"
64STDSHL+=	\
65	$(KERNEL32LIB)\
66	-lmsvcrt
67.ENDIF
68
69SHL1OBJS =	$(SLO)$/shutdown_quickstart.obj \
70			$(SLO)$/quickstarter.obj
71
72SHL1TARGET = $(TARGET1)
73SHL1IMPLIB = i$(TARGET1)
74
75SHL1DEF = $(MISC)$/$(SHL1TARGET).def
76SHL1BASE = 0x1c000000
77DEF1NAME=$(SHL1TARGET)
78SHL1DEPN=$(SHL1OBJS)
79DEF1EXPORTFILE=$(TARGET1).dxp
80
81# --- Files --------------------------------------------------------
82
83SHL2OBJS =	$(SLO)$/remove_quickstart_link.obj \
84			$(SLO)$/quickstarter.obj
85
86SHL2TARGET = $(TARGET2)
87SHL2IMPLIB = i$(TARGET2)
88
89SHL2DEF = $(MISC)$/$(SHL2TARGET).def
90SHL2BASE = 0x1c000000
91DEF2NAME=$(SHL2TARGET)
92SHL2DEPN=$(SHL1OBJS)
93DEF2EXPORTFILE=$(TARGET2).dxp
94
95.ENDIF
96
97# --- Targets --------------------------------------------------------------
98
99.INCLUDE : target.mk
100
101# -------------------------------------------------------------------------
102
103