1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 16:57:16 +01:00
SqMod/vendor/POCO/build/config/AIX
Sandu Liviu Catalin 4a6bfc086c Major plugin refactor and cleanup.
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.
2021-01-30 08:51:39 +02:00

73 lines
1.5 KiB
Plaintext

#
# AIX
#
# Make settings for AIX 5.x/xlC 8.0
#
#
#
# General Settings
#
LINKMODE ?= SHARED
#
# Define Tools
#
CC = xlc_r
CXX = xlC_r
LINK = $(CXX)
LIB = ar -cr -X32_64
RANLIB = ranlib
SHLIB = $(CXX) -qmkshrobj -o $@
SHLIBLN = $(POCO_BASE)/build/script/shlibln
STRIP = strip -X32_64
DEP = $(POCO_BASE)/build/script/makedepend.xlC
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 = -qobjmodel=compat -qfuncsect
CFLAGS32 = -q32
CFLAGS64 = -q64
CXXFLAGS = -qrtti=all -qobjmodel=compat -qnamemangling=v5 -qfuncsect
CXXFLAGS32 = -q32
CXXFLAGS64 = -q64
SHLIBFLAGS = -qtwolink -bh:5 -bnoipath -blibpath:/usr/lib:/lib -blibsuff:so -bautoexp -bnoentry -bM:SRE
SHLIBFLAGS32 = -q32
SHLIBFLAGS64 = -q64
LINKFLAGS = -qtwolink -bh:5 -bnoipath -blibpath:/usr/lib:/lib -blibsuff:so -brtl
LINKFLAGS32 = -q32
LINKFLAGS64 = -q64
STATICOPT_CC =
STATICOPT_CXX =
STATICOPT_LINK =
SHAREDOPT_CC = -qpic
SHAREDOPT_CXX = -qpic
SHAREDOPT_LINK =
DEBUGOPT_CC = -g -D_DEBUG -qfullpath
DEBUGOPT_CXX = -g -D_DEBUG -qfullpath -qnoinline
DEBUGOPT_LINK = -g
RELEASEOPT_CC = -O2 -DNDEBUG
RELEASEOPT_CXX = -O2 -DNDEBUG -qmaxmem=16384
RELEASEOPT_LINK = -O2
#
# System Specific Flags
#
SYSFLAGS = -D_REENTRANT -D_THREAD_SAFE
#
# System Specific Libraries
#
SYSLIBS = -lpthread -ldl -lC_r -lc_r