diff --git a/builds/posix/prefix.linux_amd64 b/builds/posix/prefix.linux_amd64 new file mode 100644 index 0000000000..f67af3aa01 --- /dev/null +++ b/builds/posix/prefix.linux_amd64 @@ -0,0 +1,34 @@ +# 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): ______________________________________. +# Start of file prefix.linux: $(VERSION) $(PLATFORM) +#$Id: prefix.linux_amd64,v 1.1 2004-01-12 04:57:45 skidder Exp $ +# 2 Oct 2002, Nickolay Samofatov - Major cleanup + +PROD_FLAGS=-ggdb -O3 -fno-omit-frame-pointer -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 +# uncomment if you need PROD_BUILD engine that is possible to debug +#PROD_FLAGS=-ggdb -O3 -march=i586 -mcpu=i686 -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 +DEV_FLAGS=-ggdb -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 + +OS_ServerFiles=inet_server.cpp + +LIB_LINK_OPTIONS:=-shared +LIB_LINK_RPATH:=-Wl,-rpath, +LIB_LINK_SONAME:=-Wl,-soname, +EMBED_UTIL_TARGETS=gstat gds_drop gds_relay gsec nbackup fb_lock_print +CLIENT_UTIL_TARGETS=gds_drop gds_relay gstat gsec fbguard fbmgr_bin nbackup fb_lock_print + +Physical_IO_Module=os/posix/unix.cpp diff --git a/configure.in b/configure.in index a3bef8894b..9689b826f2 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.189 2004-01-07 00:31:32 brodsom Exp $ +dnl $Id: configure.in,v 1.190 2004-01-12 04:58:09 skidder Exp $ dnl ############################# INITIALISATION ############################### @@ -29,6 +29,7 @@ dnl EDITLINE_FLG : support fancy command line editing in isql dnl SHRLIB_EXT : suffix of shared library files RAW_DEVICES_FLG=Y +INSTALL_PREFIX="" case "$target" in *-*-darwin*) MAKEFILE_PREFIX=darwin @@ -48,8 +49,19 @@ case "$target" in SHRLIB_EXT=so ;; + x86_64*-*-linux-*) + MAKEFILE_PREFIX=linux_amd64 + INSTALL_PREFIX=linux + PLATFORM=LINUX + AC_DEFINE(LINUX, 1, [Define this if OS is Linux]) + LOCK_MANAGER_FLG=Y + EDITLINE_FLG=Y + SHRLIB_EXT=so + ;; + sparc*-*-linux-*) MAKEFILE_PREFIX=linux_sparc32 + INSTALL_PREFIX=linux PLATFORM=LINUX AC_DEFINE(LINUX, 1, [Define this if OS is Linux]) LOCK_MANAGER_FLG=Y @@ -126,6 +138,10 @@ case "$target" in ;; esac +if test "$INSTALL_PREFIX" = ""; then + INSTALL_PREFIX=$MAKEFILE_PREFIX +fi + AC_SUBST(MAKEFILE_PREFIX) AC_SUBST(PLATFORM) AC_SUBST(SHRLIB_EXT) @@ -837,7 +853,7 @@ gen/Makefile.embed.isql:${MAKE_SRC_DIR}/Makefile.in.embed.isql gen/Makefile.embed.gdef:${MAKE_SRC_DIR}/Makefile.in.embed.gdef gen/Makefile.embed.qli:${MAKE_SRC_DIR}/Makefile.in.embed.qli gen/Makefile.embed.gpre:${MAKE_SRC_DIR}/Makefile.in.embed.gpre -gen/Makefile.install:builds/install/arch-specific/${MAKEFILE_PREFIX}/Makefile.in +gen/Makefile.install:builds/install/arch-specific/${INSTALL_PREFIX}/Makefile.in Makefile:Makefile.in gen/Makefile.extern.editline:${MAKE_SRC_DIR}/Makefile.in.extern.editline )