version 1.10, 2003/12/12 17:46:33
|
version 1.15, 2004/06/29 20:38:12
|
|
|
| |
MOVE = mv | MOVE = mv |
| |
|
MKDIRHIER = mkdir -p |
|
|
PEGASUS_SUPPORTS_DYNLIB = yes | PEGASUS_SUPPORTS_DYNLIB = yes |
| |
MAJOR_VERSION_NUMBER = 1 | MAJOR_VERSION_NUMBER = 1 |
| |
LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) | LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) |
| |
|
DEFINES += -DPEGASUS_USE_SYSLOGS |
|
|
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
SYS_LIBS = -ldl -lpthread -lcrypt | SYS_LIBS = -ldl -lpthread -lcrypt |
|
|
| |
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE | DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
| |
## |
|
## The following flag sets the Authentication to be PAM based authentication. |
|
## |
|
ifdef PEGASUS_ALWAYS_USE_PAM |
|
DEFINES += -DPEGASUS_ALWAYS_USE_PAM |
|
endif |
|
endif | endif |
| |
| |
|
|
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 |
|
|
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++ |
|
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 |
|
|