merge the formfield patch from ooo-build
[ooovba.git] / setup_native / source / win32 / customactions / quickstarter / makefile.mk
blob4d56f45adeca3aa121aa58e885f2190dd4121b30
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.7 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..$/..
33 PRJNAME=setup_native
34 TARGET=quickstarter
35 TARGET1=sdqsmsi
36 TARGET2=qslnkmsi
38 # --- Settings -----------------------------------------------------
40 LIBTARGET=NO
41 ENABLE_EXCEPTIONS=TRUE
42 NO_DEFAULT_STL=TRUE
43 DYNAMIC_CRT=
44 USE_DEFFILE=TRUE
46 .INCLUDE : settings.mk
48 .IF "$(USE_SYSTEM_STL)" != "YES"
49 CFLAGS+=-D_STLP_USE_STATIC_LIB
50 .ENDIF
52 UWINAPILIB=
54 # --- Files --------------------------------------------------------
56 .IF "$(GUI)"=="WNT"
58 STDSHL += \
59 $(ADVAPI32LIB)\
60 $(SHELL32LIB)\
61 $(MSILIB)
63 .IF "$(USE_SYSTEM_STL)" != "YES"
64 STDSHL += $(LIBSTLPORTST)
65 .ENDIF
67 .IF "$(COM)"=="GCC"
68 STDSHL+= \
69 $(KERNEL32LIB)\
70 -lmsvcrt
71 .ENDIF
73 SHL1OBJS = $(SLO)$/shutdown_quickstart.obj \
74 $(SLO)$/quickstarter.obj
76 SHL1TARGET = $(TARGET1)
77 SHL1IMPLIB = i$(TARGET1)
79 SHL1DEF = $(MISC)$/$(SHL1TARGET).def
80 SHL1BASE = 0x1c000000
81 DEF1NAME=$(SHL1TARGET)
82 SHL1DEPN=$(SHL1OBJS)
83 DEF1EXPORTFILE=$(TARGET1).dxp
85 # --- Files --------------------------------------------------------
87 SHL2OBJS = $(SLO)$/remove_quickstart_link.obj \
88 $(SLO)$/quickstarter.obj
90 SHL2TARGET = $(TARGET2)
91 SHL2IMPLIB = i$(TARGET2)
93 SHL2DEF = $(MISC)$/$(SHL2TARGET).def
94 SHL2BASE = 0x1c000000
95 DEF2NAME=$(SHL2TARGET)
96 SHL2DEPN=$(SHL1OBJS)
97 DEF2EXPORTFILE=$(TARGET2).dxp
99 .ENDIF
101 # --- Targets --------------------------------------------------------------
103 .INCLUDE : target.mk
105 # -------------------------------------------------------------------------