version 1.21, 2005/12/21 13:14:45
|
version 1.30.8.5, 2008/02/14 14:31:39
|
|
|
#//%2005//////////////////////////////////////////////////////////////////////// |
#//%2006//////////////////////////////////////////////////////////////////////// |
#// | #// |
#// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | #// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
#// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | #// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
#// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | #// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
#// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; | #// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
#// EMC Corporation; VERITAS Software Corporation; The Open Group. | #// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
#// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
#// EMC Corporation; Symantec Corporation; The Open Group. |
#// | #// |
#// Permission is hereby granted, free of charge, to any person obtaining a copy | #// Permission is hereby granted, free of charge, to any person obtaining a copy |
#// of this software and associated documentation files (the "Software"), to | #// of this software and associated documentation files (the "Software"), to |
|
|
| |
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_IF_EXT -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,newexcp),rtti(dynamiccast),float(ieee),goff" |
PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll" |
PR_FLAGS = -W "c,debug,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll" |
|
else |
|
FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),float(ieee),goff" |
|
PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended,newexcp),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO" |
|
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 | else |
FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),float(ieee),goff" |
FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))" |
PR_FLAGS = -O3 -W "c,ASCII,XPLINK,dll,expo,langlvl(extended),rtti(dynamiccast),FLOAT(IEEE),goff" -W "l,XPLINK,dll,EDIT=NO" |
PR_FLAGS += -W "c,SERVICE(NOTVALI--CIM--NOTVALID--XXX--$(PEGASUS_ZOS_BUILD_DATE))" |
|
endif |
|
|
|
# supported values for PEGASUS_ZOS_TARGET_LEVEL are the following: |
|
# zOSV1R7, zOSV1R8, zOSV1R9 |
|
ifdef PEGASUS_ZOS_TARGET_LEVEL |
|
FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))" |
|
PR_FLAGS += -W "c,TARGET($(PEGASUS_ZOS_TARGET_LEVEL))" |
endif | endif |
| |
ifdef PEGASUS_ZOS_SECURITY | ifdef PEGASUS_ZOS_SECURITY |
|
|
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 |