~ubuntu-branches/ubuntu/oneiric/firebird2.1/oneiric

« back to all changes in this revision

Viewing changes to builds/posix/prefix.darwin_i386

  • Committer: Bazaar Package Importer
  • Author(s): Damyan Ivanov
  • Date: 2011-04-22 18:59:44 UTC
  • mfrom: (2.1.24 sid)
  • Revision ID: james.westby@ubuntu.com-20110422185944-egwy9r5xynjddku5
Tags: 2.1.4.18393-0.ds2-2
* apply patch from upstream SVN fixing ICU collations
* remove lintian overrides about manpages shipped in dependency package
* claim compliancy with Policy 3.9.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
# Contributor(s): ______________________________________.
17
17
# Start of file prefix.darwin:  $(VERSION)      @PLATFORM@
18
18
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
 
19
#
 
20
# From MacOSX 10.6 (Snow Leopard), 32bit builds are no longer
 
21
# the default. To build 32bit Firebird on MacOSX 10.6 you 
 
22
# need to do the following.
 
23
#
 
24
# 1. edit configure.in so that MAKEFILE_PREFIX=darwin_i386
 
25
# 2. comment the CPU_TYPE
 
26
# 3. edit extern/icu/source/config/mh-darwin and set the right 32bit flags (-m32 -arch i386)
 
27
# for CFLAGS, CXXFLAGS & LDFLAGS
 
28
# 4. export MACOSX_DEPLOYMENT_TARGET=10.4
 
29
# 5. export CFLAGS='-m32 -arch i386'
 
30
# 6. export CXXFLAGS='-m32 -arch i386'
 
31
# 7. export LDFLAGS='-m32 -arch i386'
 
32
 
19
33
 
20
34
DYLD_LIBRARY_PATH=$(FIREBIRD)/lib
21
35
export DYLD_LIBRARY_PATH
34
48
Physical_IO_Module=os/posix/unix.cpp
35
49
PLATFORM_PATH=os/darwin
36
50
 
37
 
LINK_OPTS:=
38
 
LD_FLAGS+=-isysroot /Developer/SDKs/MacOSX10.4u.sdk
 
51
LINK_OPTS:=-m32 -arch i386
 
52
LD_FLAGS+= -m32 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
39
53
LIB_BUNDLE_OPTIONS:=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress
40
54
LIB_LINK_OPTIONS:=$(LD_FLAGS) -dynamiclib -flat_namespace
41
55
LIB_LINK_SONAME:=-current_version @FIREBIRD_VERSION@ -compatibility_version @FIREBIRD_VERSION@ -seg1addr 0x30000000
44
58
LINK_FIREBIRD_CLIENT_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.client.vers
45
59
LINK_FBINTL_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.darwin.vers
46
60
 
47
 
LIB_LINK_RPATH:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Libraries/
 
61
LIB_LINK_RPATH:=
 
62
LIB_LINK_DYNAMIC:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Libraries/
48
63
LIB_EMBED_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
49
64
LIB_CLIENT_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
50
65
FBEMBED_LINK:=-F../gen/firebird -framework Firebird -L$(LIB) -lfbembed