prefix.darwin_i386 (Firebird-3.0.2.32703-0.tar.bz2) | : | prefix.darwin_i386 (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 20 | skipping to change at line 20 | |||
# | # | |||
# The Original Code was created by Inprise Corporation | # The Original Code was created by Inprise Corporation | |||
# and its predecessors. Portions created by Inprise Corporation are | # and its predecessors. Portions created by Inprise Corporation are | |||
# | # | |||
# Copyright (C) 2000 Inprise Corporation | # Copyright (C) 2000 Inprise Corporation | |||
# All Rights Reserved. | # All Rights Reserved. | |||
# Contributor(s): ______________________________________. | # Contributor(s): ______________________________________. | |||
# Start of file prefix.darwin: $(VERSION) @PLATFORM@ | # Start of file prefix.darwin: $(VERSION) @PLATFORM@ | |||
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup | # 2 Oct 2002, Nickolay Samofatov - Major Cleanup | |||
# | # | |||
# Default build from 10.7 using Clang | # Default build from 10.9 using Clang | |||
# Use this file to create a 32bit version of Firebird for intel | # | |||
# Instructions if running MacOSX 10.7 | # Build instructions | |||
# 1. edit configure.in so that MAKEFILE_PREFIX=darwin_i386 | # set CFLAGS='-I ICUDIR/icu/source/common -m32 -arch i386' (ucnv.h) | |||
# 2. dnl the CPU_TYPE | # set LDFLAGS='-L ICUDIR/icu/source/lib -m32 -arch i386' (-licuuc) | |||
# 3. edit extern/icu/source/config and set the right 32bit flags (-arch i386) | # set CXXFLAGS='-I ICUDIR/icu/source/common -I ICUDIR/icu/source/i18n -m32 -arch | |||
# 4. for CFLAGS, CXXFLAGS, LDFLAGS export '-m32 -arch i386' | i386' | |||
# 5. export MACOSX_DEPLOYMENT_TARGET=10.7 | # where ICUDIR is where you installed ICU | |||
# configure using --with-builtin-tommath | ||||
# or add the relevant -I, -L for an installed version of libtommath | ||||
DYLD_LIBRARY_PATH=$(FIREBIRD)/lib | DYLD_LIBRARY_PATH=$(HOME)/icu54/icu/source/lib | |||
export DYLD_LIBRARY_PATH | export DYLD_LIBRARY_PATH | |||
MACOSX_DEPLOYMENT_TARGET=10.7 | MACOSX_DEPLOYMENT_TARGET=10.9 | |||
export MACOSX_DEPLOYMENT_TARGET | export MACOSX_DEPLOYMENT_TARGET | |||
PROD_FLAGS=-O1 -DDARWIN -pipe -MMD -fPIC -fno-common -arch i386 -mmacosx-version | PROD_FLAGS=-DDARWIN -pipe -O2 -MMD -fPIC -fno-common -arch i386 -mmacosx-version | |||
-min=10.7 | -min=10.9 | |||
DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-common -Wall -arch i386 -mmacosx- | DEV_FLAGS=-ggdb -DDARWIN -pipe -MMD -fPIC -fno-common -Wall -arch i386 -mmacosx- | |||
version-min=10.7 -Wno-non-virtual-dtor | version-min=10.9 -Wno-non-virtual-dtor | |||
CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden -fno-weak | CXXFLAGS:=$(CXXFLAGS) -fvisibility-inlines-hidden -fvisibility=hidden -msse4 | |||
EXE_LINK_OPTIONS:=-m32 | EXE_LINK_OPTIONS:=-m32 | |||
LD_FLAGS+=-m32 -arch i386 | LD_FLAGS+=-m32 -arch i386 | |||
LINK_LIBS+=-liconv | ||||
MATHLIB=$(ROOT)/extern/libtommath/.libs/libtommath.a | ||||
SO_LINK_LIBS+=-liconv | ||||
include $(ROOT)/gen/darwin.defaults | include $(ROOT)/gen/darwin.defaults | |||
End of changes. 5 change blocks. | ||||
15 lines changed or deleted | 20 lines changed or added |