2003-06-20 19:55:31 +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) Inprise Corporation.
|
|
|
|
#
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): __Konstantin Kuznetsov___________________________________.
|
2004-05-13 16:05:00 +02:00
|
|
|
# This file can be used to build FB on Solaris 2.6 x 86 with gcc 3.3.3 and bash
|
2003-06-20 19:55:31 +02:00
|
|
|
#
|
|
|
|
# Use SOLX86 to identify x86 version of Solaris. Neil McCalden
|
|
|
|
#
|
|
|
|
# Start of file prefix.solaris X 86 : $(VERSION) $(PLATFORM)
|
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
|
|
|
|
2004-05-13 16:05:00 +02:00
|
|
|
WARNINGS=-Wall -W -Wno-unused -Wno-parentheses -Wno-switch -Wwrite-strings
|
2007-08-31 12:48:09 +02:00
|
|
|
COMM_SOLX_FLAGS:=-DSOLARIS -DSOLARIS_MT -DSOLX86 -DBSD_COMP -fno-omit-frame-pointer -fmessage-length=0 -MMD -fPIC
|
2003-06-20 19:55:31 +02:00
|
|
|
|
|
|
|
SFIO=@SFIO_DIR@
|
|
|
|
SFIO_FLAGS=@SFIO_FLAGS@
|
|
|
|
SFIO_LDFLAGS=@SFIO_LDFLAGS@
|
|
|
|
|
|
|
|
ifdef SFIO
|
|
|
|
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) $(SFIO_FLAGS) $(SFIO_LDFLAGS)
|
|
|
|
endif
|
|
|
|
|
2007-08-31 12:48:09 +02:00
|
|
|
PROD_FLAGS=-DNDEBUG -w $(COMM_SOLX_FLAGS) -O2 -march=pentium
|
2004-05-24 13:23:41 +02:00
|
|
|
DEV_FLAGS=$(COMM_SOLX_FLAGS) -ggdb -g3 -p $(WARNINGS)
|
2003-06-20 19:55:31 +02:00
|
|
|
|
|
|
|
OS_ServerFiles=inet_server.cpp
|
|
|
|
|
2005-03-01 16:49:10 +01:00
|
|
|
GPRECOMMON_Files= ../jrd/ThreadData.cpp ../jrd/isc_sync.cpp
|
2003-06-20 19:55:31 +02:00
|
|
|
GPRECommon_Sources= $(GPRECOMMON_Files)
|
2005-07-29 11:24:46 +02:00
|
|
|
|
2005-08-10 06:42:23 +02:00
|
|
|
JRDBOOT_Extra_Files= isc_sync.cpp
|
2005-07-29 11:24:46 +02:00
|
|
|
|
2004-09-09 13:32:54 +02:00
|
|
|
GFIX_Other_Sources= jrd/isc_sync.cpp jrd/os/posix/isc_ipc.cpp
|
2005-03-01 16:49:10 +01:00
|
|
|
DROP_Other_Sources= jrd/ThreadData.cpp
|
|
|
|
LOCKPRINT_Other_Sources= jrd/ThreadData.cpp
|
2004-09-15 10:35:12 +02:00
|
|
|
Server_main_dummy = os/sun/server_main_dummy.cpp
|
2004-09-09 13:32:54 +02:00
|
|
|
|
2003-06-20 19:55:31 +02:00
|
|
|
LIB_LINK_OPTIONS:= -G
|
|
|
|
LIB_LINK_RPATH:=-R
|
|
|
|
LIB_LINK_SONAME:=-h
|
2004-05-20 11:55:36 +02:00
|
|
|
LIB_LINK_MAPFILE= -Xlinker -M
|
|
|
|
|
2008-05-05 11:27:49 +02:00
|
|
|
EMBED_UTIL_TARGETS=gstat gds_drop gsec fbguard nbackup fb_lock_print fbsvcmgr
|
2007-08-31 12:48:09 +02:00
|
|
|
CLIENT_UTIL_TARGETS=gds_drop gstat gsec fbguard fbmgr_bin nbackup fb_lock_print fbsvcmgr
|
2003-06-20 19:55:31 +02:00
|
|
|
|
2003-07-14 13:23:04 +02:00
|
|
|
Physical_IO_Module=os/posix/unix.cpp
|
2007-08-13 14:00:32 +02:00
|
|
|
|
2007-08-14 13:06:36 +02:00
|
|
|
UNDEF_PLATFORM = -Wl,-z,defs
|