version 1.6, 2002/09/24 23:50:32
|
version 1.15, 2003/03/19 19:02:33
|
|
|
include $(ROOT)/mak/config-unix.mak | include $(ROOT)/mak/config-unix.mak |
| |
|
MAJOR_VERSION_NUMBER = 1 |
|
|
OS = linux | OS = linux |
| |
ARCHITECTURE = IA64 | ARCHITECTURE = IA64 |
|
|
| |
SYS_INCLUDES = -I/usr/include/g++-3 | SYS_INCLUDES = -I/usr/include/g++-3 |
| |
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) |
PLATFORM_VERSION_SUPPORTED = yes |
|
|
|
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_REMOVE_DEPRECATED |
|
|
|
DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS |
|
|
|
DEFINES += -DPEGASUS_USE_SYSLOGS |
| |
# | # |
## The following flags need to be set or unset | ## The following flags need to be set or unset |
|
|
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE | DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
endif | endif |
| |
|
## |
|
## The following flag sets the Authentication to be PAM based authentication. |
|
## |
|
|
|
ifdef PEGASUS_ALWAYS_USE_PAM |
|
DEFINES += -DPEGASUS_ALWAYS_USE_PAM |
|
endif |
|
|
|
## |
|
## The following flag needs to be set to compile in code for |
|
## not listing the trace configuration properties. This will cause |
|
## the trace configuration properties, traceComponents and traceLevel |
|
## not to be listed when using the cimconfig -l command. |
|
## |
|
DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES |
|
|
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT | FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
else | else |
|
|
endif | endif |
| |
FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU | FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
|
|
ifdef PEGASUS_NO_SLP |
FLAGS += -DPEGASUS_NO_SLP | FLAGS += -DPEGASUS_NO_SLP |
NO_SLP = true | NO_SLP = true |
|
endif |
| |
#FLAGS += -DPEGASUS_HAS_SSL |
|
#SYS_LIBS = -ldl -lpthread -lcrypt -lssl |
|
SYS_LIBS = -ldl -lpthread -lcrypt | SYS_LIBS = -ldl -lpthread -lcrypt |
| |
|
ifdef PEGASUS_HAS_SSL |
|
FLAGS += -DPEGASUS_HAS_SSL |
|
SYS_LIBS += -lssl |
|
endif |
|
|
|
# Build using fixed release settings |
|
# |
|
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
endif |
|
ifdef PEGASUS_USE_RELEASE_DIRS |
|
FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
|
endif |
|
|
# PAM support | # PAM support |
ifdef PEGASUS_PAM_AUTHENTICATION | ifdef PEGASUS_PAM_AUTHENTICATION |
ifeq ($(HPUX_IA64_VERSION), yes) | ifeq ($(HPUX_IA64_VERSION), yes) |
|
|
endif | endif |
endif | endif |
| |
|
ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
|
FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET |
|
endif |
|
|
CXX = g++ | CXX = g++ |
| |
SH = sh | SH = sh |
|
|
| |
MOVE = mv | MOVE = mv |
| |
LIB_SUFFIX = .so |
|
|
|
PEGASUS_SUPPORTS_DYNLIB = yes | PEGASUS_SUPPORTS_DYNLIB = yes |
| |
|
LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) |
|
|