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
38 .IF
"$(BUILD_X64)"!=""
41 # --- Settings -----------------------------------------------------
43 .INCLUDE
: settings.mk
48 CFLAGS
+=-DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN
-DXML_UNICODE
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
49 CFLAGS
+=-wd4710
-wd4711
-wd4514
-wd4619
-wd4217
-wd4820
50 CDEFS
+=-D_WIN32_IE
=0x501
52 # --- Files --------------------------------------------------------
54 SLOFILES
=$(SLO
)$/classfactory.obj\
55 $(SLO
)$/columninfo.obj\
57 $(SLO
)$/propsheets.obj\
59 $(SLO
)$/listviewbuilder.obj\
60 $(SLO
)$/document_statistic.obj\
61 $(SLO
)$/thumbviewer.obj
66 SHL1STDLIBS
=$(ZLIB3RDLIB
) $(EXPAT3RDLIB
) $(COMCTL32LIB
)
70 SHL1LIBS
=$(SOLARLIBDIR
)$/zlib.lib\
71 $(SOLARLIBDIR
)$/expat_xmlparse.lib\
72 $(SOLARLIBDIR
)$/expat_xmltok.lib
84 SHL1LIBS
+=$(SLB
)$/util.lib\
85 $(SLB
)$/ooofilereader.lib
90 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
92 SHL1RES
=$(RES
)$/$(TARGET
).res
94 DEF1NAME
=$(SHL1TARGET
)
95 DEF1EXPORTFILE
=exports.dxp
97 .IF
"$(BUILD_X64)"!=""
98 # -------------------- x64 -----------------------
99 CFLAGS_X64
+=-DISOLATION_AWARE_ENABLED
-DWIN32_LEAN_AND_MEAN
-DXML_UNICODE
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
100 CFLAGS_X64
+=-wd4710
-wd4711
-wd4514
-wd4619
-wd4217
-wd4820
101 CDEFS_X64
+=-D_WIN32_IE
=0x501
104 $(SLO_X64
)$/classfactory.obj\
105 $(SLO_X64
)$/columninfo.obj\
106 $(SLO_X64
)$/infotips.obj\
107 $(SLO_X64
)$/propsheets.obj\
108 $(SLO_X64
)$/shlxthdl.obj\
109 $(SLO_X64
)$/listviewbuilder.obj\
110 $(SLO_X64
)$/document_statistic.obj\
111 $(SLO_X64
)$/thumbviewer.obj
113 SHL1TARGET_X64
=$(TARGET
)
114 SHL1LIBS_X64
=$(SOLARLIBDIR_X64
)$/zlib.lib\
115 $(SOLARLIBDIR_X64
)$/expat_xmlparse.lib\
116 $(SOLARLIBDIR_X64
)$/expat_xmltok.lib
132 SHL1LIBS_X64
+=$(SLB_X64
)$/util.lib\
133 $(SLB_X64
)$/ooofilereader.lib
134 SHL1OBJS_X64
=$(SLOFILES_X64
)
135 SHL1DEF_X64
=$(MISC_X64
)$/$(SHL1TARGET
).def
136 SHL1RES_X64
=$(RES_X64
)$/$(TARGET
)_x64.res
138 DEF1NAME_X64
=$(SHL1TARGET_X64
)
139 DEF1EXPORTFILE_X64
=exports.dxp
140 .ENDIF
# "$(BUILD_X64)"!=""
142 # --- Targets ------------------------------------------------------
144 .INCLUDE
: set_wntx64.mk
146 .INCLUDE
: tg_wntx64.mk