version 1.5, 2007/10/05 12:31:22
|
version 1.6, 2008/05/22 17:43:53
|
|
|
# Windows does not support local domain sockets or the equivalent Bug 2147 | # Windows does not support local domain sockets or the equivalent Bug 2147 |
PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1 | PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET=1 |
| |
# l10n |
|
ifdef PEGASUS_HAS_MESSAGES | ifdef PEGASUS_HAS_MESSAGES |
DEFINES += -DPEGASUS_HAS_MESSAGES |
ifeq ($(PEGASUS_HAS_ICU),true) |
ifdef ICU_ROOT |
|
MSG_COMPILE = genrb | MSG_COMPILE = genrb |
MSG_FLAGS = | MSG_FLAGS = |
MSG_SOURCE_EXT = .txt | MSG_SOURCE_EXT = .txt |
MSG_COMPILE_EXT = .res | MSG_COMPILE_EXT = .res |
CNV_ROOT_CMD = cnv2rootbundle | 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 |
|
## |
|
## We have to use the full path library because the cl /Fe command in program-windows.mak does |
|
## not take libpath as an argument (as far as I can tell) |
|
#################################### |
|
|
|
ifdef ICU_ROOT_BUNDLE_LANG |
|
MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG) |
|
else |
|
MSG_ROOT_SOURCE = _en |
|
endif |
|
DEFINES += -DPEGASUS_HAS_ICU |
|
EXTRA_LIBRARIES += $(ICU_INSTALL)/lib/icuuc.lib $(ICU_INSTALL)/lib/icuin.lib $(ICU_INSTALL)/lib/icudt.lib | EXTRA_LIBRARIES += $(ICU_INSTALL)/lib/icuuc.lib $(ICU_INSTALL)/lib/icuin.lib $(ICU_INSTALL)/lib/icudt.lib |
SYS_INCLUDES += -I$(ICU_ROOT)/source/common -I$(ICU_ROOT)/source/i18n |
SYS_INCLUDES += -I$(ICU_INSTALL)/include |
endif | endif |
endif | endif |
| |