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=shlxtmsi 31 32# --- Settings ----------------------------------------------------- 33 34ENABLE_EXCEPTIONS=TRUE 35NO_DEFAULT_STL=TRUE 36DYNAMIC_CRT= 37USE_DEFFILE=TRUE 38 39.INCLUDE : settings.mk 40 41.IF "$(USE_SYSTEM_STL)" != "YES" 42CFLAGS+=-D_STLP_USE_STATIC_LIB 43.ENDIF 44 45#Disable precompiled header 46CDEFS+=-Dnot_used_define_to_disable_pch 47 48# --- Files -------------------------------------------------------- 49 50.IF "$(GUI)"=="WNT" 51 52UWINAPILIB= 53 54SLOFILES = \ 55 $(SLO)$/shellextensions.obj \ 56 $(SLO)$/startmenuicon.obj \ 57 $(SLO)$/upgrade.obj \ 58 $(SLO)$/iconcache.obj \ 59 $(SLO)$/postuninstall.obj \ 60 $(SLO)$/migrateinstallpath.obj \ 61 $(SLO)$/completeinstallpath.obj \ 62 $(SLO)$/checkdirectory.obj \ 63 $(SLO)$/setadmininstall.obj \ 64 $(SLO)$/layerlinks.obj \ 65 $(SLO)$/dotnetcheck.obj \ 66 $(SLO)$/registerextensions.obj \ 67 $(SLO)$/copyeditiondata.obj \ 68 $(SLO)$/vistaspecial.obj \ 69 $(SLO)$/checkrunningoffice.obj \ 70 $(SLO)$/checkpatches.obj \ 71 $(SLO)$/copyextensiondata.obj 72 73STDSHL += \ 74 $(ADVAPI32LIB)\ 75 $(MSILIB)\ 76 $(SHELL32LIB) 77 78.IF "$(USE_SYSTEM_STL)" != "YES" 79STDSHL += $(LIBSTLPORTST) 80.ENDIF 81 82.IF "$(COM)"=="GCC" 83STDSHL+= \ 84 $(KERNEL32LIB)\ 85 -lmsvcrt 86.ENDIF 87 88SHL1OBJS = $(SLOFILES) \ 89 $(SLO)$/seterror.obj 90 91SHL1TARGET = $(TARGET) 92SHL1IMPLIB = i$(TARGET) 93 94SHL1DEF = $(MISC)$/$(SHL1TARGET).def 95SHL1DEPN = $(SLB)$/$(TARGET).lib 96SHL1BASE = 0x1c000000 97DEF1NAME=$(SHL1TARGET) 98DEF1EXPORTFILE=exports.dxp 99 100.ENDIF 101 102# --- Targets -------------------------------------------------------------- 103 104.INCLUDE : target.mk 105 106# ------------------------------------------------------------------------- 107 108 109