2002-07-29 17:04:06 +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@
|
2002-10-04 23:57:21 +02:00
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
2015-10-13 14:10:20 +02:00
|
|
|
#
|
2018-02-08 10:30:22 +01:00
|
|
|
# Default build from 10.9 using Clang
|
2017-07-26 15:19:32 +02:00
|
|
|
#
|
2017-07-26 15:14:07 +02:00
|
|
|
# Build instructions
|
2018-02-08 10:30:22 +01:00
|
|
|
# set CFLAGS='-I ICUDIR/icu/source/common -m32 -arch i386' (ucnv.h)
|
2017-07-26 15:14:07 +02:00
|
|
|
# set LDFLAGS='-L ICUDIR/icu/source/lib -m32 -arch i386' (-licuuc)
|
2018-02-08 10:30:22 +01:00
|
|
|
# set CXXFLAGS='-I ICUDIR/icu/source/common -I ICUDIR/icu/source/i18n -m32 -arch i386'
|
2017-07-26 15:14:07 +02:00
|
|
|
# where ICUDIR is where you installed ICU
|
|
|
|
# configure using --with-builtin-tommath
|
|
|
|
# or add the relevant -I, -L for an installed version of libtommath
|
2002-07-29 17:04:06 +02:00
|
|
|
|
2017-07-26 15:14:07 +02:00
|
|
|
DYLD_LIBRARY_PATH=$(HOME)/icu54/icu/source/lib
|
2007-03-09 11:32:58 +01:00
|
|
|
export DYLD_LIBRARY_PATH
|
2006-04-18 12:12:27 +02:00
|
|
|
|
2018-02-08 10:30:22 +01:00
|
|
|
MACOSX_DEPLOYMENT_TARGET=10.9
|
2007-12-19 14:25:49 +01:00
|
|
|
export MACOSX_DEPLOYMENT_TARGET
|
|
|
|
|
2018-07-27 16:27:03 +02:00
|
|
|
PROD_FLAGS=-DDARWIN -pipe -O2 -MMD -fPIC -fno-common -arch i386 -mmacosx-version-min=10.9
|
2018-02-08 10:30:22 +01:00
|
|
|
DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-common -Wall -arch i386 -mmacosx-version-min=10.9 -Wno-non-virtual-dtor
|
2017-07-26 15:14:07 +02:00
|
|
|
CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden -msse4
|
2007-03-09 11:32:58 +01:00
|
|
|
|
2011-12-27 09:14:58 +01:00
|
|
|
EXE_LINK_OPTIONS:=-m32
|
2010-06-08 16:44:45 +02:00
|
|
|
LD_FLAGS+=-m32 -arch i386
|
2017-07-26 15:14:07 +02:00
|
|
|
LINK_LIBS+=-liconv
|
|
|
|
MATHLIB=$(ROOT)/extern/libtommath/.libs/libtommath.a
|
|
|
|
SO_LINK_LIBS+=-liconv
|
2007-03-09 11:32:58 +01:00
|
|
|
|
2009-01-28 14:47:26 +01:00
|
|
|
include $(ROOT)/gen/darwin.defaults
|