version 1.168, 2008/06/03 19:10:04
|
version 1.170, 2008/06/05 17:33:02
|
|
|
CNV_ROOT_CMD = cnv2rootbundle | CNV_ROOT_CMD = cnv2rootbundle |
endif | 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 | ifdef ICU_INSTALL |
SYS_INCLUDES += -I$(ICU_INSTALL)/include | SYS_INCLUDES += -I$(ICU_INSTALL)/include |
endif | endif |
|
|
$(ICU_INSTALL)/lib/icudt.lib | $(ICU_INSTALL)/lib/icudt.lib |
else | else |
ifeq ($(OS),zos) | 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 |
|
EXTRA_LIBRARIES += \ | EXTRA_LIBRARIES += \ |
$(ICU_INSTALL)/lib/libicui18n.x \ | $(ICU_INSTALL)/lib/libicui18n.x \ |
$(ICU_INSTALL)/lib/libicuuc.x | $(ICU_INSTALL)/lib/libicuuc.x |
else | else |
ifdef ICU_INSTALL |
|
EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib |
|
endif |
|
EXTRA_LIBRARIES += -licuuc -licui18n | EXTRA_LIBRARIES += -licuuc -licui18n |
ifeq ($(OS),linux) | ifeq ($(OS),linux) |
EXTRA_LIBRARIES += -licudata | EXTRA_LIBRARIES += -licudata |
|
|
endif | endif |
endif | endif |
endif | endif |
|
endif |
| |
################################################################################ | ################################################################################ |
## | ## |
|
|
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 |
| |
##============================================================================== | ##============================================================================== |
## | ## |