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=shell 30TARGET=ooofilereader 31LIBTARGET=NO 32ENABLE_EXCEPTIONS=TRUE 33 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39.IF "$(GUI)" != "OS2" 40CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 41CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 42CDEFS+=-D_WIN32_IE=0x501 43CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 44CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 45CDEFS_X64+=-D_WIN32_IE=0x501 46.ENDIF 47.IF "$(GUI)" == "OS2" 48CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE 49.ENDIF 50 51# --- Files -------------------------------------------------------- 52 53 54SLOFILES=$(SLO)$/basereader.obj\ 55 $(SLO)$/metainforeader.obj\ 56 $(SLO)$/contentreader.obj\ 57 $(SLO)$/simpletag.obj\ 58 $(SLO)$/keywordstag.obj\ 59 $(SLO)$/autostyletag.obj 60 61LIB1TARGET=$(SLB)$/$(TARGET).lib 62LIB1OBJFILES=$(SLOFILES) 63LIB1FILES=$(SLB)$/zipfile.lib\ 64 $(SLB)$/xmlparser.lib 65 66.IF "$(BUILD_X64)"!="" 67SLOFILES_X64=$(SLO_X64)$/basereader.obj\ 68 $(SLO_X64)$/metainforeader.obj\ 69 $(SLO_X64)$/contentreader.obj\ 70 $(SLO_X64)$/simpletag.obj\ 71 $(SLO_X64)$/keywordstag.obj\ 72 $(SLO_X64)$/autostyletag.obj 73 74LIB1TARGET_X64=$(SLB_X64)$/$(TARGET).lib 75LIB1OBJFILES_X64=$(SLOFILES_X64) 76LIB1FILES_X64=$(SLB_X64)$/zipfile.lib\ 77 $(SLB_X64)$/xmlparser.lib 78.ENDIF # "$(BUILD_X64)"!="" 79 80# --- Targets ------------------------------------------------------ 81 82.INCLUDE : set_wntx64.mk 83.INCLUDE : target.mk 84.IF "$(OS)" == "WNT" 85INCLUDE!:=$(subst,/stl, $(INCLUDE)) 86.EXPORT : INCLUDE 87.ENDIF 88.INCLUDE : tg_wntx64.mk 89 90