version 1.16, 2004/06/30 16:03:23
|
version 1.24, 2004/09/16 18:23:56
|
|
|
| |
PLATFORM_VERSION_SUPPORTED = yes | PLATFORM_VERSION_SUPPORTED = yes |
| |
|
ifndef CXX |
CXX = g++ | CXX = g++ |
|
endif |
| |
SH = sh | SH = sh |
| |
|
|
| |
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
SYS_LIBS = -ldl -lpthread -lcrypt |
SYS_LIBS = -ldl -lpthread |
|
|
ifdef PEGASUS_HAS_SSL |
|
SYS_LIBS += -lssl |
|
endif |
|
| |
# Build using fixed release settings | # Build using fixed release settings |
# | # |
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
endif |
|
ifdef PEGASUS_USE_RELEASE_DIRS | ifdef PEGASUS_USE_RELEASE_DIRS |
FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
PEGASUS_DEST_LIB_DIR=/opt/tog-pegasus/lib |
endif | endif |
| |
# PAM support | # PAM support |
|
|
| |
| |
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -DPEGASUS_DEBUG |
FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
else | else |
FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT | FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
endif | endif |
| |
ifdef PEGASUS_HAS_PERFINST |
|
FLAGS += -DPEGASUS_HAS_PERFINST |
|
endif |
|
|
|
ifndef PEGASUS_USE_MU_DEPEND | ifndef PEGASUS_USE_MU_DEPEND |
PEGASUS_HAS_MAKEDEPEND = yes | PEGASUS_HAS_MAKEDEPEND = yes |
endif | endif |
|
|
################################## | ################################## |
## | ## |
## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, | ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, |
## default is to uppercase the root resource bundle |
## default is to uppercase the root resource bundle## |
## |
|
################################## | ################################## |
| |
ifdef ICU_NO_UPPERCASE_ROOT | ifdef ICU_NO_UPPERCASE_ROOT |
|
|
MSG_ROOT_SOURCE = _en | MSG_ROOT_SOURCE = _en |
endif | endif |
| |
EXTRA_INCLUDES += -I${ICUROOT}/source/common |
SYS_INCLUDES += -I${ICU_ROOT}/source/common -I${ICU_ROOT}/source/i18n |
DEFINES += -DPEGASUS_HAS_ICU | DEFINES += -DPEGASUS_HAS_ICU |
SYS_LIBS += -licuuc | SYS_LIBS += -licuuc |
SYS_LIBS += -licui18n | SYS_LIBS += -licui18n |
|
|
#################################### | #################################### |
| |
ifdef PEGASUS_LSB | ifdef PEGASUS_LSB |
SYS_INCLUDES += -I/usr/include -I/usr/include/c++ |
SYS_INCLUDES += -I/usr/include -I/usr/include/c++ -I/opt/lsbdev-base/include/c++ -I/opt/lsbdev-base/include/ |
FLAGS += -DPEGASUS_OS_LSB | FLAGS += -DPEGASUS_OS_LSB |
endif | endif |
| |