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=..$/.. 29 30PRJNAME=shell 31TARGET=xmlparser 32ENABLE_EXCEPTIONS=TRUE 33 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39.IF "$(GUI)" == "WNT" 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 43 44.IF "$(BUILD_X64)"!="" 45CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501 46CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 47CDEFS_X64+=-D_WIN32_IE=0x501 48.ENDIF # "$(BUILD_X64)"!="" 49.ENDIF 50.IF "$(GUI)" == "OS2" 51CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE 52.ENDIF 53 54# --- Files -------------------------------------------------------- 55 56.IF "$(SYSTEM_EXPAT)" == "YES" 57CFLAGS+=-DSYSTEM_EXPAT 58.ENDIF 59 60SLOFILES=$(SLO)$/xml_parser.obj 61 62.IF "$(BUILD_X64)"!="" 63SLOFILES_X64=$(SLO_X64)$/xml_parser.obj 64.ENDIF # "$(BUILD_X64)"!="" 65 66.INCLUDE : set_wntx64.mk 67.INCLUDE : target.mk 68.IF "$(OS)" == "WNT" 69INCLUDE!:=$(subst,/stl, $(INCLUDE)) 70.EXPORT : INCLUDE 71.ENDIF 72.INCLUDE : tg_wntx64.mk 73 74