version 1.19, 2003/11/24 23:19:27
|
version 1.21, 2004/03/31 19:09:11
|
|
|
DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS | DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
endif | 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^M |
|
## |
|
################################## |
|
|
|
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 |
|
|
|
SYS_INCLUDES += -I${ICU_ROOT}/source/common |
|
SYS_INCLUDES += -I${ICU_ROOT}/source/i18n |
|
DEFINES += -DPEGASUS_HAS_ICU |
|
ifdef ICU_INSTALL |
|
EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc |
|
endif |
|
endif |
|
endif |
|
|
## | ## |
## The following flag needs to be set to compile in the configuration | ## The following flag needs to be set to compile in the configuration |
## properties involving directories set with fixed release settings. | ## properties involving directories set with fixed release settings. |
|
|
ifdef PEGASUS_USE_RELEASE_DIRS | ifdef PEGASUS_USE_RELEASE_DIRS |
FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib:/usr/lib | FLAGS += -Wl,+s -Wl,+b/opt/wbem/lib:/usr/lib |
else | else |
|
ifdef PEGASUS_HAS_MESSAGES |
|
ifdef ICU_ROOT |
|
ifdef ICU_INSTALL |
|
FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib:${ICU_INSTALL}/lib |
|
endif |
|
endif |
|
else |
FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib | FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib |
endif | endif |
endif | endif |
|
endif |
| |
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
FLAGS += -g | FLAGS += -g |
endif | endif |
| |
|
# |
|
# For future use on HP-UX |
|
# |
|
ifdef HPUX_LARGE_INTERFACES |
|
FLAGS += -D_HPUX_API_LEVEL=20040821 |
|
endif |
|
|
SYS_LIBS = -lpthread -lrt | SYS_LIBS = -lpthread -lrt |
| |
SH = sh | SH = sh |