poco/build/config/Linux-SolarisStudio
2015-03-23 23:21:13 +01:00

72 lines
1.3 KiB
Plaintext

#
# $Id$
#
# Linux
#
# Make settings for Linux/SolarisStudio/
#
#
#
# General Settings
#
LINKMODE ?= SHARED
#
# Define Tools
#
CC = cc
CXX = CC
LINK = $(CXX)
LIB = $(CXX) -xar -o $@
RANLIB = ranlib
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = ${CROSS_COMPILE}strip
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
CFLAGS32 =
CFLAGS64 =
CXXFLAGS = -mt -std=c++11 -erroff=hidevf
CXXFLAGS32 =
CXXFLAGS64 =
LINKFLAGS =
LINKFLAGS32 =
LINKFLAGS64 =
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK = -Bstatic
SHAREDOPT_CC = -KPIC
SHAREDOPT_CXX = -KPIC
SHAREDOPT_LINK = -Bdynamic
DEBUGOPT_CC = -g -D_DEBUG
DEBUGOPT_CXX = -g -D_DEBUG
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -xO5 -DNDEBUG
RELEASEOPT_CXX = -xO5 -DNDEBUG
RELEASEOPT_LINK = -xO5
#
# System Specific Flags
#
SYSFLAGS = -DPOCO_NO_GCC_API_ATTRIBUTE -DPOCO_NO_FPENVIRONMENT -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lrt