# 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 # # Default build from 10.7 using Clang # The following exports assume you are using MacPorts ICU, libtommath # export CFLAGS='-I/opt/local/include -I/opt/local/include/libtommath' # export CXXFLAGS='-I/opt/local/include -I/opt/local/include/libtommath -L/opt/local/lib' # export LDFLAGS='-L/opt/local/lib' DYLD_LIBRARY_PATH=$(FIREBIRD)/lib export DYLD_LIBRARY_PATH DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib export DYLD_FALLBACK_LIBRARY_PATH MACOSX_DEPLOYMENT_TARGET=10.9 export MACOSX_DEPLOYMENT_TARGET PROD_FLAGS=-O1 -DDARWIN -pipe -MMD -fPIC -fno-common -mmacosx-version-min=10.7 DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-omit-frame-pointer -fno-common -Wall -fno-optimize-sibling-calls -mmacosx-version-min=10.7 -Wno-non-virtual-dtor CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden -msse4 LD_FLAGS+=-liconv FIREBIRD_LIBRARY_LINK+=-liconv UNDEF_PLATFORM= include $(ROOT)/gen/darwin.defaults