2008-06-09 14:02:59 +02:00
|
|
|
# The contents of this file are subject to the Interbase Public
|
|
|
|
# License Version 1.0 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy
|
|
|
|
# of the License at http://www.Inprise.com/IPL.html
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an
|
|
|
|
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
# or implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code was created by Inprise Corporation
|
|
|
|
# and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
#
|
|
|
|
# Copyright (C) 2000 Inprise Corporation
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): ______________________________________.
|
|
|
|
# Start of file prefix.darwin: $(VERSION) @PLATFORM@
|
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
|
|
|
|
2008-06-09 16:05:42 +02:00
|
|
|
# To use this file to build 64bit version of Firebird for MacOS 10.5 (Leopard)
|
2021-07-08 19:30:17 +02:00
|
|
|
# Can only be built on MacOSX 10.5 (Leopard) due to lack of 64bit support in
|
2008-06-09 14:02:59 +02:00
|
|
|
# Carbon in previous versions of MacOSX
|
|
|
|
# 1. edit configure.in so that MAKEFILE_PREFIX=darwin_ppc64
|
|
|
|
# 2. uncomment the CPU_TYPE
|
|
|
|
# 3. edit extern/icu/source/config/mh-darwin and set the right 64bit flags (-arch ppc64)
|
|
|
|
# for CFLAGS, CXXFLAGS & LD_FLAGS
|
|
|
|
# 4. export CFLAGS='-arch _ppc64'
|
|
|
|
# 5. export CXXFLAGS='-arch ppc_64'
|
|
|
|
# 6. export LDFLAGS='-arch ppc_64'
|
2008-06-09 16:05:42 +02:00
|
|
|
# 7. export MACOSX_DEPLOYMENT_TARGET=10.5
|
2008-06-09 14:02:59 +02:00
|
|
|
|
2008-06-09 16:05:42 +02:00
|
|
|
MACOSX_DEPLOYMENT_TARGET=10.5
|
2008-06-09 14:02:59 +02:00
|
|
|
export MACOSX_DEPLOYMENT_TARGET
|
|
|
|
|
2009-11-04 11:04:33 +01:00
|
|
|
PROD_FLAGS=-O3 -DDARWIN -pipe -p -MMD -fPIC -fno-common -mmacosx-version-min=10.5
|
2021-07-08 19:30:17 +02:00
|
|
|
DEV_FLAGS=-ggdb -DDARWIN -pipe -p -MMD -fPIC -fno-common -Werror=delete-incomplete -Wall -mmacosx-version-min=10.5 -Wno-non-virtual-dtor
|
2008-06-09 14:02:59 +02:00
|
|
|
CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden
|
|
|
|
|
2021-12-17 13:06:50 +01:00
|
|
|
EXE_LINK_OPTIONS+=-arch ppc64
|
2008-06-09 16:05:42 +02:00
|
|
|
LD_FLAGS+=-arch ppc64
|
2008-06-09 14:02:59 +02:00
|
|
|
|
2009-01-28 14:47:26 +01:00
|
|
|
include $(ROOT)/gen/darwin.defaults
|