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) Inprise Corporation.
|
|
|
|
#
|
|
|
|
# All Rights Reserved.
|
|
|
|
# Contributor(s): __Konstantin Kuznetsov___________________________________.
|
2003-08-08 08:29:52 +02:00
|
|
|
# This file can be used to build FB on Solaris 2.6 x 86 with SUN CC 6u2
|
|
|
|
# and bash
|
2002-07-29 17:04:06 +02:00
|
|
|
#
|
|
|
|
# Use SOLX86 to identify x86 version of Solaris. Neil McCalden
|
|
|
|
#
|
|
|
|
# Start of file prefix.solaris X 86 : $(VERSION) $(PLATFORM)
|
2002-10-04 23:57:21 +02:00
|
|
|
# 2 Oct 2002, Nickolay Samofatov - Major Cleanup
|
2002-09-26 11:53:42 +02:00
|
|
|
|
2002-11-01 14:22:35 +01:00
|
|
|
|
2002-12-07 14:50:30 +01:00
|
|
|
#FirebirdInstallPrefix = @prefix@
|
2002-11-01 14:22:35 +01:00
|
|
|
|
2003-06-20 19:55:31 +02:00
|
|
|
WARNINGS=+w2
|
2003-10-27 10:29:33 +01:00
|
|
|
COMM_SOLX_FLAGS:= -DSOLARIS -DSOLARIS26 -DSOLARIS_MT -DSOLX86 -DBSD_COMP -KPIC -features=no%conststrings #,extensions
|
2002-09-26 11:53:42 +02:00
|
|
|
|
2003-02-20 15:41:17 +01:00
|
|
|
#SFIO= /export/home/interbase/SfIO
|
2002-09-26 11:53:42 +02:00
|
|
|
#SfIO is a pretty portable stdIO
|
|
|
|
#from http://www.research.att.com/sw/tools/sfio/
|
2002-09-25 13:20:30 +02:00
|
|
|
|
2003-02-20 15:41:17 +01:00
|
|
|
#SFIO_DIR='/export/home/interbase/SfIO'
|
|
|
|
#SFIO_FLAGS='-DSFIO -I/export/home/interbase/SfIO/include'
|
|
|
|
#SFIO_LDFLAGS='-L/export/home/interbase/SfIO/lib'
|
|
|
|
|
|
|
|
SFIO=@SFIO_DIR@
|
|
|
|
SFIO_FLAGS=@SFIO_FLAGS@
|
|
|
|
SFIO_LDFLAGS=@SFIO_LDFLAGS@
|
2002-09-25 13:20:30 +02:00
|
|
|
|
2003-08-08 08:29:52 +02:00
|
|
|
STLPort=/export/home/kostik/STL/STLport-4.5.3/stlport -library=no%libC
|
2002-09-26 11:53:42 +02:00
|
|
|
|
2002-09-26 15:32:44 +02:00
|
|
|
|
2002-09-25 13:20:30 +02:00
|
|
|
ifdef SFIO
|
2003-02-20 15:41:17 +01:00
|
|
|
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) $(SFIO_FLAGS) $(SFIO_LDFLAGS)
|
2002-09-25 13:20:30 +02:00
|
|
|
endif
|
2002-07-29 17:04:06 +02:00
|
|
|
|
2003-06-20 19:55:31 +02:00
|
|
|
COMM_SOLX_FLAGS:= $(COMM_SOLX_FLAGS) -I$(STLPort) -KPIC -pentium
|
2002-07-29 17:04:06 +02:00
|
|
|
|
2003-06-20 19:55:31 +02:00
|
|
|
PROD_FLAGS=-DNDEBUG +w $(COMM_SOLX_FLAGS) -O2
|
|
|
|
DEV_FLAGS=$(COMM_SOLX_FLAGS) -g $(WARNINGS)
|
2002-11-01 14:22:35 +01:00
|
|
|
|
2003-03-05 16:42:28 +01:00
|
|
|
OS_ServerFiles=inet_server.cpp
|
|
|
|
|
2002-11-01 14:22:35 +01:00
|
|
|
#still ugly hack - becouse can not move it to configure.in
|
2005-03-01 16:49:10 +01:00
|
|
|
GPRECOMMON_Files= ../jrd/ThreadData.cpp ../jrd/isc_sync.cpp
|
2002-11-21 11:08:42 +01:00
|
|
|
GPRECommon_Sources= $(GPRECOMMON_Files)
|
2002-12-05 17:15:05 +01:00
|
|
|
LIB_LINK_OPTIONS:= -G
|
|
|
|
LIB_LINK_RPATH:=-R
|
|
|
|
LIB_LINK_SONAME:=-h
|
2002-12-07 14:50:30 +01:00
|
|
|
#LINK_OPTS:= $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/lib $(LIB_LINK_RPATH)$(FirebirdInstallPrefix)/intl
|
2007-04-01 12:34:30 +02:00
|
|
|
EMBED_UTIL_TARGETS=gstat gds_drop gsec nbackup fb_lock_print
|
|
|
|
CLIENT_UTIL_TARGETS=gds_drop gstat gsec fbguard fbmgr_bin nbackup fb_lock_print
|
2003-02-11 06:13:36 +01:00
|
|
|
|
2003-07-14 13:23:04 +02:00
|
|
|
Physical_IO_Module=os/posix/unix.cpp
|