mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:43:03 +01:00
775e23b43b
2. Cleaned up most of platform-specific additions - most opf them are not needed any more, still causing troubles when porting. It will be better to re-add that which are really needed. 3. Do not build gds_drop utility on platforms where not needed.
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
#
|
|
# Compiler settings for Solaris (Sparc)
|
|
#
|
|
# This file is processed by configure and the output written to
|
|
# gen/make.platform which is included in src directory makefiles
|
|
# before other common make files ie: make.[rules|defaults|shared.variables]
|
|
#
|
|
|
|
# 30-Dec-2002 nmcc FB2 initial working build on Solaris8 with gcc 3.2.1
|
|
# 18-apr-2005 kkuznetsov FB2 Solaris 32 bits update (only gcc) as Ray Holme story talks
|
|
# Firebird defines specific to Solaris (and x86) build
|
|
CFLAGS_COMMON= -DSOLARIS -DSOLARIS_MT -DBSD_COMP -Dsparc
|
|
|
|
# compile flags for GCC compiler
|
|
COMMON_GCC_FLAGS= -MMD -fPIC -m32
|
|
|
|
DEBUG_GCC_FLAGS= -ggdb -g3 -Wall -Wno-switch -Wcast-align
|
|
PROD_GCC_FLAGS= -mcpu=ultrasparc -mtune=ultrasparc -O2 -DNDEBUG
|
|
|
|
|
|
# compile flags for SUNWspro/Forte compiler - untested nmcc dec2002
|
|
COMMON_FORTE_FLAGS= -Xt -xstrconst -mt -K PIC
|
|
DEBUG_FORTE_FLAGS= -v -g
|
|
PROD_FORTE_FLAGS= -O2 -w
|
|
|
|
|
|
#these come from configure --with-sfio=/path/to/sfio
|
|
SFIO_DIR=@SFIO_DIR@
|
|
SFIO_FLAGS=@SFIO_FLAGS@
|
|
SFIO_LDFLAGS=@SFIO_LDFLAGS@
|
|
|
|
PROD_FLAGS= $(CFLAGS_COMMON) $(SFIO_FLAGS) $(COMMON_GCC_FLAGS) $(PROD_GCC_FLAGS) \
|
|
$(LOCAL_CFLAGS)
|
|
|
|
DEV_FLAGS= $(CFLAGS_COMMON) $(SFIO_FLAGS) $(COMMON_GCC_FLAGS) $(DEBUG_GCC_FLAGS) \
|
|
$(LOCAL_CFLAGS)
|
|
|
|
|
|
LOCKPRINT_Other_Sources= jrd/ThreadData.cpp
|
|
Server_main_dummy = os/sun/server_main_dummy.cpp
|
|
OS_ServerFiles=inet_server.cpp
|
|
|
|
LIB_LINK_OPTIONS= -G
|
|
LIB_PLATFORM_RPATH=-R $(1)
|
|
LIB_LINK_SONAME=-h $(1)
|
|
LIB_LINK_MAPFILE= -Xlinker -M
|
|
EMBED_UTIL_TARGETS=gstat gsec fbguard nbackup fb_lock_print
|
|
CLIENT_UTIL_TARGETS=gstat gsec fbguard fbmgr_bin nbackup fb_lock_print
|
|
|
|
Physical_IO_Module=os/posix/unix.cpp
|
|
|
|
LD=g++
|
|
LDFLAGS=-m32
|
|
LINK_OPTS:=$(LDFLAGS)
|