poco/build/config/SunOS

70 lines
1.4 KiB
Plaintext
Raw Normal View History

2006-07-11 18:33:40 +02:00
#
2006-08-29 09:10:35 +02:00
# $Id: //poco/1.2/build/config/SunOS#1 $
2006-07-11 18:33:40 +02:00
#
# SunOS
#
# Build settings for SunOS 5.9/Forte C++ 5.4
#
#
# General Settings
#
LINKMODE = SHARED
#
# Tools
#
CC = cc
CXX = CC
2006-08-29 09:10:35 +02:00
LINK = $(CXX)
LIB = $(CXX) -xar -o $@
2006-07-11 18:33:40 +02:00
RANLIB = ranlib
2006-08-29 09:10:35 +02:00
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
2006-07-11 18:33:40 +02:00
SHLIBLN = $(POCO_BASE)/build/script/shlibln
DEP = $(POCO_BASE)/build/script/makedepend.SunCC
SHELL = sh
RM = rm -rf
CP = cp
MKDIR = mkdir -p
#
# Extension for Shared Libraries
#
SHAREDLIBEXT = .so.$(target_version)
SHAREDLIBLINKEXT = .so
#
# Compiler and Linker Flags
#
CFLAGS = -mt -Isrc
CFLAGS32 =
CFLAGS64 = -xarch=v9
CXXFLAGS = -mt -library=stlport4
CXXFLAGS32 =
CXXFLAGS64 = -xarch=v9
LINKFLAGS = -mt -library=stlport4
LINKFLAGS32 =
LINKFLAGS64 = -xarch=v9
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Bstatic
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK = -Bdynamic
DEBUGOPT_CC = -g -xs -xcheck -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_CXX = -g -xs -xcheck -D_DEBUG=$(DEBUGLEVEL)
DEBUGOPT_LINK = -g -xs -xcheck
RELEASEOPT_CC = -O -DNDEBUG
RELEASEOPT_CXX = -O -DNDEBUG
RELEASEOPT_LINK =
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
#
# System Specific Libraries
#
SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl