Version 3.6.0.4, tag libreoffice-3.6.0.4
[LibreOffice.git] / setup_native / source / win32 / customactions / shellextensions / makefile.mk
blobfbebd6e1bb87084fba15ece6bf213c36245d4a44
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
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.
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).
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.
26 #*************************************************************************
28 PRJ=..$/..$/..$/..
29 PRJNAME=setup_native
30 TARGET=shlxtmsi
32 # --- Settings -----------------------------------------------------
34 ENABLE_EXCEPTIONS=TRUE
35 NO_DEFAULT_STL=TRUE
36 DYNAMIC_CRT=
37 USE_DEFFILE=TRUE
39 .INCLUDE : settings.mk
41 #Disable precompiled header
42 CDEFS+=-Dnot_used_define_to_disable_pch
44 # --- Files --------------------------------------------------------
46 .IF "$(GUI)"=="WNT" && "$(WINDOWS_SDK_HOME)"!=""
48 UWINAPILIB=
50 SLOFILES = \
51 $(SLO)$/startmenuicon.obj \
52 $(SLO)$/upgrade.obj \
53 $(SLO)$/iconcache.obj \
54 $(SLO)$/postuninstall.obj \
55 $(SLO)$/migrateinstallpath.obj \
56 $(SLO)$/completeinstallpath.obj \
57 $(SLO)$/checkdirectory.obj \
58 $(SLO)$/setadmininstall.obj \
59 $(SLO)$/layerlinks.obj \
60 $(SLO)$/dotnetcheck.obj \
61 $(SLO)$/registerextensions.obj \
62 $(SLO)$/copyeditiondata.obj \
63 $(SLO)$/vistaspecial.obj \
64 $(SLO)$/checkpatches.obj \
65 $(SLO)$/copyextensiondata.obj
67 STDSHL += \
68 $(ADVAPI32LIB)\
69 $(MSILIB)\
70 $(SHELL32LIB)
72 .IF "$(COM)"=="GCC"
73 STDSHL+= \
74 $(KERNEL32LIB)\
75 -lmsvcrt
76 .ELSE
77 STDSHL+= \
78 psapi.lib
79 .ENDIF
81 SHL1OBJS = $(SLOFILES) \
82 $(SLO)$/seterror.obj
84 SHL1TARGET = $(TARGET)
85 SHL1IMPLIB = i$(TARGET)
87 SHL1DEF = $(MISC)$/$(SHL1TARGET).def
88 SHL1DEPN = $(SLB)$/$(TARGET).lib
89 SHL1BASE = 0x1c000000
90 DEF1NAME=$(SHL1TARGET)
91 DEF1EXPORTFILE=exports.dxp
93 .ENDIF
95 # --- Targets --------------------------------------------------------------
97 .INCLUDE : target.mk
99 # -------------------------------------------------------------------------