version 1.19, 2003/11/24 23:19:27
|
version 1.25, 2004/08/24 21:34:19
|
|
|
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE | DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
endif | endif |
| |
|
# l10n |
|
ifdef PEGASUS_HAS_MESSAGES |
|
DEFINES += -DPEGASUS_HAS_MESSAGES |
|
ifdef ICU_ROOT |
|
MSG_COMPILE = ${ICU_INSTALL}/bin/genrb |
|
MSG_FLAGS = |
|
MSG_SOURCE_EXT = .txt |
|
MSG_COMPILE_EXT = .res |
|
CNV_ROOT_CMD = cnv2rootbundle |
|
|
|
################################## |
## | ## |
## The following flag sets the Authentication to be PAM based authentication. |
## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root |
|
## resource bundle, default is to uppercase the root resource bundle^M |
## | ## |
|
################################## |
| |
ifdef PEGASUS_ALWAYS_USE_PAM |
ifdef ICU_NO_UPPERCASE_ROOT |
DEFINES += -DPEGASUS_ALWAYS_USE_PAM |
CNV_ROOT_FLAGS = |
|
else |
|
CNV_ROOT_FLAGS = -u |
endif | endif |
| |
|
#################################### |
## | ## |
## The following flag needs to be set to compile in the configuration |
## ICU_ROOT_BUNDLE_LANG if set, specifies the language that the root resource |
## properties set with fixed release settings. |
## 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 PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
#################################### |
DEFINES += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
|
ifdef ICU_ROOT_BUNDLE_LANG |
|
MSG_ROOT_SOURCE = $(ICU_ROOT_BUNDLE_LANG) |
|
else |
|
MSG_ROOT_SOURCE = _en |
endif | endif |
| |
## |
SYS_INCLUDES += -I${ICU_ROOT}/source/common |
## The following flag needs to be set to compile in the configuration |
SYS_INCLUDES += -I${ICU_ROOT}/source/i18n |
## properties involving directories set with fixed release settings. |
DEFINES += -DPEGASUS_HAS_ICU |
## |
ifdef ICU_INSTALL |
ifdef PEGASUS_USE_RELEASE_DIRS |
EXTRA_LIBRARIES += -L${ICU_INSTALL}/lib -licui18n -licuuc |
DEFINES += -DPEGASUS_USE_RELEASE_DIRS |
endif |
endif | endif |
|
endif |
|
|
| |
DEPEND_INCLUDES = | DEPEND_INCLUDES = |
| |
|
|
| |
FLAGS = | FLAGS = |
| |
ifeq ($(PEGASUS_SUPPORTS_DYNLIB),yes) |
PEGASUS_SUPPORTS_DYNLIB=yes |
|
|
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$(PEGASUS_DEST_LIB_DIR):/usr/lib |
|
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 | else |
FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib | FLAGS += -Wl,+s -Wl,+b$(LIB_DIR):/usr/lib |
endif | endif |
|
|
FLAGS += -g | FLAGS += -g |
endif | endif |
| |
|
ifdef PEGASUS_USE_RELEASE_DIRS |
|
PEGASUS_DEST_LIB_DIR=/opt/wbem/lib |
|
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 |