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 #*************************************************************************
32 PRJ
=..
$/..
$/..
$/..
$/..
36 ENABLE_EXCEPTIONS
=TRUE
41 # --- Settings -----------------------------------------------------
43 .INCLUDE
: settings.mk
45 CFLAGS
+=-DWIN32_LEAN_AND_MEAN
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
46 CDEFS
+=-D_WIN32_IE
=0x501
48 # --- Files --------------------------------------------------------
50 SLOFILES
=$(SLO
)$/ooofiltproxy.obj
52 SHL1STDLIBS
=$(OLE32LIB
)\
61 SHL1DEF
=$(MISC
)$/$(SHL1TARGET
).def
62 DEF1NAME
=$(SHL1TARGET
)
63 DEF1EXPORTFILE
=exports.dxp
65 .IF
"$(BUILD_X64)"!=""
66 #------------- x64 stuff ----------------
68 CFLAGS_X64
+=-DWIN32_LEAN_AND_MEAN
-D_NTSDK
-DUNICODE
-D_UNICODE
-D_WIN32_WINNT
=0x0501
69 CDEFS_X64
+=-D_WIN32_IE
=0x501
71 SLOFILES_X64
=$(SLO_X64
)$/ooofiltproxy.obj
72 SHL1TARGET_X64
=$(TARGET
)
73 SHL1STDLIBS_X64
=$(OLE32LIB_X64
)\
82 SHL1OBJS_X64
=$(SLO_X64
)$/ooofiltproxy.obj
83 SHL1DEF_X64
=$(MISC_X64
)$/$(TARGET
).def
84 DEF1NAME_X64
=$(TARGET
)
85 DEF1EXPORTFILE_X64
=exports.dxp
86 .ENDIF
# "$(BUILD_X64)"!=""
88 # --- Targets ------------------------------------------------------
90 .INCLUDE
: set_wntx64.mk
92 .INCLUDE
: tg_wntx64.mk