version 1.2.6.2, 2003/07/29 15:08:26
|
version 1.19, 2004/08/10 10:45:01
|
|
|
| |
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 |
| |
LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) | LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) |
| |
|
# These flags are used to support large files on Linux. |
|
# |
|
DEFINES += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U__REDIRECT |
|
|
|
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 += -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_NO_SLP |
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
|
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 |
|
|
ifdef USE_CONNECTLOCAL | ifdef USE_CONNECTLOCAL |
FLAGS += -DUSE_CONNECTLOCAL | FLAGS += -DUSE_CONNECTLOCAL |
endif | endif |
|
|
|
# l10n |
|
ifdef PEGASUS_HAS_MESSAGES |
|
DEFINES += -DPEGASUS_HAS_MESSAGES |
|
ifdef ICU_ROOT |
|
MSG_COMPILE = genrb |
|
MSG_FLAGS = |
|
MSG_SOURCE_EXT = .txt |
|
MSG_COMPILE_EXT = .res |
|
CNV_ROOT_CMD = cnv2rootbundle |
|
|
|
################################## |
|
## |
|
## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, |
|
## default is to uppercase the root resource bundle## |
|
################################## |
|
|
|
ifdef ICU_NO_UPPERCASE_ROOT |
|
CNV_ROOT_FLAGS = |
|
else |
|
CNV_ROOT_FLAGS = -u |
|
endif |
|
|
|
#################################### |
|
## |
|
## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource bundle will be generated from |
|
## defaults to _en if not set. if set, for any directory containing resource bundles, |
|
## there must exist a file name: package(the value of ICU_ROOT_BUNDLE_LANG).txt or the make messages target will fail |
|
## |
|
#################################### |
|
|
|
ifdef ICU_ROOT_BUNDLE_LANG |
|
MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG) |
|
else |
|
MSG_ROOT_SOURCE = _en |
|
endif |
|
|
|
EXTRA_INCLUDES += -I${ICUROOT}/source/common |
|
DEFINES += -DPEGASUS_HAS_ICU |
|
SYS_LIBS += -licuuc |
|
SYS_LIBS += -licui18n |
|
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 |
|
|