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=patchmsi 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)$/swappatchfiles.obj 56 57STDSHL += \ 58 $(ADVAPI32LIB)\ 59 $(MSILIB)\ 60 $(SHELL32LIB) 61 62.IF "$(USE_SYSTEM_STL)" != "YES" 63STDSHL += $(LIBSTLPORTST) 64.ENDIF 65 66.IF "$(COM)"=="GCC" 67STDSHL+= \ 68 $(KERNEL32LIB)\ 69 -lmsvcrt 70.ENDIF 71 72#SHL1LIBS = $(SLB)$/$(TARGET).lib 73 74SHL1OBJS = $(SLOFILES) \ 75 $(SLO)$/respintest.obj \ 76 $(SLO)$/shutdown_quickstart.obj \ 77 $(SLO)$/quickstarter.obj \ 78 $(SLO)$/upgrade.obj \ 79 $(SLO)$/registerextensions.obj \ 80 $(SLO)$/seterror.obj 81 82SHL1TARGET = $(TARGET) 83SHL1IMPLIB = i$(TARGET) 84 85SHL1DEF = $(MISC)$/$(SHL1TARGET).def 86SHL1DEPN = $(SLB)$/$(TARGET).lib 87SHL1BASE = 0x1c000000 88DEF1NAME=$(SHL1TARGET) 89DEF1EXPORTFILE=exports.dxp 90 91.ENDIF 92 93# --- Targets -------------------------------------------------------------- 94 95.INCLUDE : target.mk 96 97# ------------------------------------------------------------------------- 98 99