forked from amazingfate/loongoffice
2008/03/13 15:26:34 obo 1.6.38.1: #i75046# additional build for 64 bit shell extension (Windows Vista)
77 lines
2.4 KiB
Makefile
Executable File
77 lines
2.4 KiB
Makefile
Executable File
#*************************************************************************
|
|
#
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
#
|
|
# $RCSfile: makefile.mk,v $
|
|
#
|
|
# $Revision: 1.7 $
|
|
#
|
|
# last change: $Author: kz $ $Date: 2008-04-02 09:42:56 $
|
|
#
|
|
# The Contents of this file are made available subject to
|
|
# the terms of GNU Lesser General Public License Version 2.1.
|
|
#
|
|
#
|
|
# GNU Lesser General Public License Version 2.1
|
|
# =============================================
|
|
# Copyright 2005 by Sun Microsystems, Inc.
|
|
# 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License version 2.1, as published by the Free Software Foundation.
|
|
#
|
|
# This library is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
# Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public
|
|
# License along with this library; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
# MA 02111-1307 USA
|
|
#
|
|
#*************************************************************************
|
|
|
|
PRJ=..$/..
|
|
|
|
PRJNAME=shell
|
|
TARGET=xmlparser
|
|
ENABLE_EXCEPTIONS=TRUE
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
.IF "$(GUI)" == "WNT"
|
|
CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
|
|
CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
|
|
CDEFS+=-D_WIN32_IE=0x501
|
|
|
|
.IF "$(BUILD_X64)"!=""
|
|
CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
|
|
CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
|
|
CDEFS_X64+=-D_WIN32_IE=0x501
|
|
.ENDIF # "$(BUILD_X64)"!=""
|
|
.ENDIF
|
|
|
|
.IF "$(GUI)" == "OS2"
|
|
CFLAGS+=-DISOLATION_AWARE_ENABLED -DXML_UNICODE -DXML_UNICODE_WCHAR_T -DUNICODE -D_UNICODE
|
|
.ENDIF
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
.IF "$(SYSTEM_EXPAT)" == "YES"
|
|
CFLAGS+=-DSYSTEM_EXPAT
|
|
.ENDIF
|
|
|
|
SLOFILES=$(SLO)$/xml_parser.obj
|
|
.IF "$(BUILD_X64)"!=""
|
|
SLOFILES_X64=$(SLO_X64)$/xml_parser.obj
|
|
.ENDIF # "$(BUILD_X64)"!=""
|
|
|
|
.INCLUDE : set_wntx64.mk
|
|
.INCLUDE : target.mk
|
|
.INCLUDE : tg_wntx64.mk
|
|
|