diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-19 21:23:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-19 21:50:09 +0300 |
commit | 9b74656d01e24f11a6980d2795bdc2b9b17e35bc (patch) | |
tree | 76b92dbb963b47dbe8716a4c89b6ca05135c654c /solenv/inc/unxmacxx.mk | |
parent | ed5c2c95b7ec0f6b81e4ad7b8dd481bf8e494b1d (diff) |
Start on experimental support for 64-bit Mac code
Rename the --enable-cl-x64 switch to --enable-64-bit and make its
meaning more generic. Drop the CL_X64 config variable, introduce the
more generic BITNESS_OVERRIDE instead.
Does not build yet.
Change-Id: Iac66afe31dceaf40c8262fec2e5aef6a751ba3d2
Diffstat (limited to 'solenv/inc/unxmacxx.mk')
-rw-r--r-- | solenv/inc/unxmacxx.mk | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/solenv/inc/unxmacxx.mk b/solenv/inc/unxmacxx.mk new file mode 100644 index 000000000000..309f3f119be3 --- /dev/null +++ b/solenv/inc/unxmacxx.mk @@ -0,0 +1,48 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org 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 version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# +# Mac OS X/x86_64 specific defines +# + +PROCESSOR_DEFINES=-DX86_64 + +# special for SO build environment +.IF "$(SYSBASE)"!="" +.IF "$(EXTRA_CFLAGS)"!="" +CPP:=gcc -E $(EXTRA_CFLAGS) +CXXCPP*:=g++ -E $(EXTRA_CFLAGS) +.EXPORT : CPP CXXCPP +.ENDIF # "$(EXTRA_CFLAGS)"!="" +.ENDIF # "$(SYSBASE)"!="" + +# flags to enable build with symbols +CFLAGSENABLESYMBOLS=-g + +# Include generic Mac OS X makefile +.INCLUDE : unxmacx.mk +BUILD64=1 |