Update ooo320-m1
[ooovba.git] / shell / source / all / makefile.mk
blob623aad6d69c13d36be0dd822ede85b8983d0d439
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.9 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
34 PRJNAME=shell
35 TARGET=xmlparser
36 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 .IF "$(GUI)" == "WNT"
44 CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
45 CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
46 CDEFS+=-D_WIN32_IE=0x501
48 .IF "$(BUILD_X64)"!=""
49 CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
50 CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
51 CDEFS_X64+=-D_WIN32_IE=0x501
52 .ENDIF # "$(BUILD_X64)"!=""
53 .ENDIF
54 .IF "$(GUI)" == "OS2"
55 CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE
56 .ENDIF
58 # --- Files --------------------------------------------------------
60 .IF "$(SYSTEM_EXPAT)" == "YES"
61 CFLAGS+=-DSYSTEM_EXPAT
62 .ENDIF
64 SLOFILES=$(SLO)$/xml_parser.obj
66 .IF "$(BUILD_X64)"!=""
67 SLOFILES_X64=$(SLO_X64)$/xml_parser.obj
68 .ENDIF # "$(BUILD_X64)"!=""
70 .INCLUDE : set_wntx64.mk
71 .INCLUDE : target.mk
72 .INCLUDE : tg_wntx64.mk