version 1.21.2.1, 2006/02/10 16:09:05
|
version 1.30.8.2, 2007/10/31 08:24:42
|
|
|
| |
COMPILER = ibm | COMPILER = ibm |
| |
#SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS |
SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include -I$(ROOT)/src/StandardIncludes/zOS |
SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include |
#SYS_INCLUDES = -I/usr/lpp/tcpip/include -I/usr/lpp/ioclib/include |
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D_OPEN_SOURCE=3 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF |
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -D _OPEN_SYS_DIR_EXT -D _OPEN_SYS_FILE_EXT -D_ALL_SOURCE -D_UNIX03_SOURCE -D_OPEN_THREADS=2 -D_OPEN_SYS_SOCK_IPV6 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF |
|
|
|
DEFINES += -DPEGASUS_USE_SYSLOGS |
| |
ifdef PEGASUS_KERBEROS_AUTHENTICATION | ifdef PEGASUS_KERBEROS_AUTHENTICATION |
DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION | DEFINES += -DPEGASUS_KERBEROS_AUTHENTICATION |
endif | endif |
| |
| |
DEPEND_DEFINES = -D__IBMCPP__=400 |
|
| |
ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS | ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS |
FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff" | FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff" |
|
|
PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO" | PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO" |
endif | endif |
| |
|
ifdef PEGASUS_GENERATE_LISTINGS |
|
FLAGS += -W"c,LIST,XREF" |
|
PR_FLAGS += -W"c,LIST,XREF" -W"l,MAP,LIST" |
|
endif |
|
|
|
|
|
PEGASUS_ZOS_BUILD_DATE := $(shell date '+%Y%m%d+') |
|
|
|
ifdef PEGASUS_ZOS_SERVICE_STRING |
|
FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))" |
|
PR_FLAGS += -W "c,SERVICE($(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE))" |
|
DEFINES += -DPEGASUS_ZOS_SERVICE_STRING=\"$(PEGASUS_ZOS_SERVICE_STRING)$(PEGASUS_ZOS_BUILD_DATE)\" |
|
else |
|
FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))" |
|
PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))" |
|
endif |
|
|
|
|
ifdef PEGASUS_ZOS_SECURITY | ifdef PEGASUS_ZOS_SECURITY |
DEFINES += -DPEGASUS_ZOS_SECURITY | DEFINES += -DPEGASUS_ZOS_SECURITY |
endif | endif |
|
|
DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY | DEFINES += -DPEGASUS_ZOS_THREADLEVEL_SECURITY |
endif | endif |
| |
#ifdef PEGASUS_ZOS_USE_LONG_ARRAYS |
|
DEFINES += -DPEGASUS_ZOS_USE_LONG_ARRAYS |
|
#endif |
|
| |
# if PEGASUS_ENABLE_SLP is already set then honor the users preference else | # if PEGASUS_ENABLE_SLP is already set then honor the users preference else |
# Enable the compilation of the SLP functions. | # Enable the compilation of the SLP functions. |
|
|
PEGASUS_ENABLE_SLP = true | PEGASUS_ENABLE_SLP = true |
endif | endif |
| |
# Local domain sockets, or an equivalent, is not currently supported on z/OS. Bug 2147 |
|
PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1 |
|
|
|
SYS_LIBS = | SYS_LIBS = |
| |
CXX = c++ -+ | CXX = c++ -+ |
| |
CC = cc |
CC = cc -W "c,SSCOMM" |
| |
SH = sh | SH = sh |
| |
|
|
| |
MOVE = mv | MOVE = mv |
| |
|
ZIP = zip |
|
|
LIB_SUFFIX = .so | LIB_SUFFIX = .so |
| |
PEGASUS_SUPPORTS_DYNLIB = yes | PEGASUS_SUPPORTS_DYNLIB = yes |