version 1.10.4.2, 2004/04/24 01:38:14
|
version 1.25, 2004/12/30 16:07:43
|
|
|
| |
PLATFORM_VERSION_SUPPORTED = yes | PLATFORM_VERSION_SUPPORTED = yes |
| |
|
ifndef CXX |
CXX = g++ | CXX = g++ |
|
endif |
| |
SH = sh | SH = sh |
| |
|
|
| |
MOVE = mv | MOVE = mv |
| |
|
MKDIRHIER = mkdir -p |
|
|
PEGASUS_SUPPORTS_DYNLIB = yes | PEGASUS_SUPPORTS_DYNLIB = yes |
| |
MAJOR_VERSION_NUMBER = 1 | MAJOR_VERSION_NUMBER = 1 |
|
|
| |
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 |
|
|
## and compile-out the code that uses the password file. | ## and compile-out the code that uses the password file. |
| |
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE | DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
|
|
endif | endif |
| |
| |
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 -s |
endif |
|
|
|
ifdef PEGASUS_HAS_PERFINST |
|
FLAGS += -DPEGASUS_HAS_PERFINST |
|
endif | endif |
| |
ifndef PEGASUS_USE_MU_DEPEND | ifndef PEGASUS_USE_MU_DEPEND |
|
|
FLAGS += -DUSE_CONNECTLOCAL | FLAGS += -DUSE_CONNECTLOCAL |
endif | endif |
| |
# Warning: Setting the PEGASUS_USE_DEPRECATED_INTERFACES flag exposes |
|
# deprecated interfaces in externally-facing header files. The deprecated |
|
# interfaces may not be compatible with subsequent Pegasus releases. |
|
# This flag should be used only for transitionary compatibility with |
|
# existing code and not for new development. |
|
|
|
ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
|
DEFINES += -DPEGASUS_USE_DEPRECATED_INTERFACES |
|
endif |
|
|
|
# l10n | # l10n |
ifdef PEGASUS_HAS_MESSAGES | ifdef PEGASUS_HAS_MESSAGES |
DEFINES += -DPEGASUS_HAS_MESSAGES | DEFINES += -DPEGASUS_HAS_MESSAGES |
|
|
################################## | ################################## |
## | ## |
## 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 |
endif | endif |
endif | endif |
|
|
|
#################################### |
|
## |
|
## If PEGASUS_LSB is set, set the rest of the variables. |
|
## |
|
#################################### |
|
|
|
ifdef PEGASUS_LSB |
|
SYS_INCLUDES += -I/usr/include -I/usr/include/c++ -I/opt/lsbdev-base/include/c++ -I/opt/lsbdev-base/include/ |
|
FLAGS += -DPEGASUS_OS_LSB |
|
endif |
|
|