mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-10 10:57:10 +02:00
bin
module
vendor
ConcurrentQueue
Fmt
MaxmindDB
POCO
ApacheConnector
CppParser
CppUnit
Crypto
Data
Encodings
Foundation
JSON
JWT
MongoDB
Net
NetSSL_OpenSSL
NetSSL_Win
PDF
PageCompiler
PocoDoc
ProGen
Redis
SevenZip
Util
XML
Zip
appveyor
build
config
AIX
ARM-Linux
Alpine
Android
Angstrom
AppleTV
AppleTVSimulator
BeagleBoard
CEGCCARM
CygLinux
Cygwin
Darwin
Darwin-clang
Darwin-clang-libc++
Darwin32
Darwin32-clang
Darwin32-clang-libc++
Darwin64
Darwin64-clang
Darwin64-clang-libc++
DigiEL
ELDK
FreeBSD
FreeBSD-Linux-compat
GCCEMBEDLINUX
HP-UX
Linux
Linux-SolarisStudio
Linux-clang
MinGW
MinGW-CrossEnv
NIOS2-Linux
OSF1
OpenPandora
PPC-Linux
QNX
SH-Linux
SSV-LINUX
SmartOS-gcc
SunOS
SunOS-GCC
SunOS-SunForte
SunOS-SunStudio
SunOS-SunStudio11
SunOS-stdcxx-x86_64
WatchOS
WatchSimulator
Yocto
iPhone
iPhone-clang
iPhone-clang-libc++
iPhoneSimulator
iPhoneSimulator-clang
iPhoneSimulator-clang-libc++
rules
script
cmake
contrib
doc
packaging
patches
release
travis
.gitattributes
.gitignore
.gitmodules
.travis.yml
CHANGELOG
CMakeLists.txt
CODE_OF_CONDUCT.md
CONTRIBUTING.md
CONTRIBUTORS
LICENSE
Makefile
NEWS
README
README.md
VERSION
appveyor.yml
build_cmake.cmd
build_cmake.sh
build_vs140.cmd
build_vs150.cmd
build_vs160.cmd
buildwin.cmd
buildwin.ps1
components
configure
cppignore.lnx
cppignore.win
env.bat
env.sh
libversion
SimpleIni
Squirrel
TinyDir
ZMQ
CMakeLists.txt
.gitignore
.gitmodules
CMakeLists.txt
LICENSE
README.md
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
#
|
|
# Solaris 8
|
|
# SunStudio 11 - Sun C/C++ 5.8
|
|
#
|
|
# Build settings for SunOS/Sun Studio C++
|
|
#
|
|
|
|
#
|
|
# General Settings
|
|
#
|
|
LINKMODE ?= BOTH
|
|
OSARCH_64BITS=1
|
|
#
|
|
# Tools
|
|
#
|
|
CC = cc
|
|
CXX = CC
|
|
LINK = libtool --mode=link $(CXX)
|
|
LIB = ar cru
|
|
RANLIB = ranlib
|
|
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
|
|
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
|
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 = -xarch=v8plus
|
|
CFLAGS64 = -xarch=v9
|
|
CXXFLAGS = -mt -library=stlport4 -erroff=hidevf
|
|
CXXFLAGS32 = -xarch=v8plus
|
|
CXXFLAGS64 = -xarch=v9
|
|
LINKFLAGS = -mt -library=stlport4
|
|
LINKFLAGS32 = -xarch=v8plus
|
|
LINKFLAGS64 = -xarch=v9
|
|
STATICOPT_CC =
|
|
STATICOPT_CXX =
|
|
STATICOPT_LINK =
|
|
SHAREDOPT_CC = -KPIC
|
|
SHAREDOPT_CXX = -KPIC
|
|
SHAREDOPT_LINK =
|
|
DEBUGOPT_CC = -g -D_DEBUG=$(DEBUGLEVEL)
|
|
DEBUGOPT_CXX = -g -D_DEBUG=$(DEBUGLEVEL)
|
|
DEBUGOPT_LINK = -g
|
|
RELEASEOPT_CC = -xO5 -DNDEBUG
|
|
RELEASEOPT_CXX = -xO5 -DNDEBUG
|
|
RELEASEOPT_LINK = -xO5
|
|
|
|
#
|
|
# System Specific Flags
|
|
#
|
|
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS
|
|
|
|
#
|
|
# System Specific Libraries
|
|
#
|
|
SYSLIBS = -lpthread -lrt -lxnet -lsocket -lnsl -lresolv -ldl
|