version 1.15, 2004/06/29 20:38:12
|
version 1.23, 2004/09/01 00:03: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 |
|
|
#################################### | #################################### |
| |
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 |
## This name is hard-coded in the config files. Change accordingly. |
|
PEGASUS_LSB_NAME = pegasus-lsb |
|
PREFIX = /opt |
|
SYSCONF_PREFIX = /etc/opt |
|
LOCAL_STATE_PREFIX = /var/opt/ |
|
DEST_LIB_DIR = $(PREFIX)/$(PEGASUS_LSB_NAME)/lib |
|
DEST_BIN_DIR = $(PREFIX)/$(PEGASUS_LSB_NAME)/bin |
|
DEST_SBIN_DIR = $(PREFIX)/$(PEGASUS_LSB_NAME)/sbin |
|
DEST_ETC_DIR = $(SYSCONF_PREFIX)/$(PEGASUS_LSB_NAME)/ |
|
DEST_MAN_DIR = $(PREFIX)/$(PEGASUS_LSB_NAME)/man |
|
DEST_VAR_DIR = $(LOCAL_STATE_PREFIX)/$(PEGASUS_LSB_NAME)/ |
|
REPOSITORY_DIR = $(LOCAL_STATE_PREFIX)/$(PEGASUS_LSB_NAME)/repository |
|
endif | endif |
| |