1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
36 ENABLE_EXCEPTIONS
=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE
: settings.mk
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
47 CFLAGS_X64
+=-DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN
-DXML_UNICODE
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
48 CFLAGS_X64
+=-wd4710
-wd4711
-wd4514
-wd4619
-wd4217
-wd4820
49 CDEFS_X64
+=-D_WIN32_IE
=0x501
52 CFLAGS
+=-DISOLATION_AWARE_ENABLED
-DXML_UNICODE
-DXML_UNICODE_WCHAR_T
-DUNICODE
-D_UNICODE
55 # --- Files --------------------------------------------------------
58 SLOFILES
=$(SLO
)$/basereader.obj\
59 $(SLO
)$/metainforeader.obj\
60 $(SLO
)$/contentreader.obj\
61 $(SLO
)$/simpletag.obj\
62 $(SLO
)$/keywordstag.obj\
63 $(SLO
)$/autostyletag.obj
65 LIB1TARGET
=$(SLB
)$/$(TARGET
).lib
66 LIB1OBJFILES
=$(SLOFILES
)
67 LIB1FILES
=$(SLB
)$/zipfile.lib\
70 .IF
"$(BUILD_X64)"!=""
71 SLOFILES_X64
=$(SLO_X64
)$/basereader.obj\
72 $(SLO_X64
)$/metainforeader.obj\
73 $(SLO_X64
)$/contentreader.obj\
74 $(SLO_X64
)$/simpletag.obj\
75 $(SLO_X64
)$/keywordstag.obj\
76 $(SLO_X64
)$/autostyletag.obj
78 LIB1TARGET_X64
=$(SLB_X64
)$/$(TARGET
).lib
79 LIB1OBJFILES_X64
=$(SLOFILES_X64
)
80 LIB1FILES_X64
=$(SLB_X64
)$/zipfile.lib\
81 $(SLB_X64
)$/xmlparser.lib
82 .ENDIF
# "$(BUILD_X64)"!=""
84 # --- Targets ------------------------------------------------------
86 .INCLUDE
: set_wntx64.mk
88 .INCLUDE
: tg_wntx64.mk