1
# The contents of this file are subject to the Interbase Public
2
# License Version 1.0 (the "License"); you may not use this file
3
# except in compliance with the License. You may obtain a copy
4
# of the License at http://www.Inprise.com/IPL.html
6
# Software distributed under the License is distributed on an
7
# "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
8
# or implied. See the License for the specific language governing
9
# rights and limitations under the License.
11
# The Original Code was created by Inprise Corporation
12
# and its predecessors. Portions created by Inprise Corporation are
14
# Copyright (C) 2000 Inprise Corporation
15
# All Rights Reserved.
16
# Contributor(s): ______________________________________.
17
# Start of file prefix.darwin: $(VERSION) @PLATFORM@
18
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
20
DYLD_LIBRARY_PATH=$(FIREBIRD)/lib
21
export DYLD_LIBRARY_PATH
23
MACOSX_DEPLOYMENT_TARGET=10.2
24
export MACOSX_DEPLOYMENT_TARGET
26
OS_ServerFiles=inet_server.cpp
28
PROD_FLAGS=-O3 -DNDEBUG -DDARWIN -pipe -p -MMD -fPIC -fno-common -arch ppc -mmacosx-version-min=10.2
29
DEV_FLAGS=-ggdb -DDARWIN -pipe -p -MMD -fPIC -fno-common -Wall -arch ppc -mmacosx-version-min=10.2
30
EMBED_UTIL_TARGETS=gstat gds_drop gds_relay gsec nbackup fb_lock_print fbsvcmgr
31
CLIENT_UTIL_TARGETS=gds_drop gds_relay gstat gsec fbguard fbmgr_bin nbackup fb_lock_print fbsvcmgr
33
Physical_IO_Module=os/posix/unix.cpp
34
PLATFORM_PATH=os/darwin
37
LIB_BUNDLE_OPTIONS:=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress
38
LIB_LINK_OPTIONS:=$(LD_FLAGS) -dynamiclib -flat_namespace
39
LIB_LINK_SONAME:=-current_version 2.1.0 -compatibility_version 2.1.0 -seg1addr 0x30000000
40
LIB_LINK_MAPFILE:=-Wl,-exported_symbols_list,
41
LINK_FIREBIRD_EMBED_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.embed.vers
42
LINK_FIREBIRD_CLIENT_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.client.vers
43
LINK_FBINTL_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.darwin.vers
45
LIB_LINK_RPATH:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Libraries/
46
LIB_EMBED_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
47
LIB_CLIENT_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
48
FBEMBED_LINK:=-F../gen/firebird -framework Firebird -L$(LIB) -lfbembed
49
PLATFORM_FALLBACK=os/posix
50
PLAT_CLASSIC_PRE_TARGET=darwin_setup_framework
51
PLAT_CLASSIC_POST_TARGET=darwin_finish_cs_framework
53
PLAT_SUPER_PRE_TARGET=darwin_setup_framework
54
PLAT_SUPER_POST_TRAGET=darwin_finish_ss_framework
56
PLATFORM_POSTBUILD_TARGET=darwin_postbuild_target