version 1.2.4.1, 2003/07/15 02:07:38
|
version 1.12, 2004/04/30 23:25:20
|
|
|
| |
LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) | LIB_SUFFIX = .so.$(MAJOR_VERSION_NUMBER) |
| |
DEFINES += -DPEGASUS_HAS_SIGNALS |
DEFINES += -DPEGASUS_USE_SYSLOGS |
| |
ifdef PEGASUS_USES_GCCV3 |
DEFINES += -DPEGASUS_HAS_SIGNALS |
SYS_INCLUDES = -I/usr/include/g++-3 |
|
else |
|
SYS_INCLUDES = -I/usr/include/g++ |
|
endif |
|
| |
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 | ifdef PEGASUS_HAS_PERFINST |
FLAGS += -DPEGASUS_HAS_PERFINST | FLAGS += -DPEGASUS_HAS_PERFINST |
endif | endif |
|
|
ifdef USE_CONNECTLOCAL | ifdef USE_CONNECTLOCAL |
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 |
|
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 |