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
|
2002-07-29 17:04:06 +02:00
|
|
|
|
2007-03-09 11:32:58 +01:00
|
|
|
DYLD_LIBRARY_PATH=$(FIREBIRD)/lib
|
|
|
|
export DYLD_LIBRARY_PATH
|
2006-04-18 12:12:27 +02:00
|
|
|
|
2007-12-19 14:25:49 +01:00
|
|
|
MACOSX_DEPLOYMENT_TARGET=10.4
|
|
|
|
export MACOSX_DEPLOYMENT_TARGET
|
|
|
|
|
2007-03-09 11:32:58 +01:00
|
|
|
OS_ServerFiles=inet_server.cpp
|
2006-04-18 12:12:27 +02:00
|
|
|
|
2007-12-19 14:25:49 +01:00
|
|
|
PROD_FLAGS=-O3 -DNDEBUG -DDARWIN -pipe -p -MMD -fPIC -fno-common -arch i386 -mmacosx-version-min=10.4
|
|
|
|
DEV_FLAGS=-ggdb -DDARWIN -pipe -p -MMD -fPIC -fno-common -Wall -arch i386 -mmacosx-version-min=10.4
|
2008-05-05 11:27:49 +02:00
|
|
|
EMBED_UTIL_TARGETS=gstat gds_drop gds_relay gsec fbguard nbackup fb_lock_print fbsvcmgr
|
2008-01-17 13:09:39 +01:00
|
|
|
CLIENT_UTIL_TARGETS=gds_drop gds_relay gstat gsec fbguard fbmgr_bin nbackup fb_lock_print fbsvcmgr
|
2003-02-11 06:13:36 +01:00
|
|
|
|
2003-07-14 13:23:04 +02:00
|
|
|
Physical_IO_Module=os/posix/unix.cpp
|
2007-03-09 11:32:58 +01:00
|
|
|
PLATFORM_PATH=os/darwin
|
|
|
|
|
2007-12-19 14:25:49 +01:00
|
|
|
LINK_OPTS:=
|
2008-02-29 16:23:17 +01:00
|
|
|
LD_FLAGS+=-isysroot /Developer/SDKs/MacOSX10.4u.sdk
|
2007-03-09 11:32:58 +01:00
|
|
|
LIB_BUNDLE_OPTIONS:=$(LD_FLAGS) -bundle -flat_namespace -undefined suppress
|
2007-06-11 16:21:33 +02:00
|
|
|
LIB_LINK_OPTIONS:=$(LD_FLAGS) -dynamiclib -flat_namespace
|
2008-05-23 13:03:58 +02:00
|
|
|
LIB_LINK_SONAME:=-current_version @FIREBIRD_VERSION@ -compatibility_version @FIREBIRD_VERSION@ -seg1addr 0x30000000
|
2007-06-11 16:21:33 +02:00
|
|
|
LIB_LINK_MAPFILE:=-Wl,-exported_symbols_list,
|
|
|
|
LINK_FIREBIRD_EMBED_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.embed.vers
|
|
|
|
LINK_FIREBIRD_CLIENT_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/firebird.darwin.client.vers
|
2008-01-17 13:09:39 +01:00
|
|
|
LINK_FBINTL_SYMBOLS=$(LIB_LINK_MAPFILE)$(ROOT)/builds/posix/fbintl.darwin.vers
|
2007-03-09 11:32:58 +01:00
|
|
|
|
2008-01-17 13:09:39 +01:00
|
|
|
LIB_LINK_RPATH:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Libraries/
|
2007-12-07 13:19:37 +01:00
|
|
|
LIB_EMBED_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
|
|
|
|
LIB_CLIENT_LINK_OPTIONS:=-install_name /Library/Frameworks/Firebird.framework/Versions/A/Firebird
|
2008-07-12 23:23:42 +02:00
|
|
|
FBEMBED_LINK:=-F../gen/firebird -framework Firebird -L$(LIB) -lfbembed
|
2007-12-07 13:19:37 +01:00
|
|
|
PLATFORM_FALLBACK=os/posix
|
2007-03-09 11:32:58 +01:00
|
|
|
PLAT_CLASSIC_PRE_TARGET=darwin_setup_framework
|
|
|
|
PLAT_CLASSIC_POST_TARGET=darwin_finish_cs_framework
|
|
|
|
|
2007-06-11 16:21:33 +02:00
|
|
|
PLAT_SUPER_PRE_TARGET=darwin_setup_framework
|
|
|
|
PLAT_SUPER_POST_TRAGET=darwin_finish_ss_framework
|
2007-03-09 11:32:58 +01:00
|
|
|
|
|
|
|
PLATFORM_POSTBUILD_TARGET=darwin_postbuild_target
|