version 1.14, 2003/03/13 23:18:18
|
version 1.18, 2003/11/15 02:49:54
|
|
|
include $(ROOT)/mak/config-unix.mak |
# Platform Configuration for Linux on IA-64 |
|
# If you have generic Linux config options, please place them in config-linux.mak |
| |
MAJOR_VERSION_NUMBER = 1 |
include $(ROOT)/mak/config-linux.mak |
|
|
OS = linux |
|
| |
ARCHITECTURE = IA64 | ARCHITECTURE = IA64 |
| |
COMPILER = gnu |
|
|
|
SYS_INCLUDES = -I/usr/include/g++-3 |
|
|
|
PLATFORM_VERSION_SUPPORTED = yes |
|
|
|
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) -DPEGASUS_REMOVE_DEPRECATED |
|
|
|
DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS | DEFINES += -DPEGASUS_DISABLE_KILLING_HUNG_THREADS |
|
|
DEFINES += -DPEGASUS_USE_SYSLOGS | DEFINES += -DPEGASUS_USE_SYSLOGS |
| |
# |
|
## The following flags need to be set or unset |
|
## to compile-in the code required for PAM authentication |
|
## and compile-out the code that uses the password file. |
|
## |
|
|
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
|
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 | ## The following flag needs to be set to compile in code for |
## not listing the trace configuration properties. This will cause | ## not listing the trace configuration properties. This will cause |
|
|
## not to be listed when using the cimconfig -l command. | ## not to be listed when using the cimconfig -l command. |
## | ## |
DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES | DEFINES += -DPEGASUS_DONOT_LIST_TRACE_PROPERTIES |
|
|
ifdef PEGASUS_DEBUG |
|
FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
else |
|
FLAGS = -O2 -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
endif |
|
|
|
FLAGS += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU |
|
|
|
ifdef PEGASUS_NO_SLP |
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
|
endif |
|
|
|
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 |
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
ifeq ($(HPUX_IA64_VERSION), yes) |
|
SYS_LIBS += -L$(PAMLIB_HOME) -lpam |
|
else |
|
SYS_LIBS += -lpam |
|
endif |
|
endif |
|
|
|
ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
|
FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET |
|
endif |
|
|
|
CXX = g++ |
|
|
|
SH = sh |
|
|
|
YACC = yacc |
|
|
|
COPY = cp |
|
|
|
MOVE = mv |
|
|
|
LIB_SUFFIX = .so |
|
|
|
PEGASUS_SUPPORTS_DYNLIB = yes |
|
|
|
LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER) |
|
|
|