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 # Do not use the dynamic STLport library.
42 # Do not use the uwinapi library
46 # --- Settings -----------------------------------------------------
48 .INCLUDE
: settings.mk
50 CFLAGS
+=-DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN
-DXML_UNICODE
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
51 CFLAGS
+=-wd4710
-wd4711
-wd4514
-wd4619
-wd4217
-wd4820
52 CDEFS
+=-D_WIN32_IE
=0x501
53 # SCPCDEFS+=-D_STLP_USE_STATIC_LIB
55 # --- Files --------------------------------------------------------
57 SLOFILES
=$(SLO
)$/ooofilt.obj\
60 # $(SLO)$/utilities.obj
61 # $(SLO)$/dbgmacros.obj
65 SHL1STDLIBS
=$(ZLIB3RDLIB
) $(EXPAT3RDLIB
)
69 SHL1LIBS
=$(SOLARLIBDIR
)$/zlib.lib\
70 $(SOLARLIBDIR
)$/expat_xmlparse.lib\
71 $(SOLARLIBDIR
)$/expat_xmltok.lib
73 SHL1STDLIBS
+=$(OLE32LIB
)\
83 SHL1LIBS
+=$(SLB
)$/util.lib\
84 $(SLB
)$/ooofilereader.lib
88 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
89 DEF1NAME
=$(SHL1TARGET
)
90 DEF1EXPORTFILE
=exports.dxp
93 .IF
"$(BUILD_X64)"!=""
94 #---------------------------- x64 -------------------------
95 CFLAGS_X64
+=-DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN
-DXML_UNICODE
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
96 CFLAGS_X64
+=-wd4710
-wd4711
-wd4514
-wd4619
-wd4217
-wd4820
97 CDEFS_X64
+=-D_WIN32_IE
=0x501
100 SLOFILES_X64
=$(SLO_X64
)$/ooofilt.obj\
101 $(SLO_X64
)$/propspec.obj
103 SHL1TARGET_X64
=$(TARGET
)
105 SHL1LIBS_X64
=$(SOLARLIBDIR_X64
)$/zlib.lib\
106 $(SOLARLIBDIR_X64
)$/expat_xmlparse.lib\
107 $(SOLARLIBDIR_X64
)$/expat_xmltok.lib
109 SHL1STDLIBS_X64
+=$(OLE32LIB_X64
)\
120 SHL1LIBS_X64
+=$(SLB_X64
)$/util.lib\
121 $(SLB_X64
)$/ooofilereader.lib
122 SHL1OBJS_X64
=$(SLOFILES_X64
)
123 SHL1DEF_X64
=$(MISC_X64
)$/$(SHL1TARGET_X64
).def
124 DEF1NAME_X64
=$(SHL1TARGET_X64
)
125 DEF1EXPORTFILE_X64
=exports.dxp
126 .ENDIF
# "$(BUILD_X64)"!=""
128 # --- Targets ------------------------------------------------------
130 .INCLUDE
: set_wntx64.mk
132 .INCLUDE
: tg_wntx64.mk