version 1.55, 2008/03/11 19:39:49
|
version 1.56, 2008/05/22 17:43:53
|
|
|
PEGASUS_HAS_MAKEDEPEND = yes | PEGASUS_HAS_MAKEDEPEND = yes |
endif | endif |
| |
# l10n |
|
ifdef PEGASUS_HAS_MESSAGES | ifdef PEGASUS_HAS_MESSAGES |
DEFINES += -DPEGASUS_HAS_MESSAGES |
|
ifeq ($(PEGASUS_HAS_ICU), true) | ifeq ($(PEGASUS_HAS_ICU), true) |
MSG_COMPILE = genrb | MSG_COMPILE = genrb |
MSG_FLAGS = | MSG_FLAGS = |
|
|
MSG_COMPILE_EXT = .res | MSG_COMPILE_EXT = .res |
CNV_ROOT_CMD = $(BIN_DIR)/cnv2rootbundle | CNV_ROOT_CMD = $(BIN_DIR)/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 |
|
|
|
ifdef ICU_ROOT |
|
SYS_INCLUDES += -I${ICU_ROOT}/source/common -I${ICU_ROOT}/source/i18n |
|
endif |
|
DEFINES += -DPEGASUS_HAS_ICU |
|
ifdef ICU_INSTALL | ifdef ICU_INSTALL |
|
SYS_INCLUDES += -I${ICU_INSTALL}/include |
EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib | EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib |
endif | endif |
EXTRA_LIBRARIES += -licuuc -licui18n -licudata | EXTRA_LIBRARIES += -licuuc -licui18n -licudata |