version 1.167, 2008/05/27 17:32:56
|
version 1.167.4.1, 2008/07/01 15:17:27
|
|
|
else | else |
MSG_ROOT_SOURCE = _en | MSG_ROOT_SOURCE = _en |
endif | endif |
|
|
|
ifdef ICU_INSTALL |
|
MSG_COMPILE = $(ICU_INSTALL)/bin/genrb |
|
else |
|
MSG_COMPILE = genrb |
|
endif |
|
|
|
MSG_FLAGS = |
|
MSG_SOURCE_EXT = .txt |
|
MSG_COMPILE_EXT = .res |
|
|
|
ifeq ($(OS),linux) |
|
CNV_ROOT_CMD = $(BIN_DIR)/cnv2rootbundle |
|
else |
|
CNV_ROOT_CMD = cnv2rootbundle |
|
endif |
|
|
|
# The library path option is needed on all link commands with some ICU |
|
# builds, because internal ICU library dependencies are resolved |
|
# dynamically. |
|
ifdef ICU_INSTALL |
|
ifeq ($(OS),zos) |
|
# On z/OS, the -L option must appear before the -o option and |
|
# the object (.o) and sidedeck (.x) files in the link command. |
|
FLAGS += -L$(ICU_INSTALL)/lib |
|
PR_FLAGS += -L$(ICU_INSTALL)/lib |
|
else |
|
EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib |
|
endif |
|
endif |
|
|
|
# The ICU include path and library dependencies are restricted to |
|
# where they are specifically needed. |
|
ifeq ($(HAS_ICU_DEPENDENCY),true) |
|
ifdef ICU_INSTALL |
|
SYS_INCLUDES += -I$(ICU_INSTALL)/include |
|
endif |
|
|
|
ifeq ($(OS),windows) |
|
EXTRA_LIBRARIES += \ |
|
$(ICU_INSTALL)/lib/icuuc.lib \ |
|
$(ICU_INSTALL)/lib/icuin.lib \ |
|
$(ICU_INSTALL)/lib/icudt.lib |
|
else |
|
ifeq ($(OS),zos) |
|
EXTRA_LIBRARIES += \ |
|
$(ICU_INSTALL)/lib/libicui18n.x \ |
|
$(ICU_INSTALL)/lib/libicuuc.x |
|
else |
|
EXTRA_LIBRARIES += -licuuc -licui18n |
|
ifeq ($(OS),linux) |
|
EXTRA_LIBRARIES += -licudata |
|
endif |
|
endif |
|
endif |
|
endif |
endif | endif |
| |
################################################################################ | ################################################################################ |
|
|
# | # |
| |
ifdef PEGASUS_USE_OPENSLP | ifdef PEGASUS_USE_OPENSLP |
|
ifeq ($(PEGASUS_USE_OPENSLP),true) |
ifeq ($(PEGASUS_ENABLE_SLP),true) | ifeq ($(PEGASUS_ENABLE_SLP),true) |
DEFINES += -DPEGASUS_USE_OPENSLP | DEFINES += -DPEGASUS_USE_OPENSLP |
else | else |
$(error PEGASUS_USE_OPENSLP defined but PEGASUS_ENABLE_SLP is not true. Please correct this inconsistency) | $(error PEGASUS_USE_OPENSLP defined but PEGASUS_ENABLE_SLP is not true. Please correct this inconsistency) |
endif | endif |
|
else |
|
ifneq ($(PEGASUS_USE_OPENSLP), false) |
|
$(error PEGASUS_USE_OPENSLP \ |
|
($(PEGASUS_USE_OPENSLP)) \ |
|
invalid, must be true or false) |
|
endif |
|
endif |
endif | endif |
| |
# PEP 267 | # PEP 267 |
|
|
endif | endif |
endif | endif |
| |
|
##============================================================================== |
|
## |
|
## PEGASUS_PAM_AUTHENTICATION |
|
## |
|
##============================================================================== |
|
|
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
# Compile in the code required for PAM authentication |
|
# and compile out the code that uses the password file. |
|
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
|
|
|
# Link with libpam only where it is needed. |
|
ifeq ($(HAS_PAM_DEPENDENCY),true) |
|
SYS_LIBS += -lpam |
|
endif |
|
endif |
| |
##============================================================================== | ##============================================================================== |
## | ## |