version 1.10.4.2, 2004/04/24 01:38:14
|
version 1.34, 2005/04/07 18:38:42
|
|
|
DEFINES += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU | DEFINES += -DPEGASUS_PLATFORM_LINUX_GENERIC_GNU |
DEFINES += -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) | DEFINES += -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) |
| |
|
# Enable CMPI by default. |
|
# |
|
PEGASUS_ENABLE_CMPI_PROVIDER_MANAGER=yes |
|
|
OS = linux | OS = linux |
| |
COMPILER = gnu | COMPILER = gnu |
| |
PLATFORM_VERSION_SUPPORTED = yes | PLATFORM_VERSION_SUPPORTED = yes |
| |
|
ifndef CXX |
CXX = g++ | CXX = g++ |
|
endif |
| |
SH = sh | SH = sh |
| |
YACC = yacc |
YACC = bison |
|
|
|
RM = rm -f |
|
|
|
DIFF = diff |
|
|
|
SORT = sort |
| |
COPY = cp | COPY = cp |
| |
MOVE = mv | MOVE = mv |
| |
|
MKDIRHIER = mkdir -p |
|
|
PEGASUS_SUPPORTS_DYNLIB = yes | PEGASUS_SUPPORTS_DYNLIB = yes |
| |
MAJOR_VERSION_NUMBER = 1 | MAJOR_VERSION_NUMBER = 1 |
|
|
| |
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
SYS_LIBS = -ldl -lpthread -lcrypt |
SYS_LIBS = -ldl -lpthread |
|
|
ifdef PEGASUS_HAS_SSL |
|
SYS_LIBS += -lssl |
|
endif |
|
| |
# Build using fixed release settings | # Build using fixed release settings |
# | # |
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
endif |
|
ifdef PEGASUS_USE_RELEASE_DIRS | ifdef PEGASUS_USE_RELEASE_DIRS |
FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
PEGASUS_DEST_LIB_DIR=/opt/tog-pegasus/lib |
endif | endif |
| |
# PAM support | # PAM support |
|
|
## and compile-out the code that uses the password file. | ## and compile-out the code that uses the password file. |
| |
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE | DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
|
|
endif | endif |
| |
| |
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -DPEGASUS_DEBUG |
FLAGS += -g -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
else |
|
FLAGS += -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT -s -fno-enforce-eh-specs |
|
ifdef PEGASUS_OPTIMIZE_FOR_SIZE |
|
FLAGS += -Os |
else | else |
FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
FLAGS += -O2 |
endif | endif |
|
|
ifdef PEGASUS_HAS_PERFINST |
|
FLAGS += -DPEGASUS_HAS_PERFINST |
|
endif | endif |
| |
ifndef PEGASUS_USE_MU_DEPEND | ifndef PEGASUS_USE_MU_DEPEND |
PEGASUS_HAS_MAKEDEPEND = yes | PEGASUS_HAS_MAKEDEPEND = yes |
endif | endif |
| |
ifdef PEGASUS_LOCAL_DOMAIN_SOCKET |
|
FLAGS += -DPEGASUS_LOCAL_DOMAIN_SOCKET |
|
endif |
|
|
|
ifdef USE_CONNECTLOCAL |
|
FLAGS += -DUSE_CONNECTLOCAL |
|
endif |
|
|
|
# Warning: Setting the PEGASUS_USE_DEPRECATED_INTERFACES flag exposes |
|
# deprecated interfaces in externally-facing header files. The deprecated |
|
# interfaces may not be compatible with subsequent Pegasus releases. |
|
# This flag should be used only for transitionary compatibility with |
|
# existing code and not for new development. |
|
|
|
ifdef PEGASUS_USE_DEPRECATED_INTERFACES |
|
DEFINES += -DPEGASUS_USE_DEPRECATED_INTERFACES |
|
endif |
|
|
|
# l10n | # l10n |
ifdef PEGASUS_HAS_MESSAGES | ifdef PEGASUS_HAS_MESSAGES |
DEFINES += -DPEGASUS_HAS_MESSAGES | DEFINES += -DPEGASUS_HAS_MESSAGES |
|
|
################################## | ################################## |
## | ## |
## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, | ## ICU_NO_UPPERCASE_ROOT if set, specifies NOT to uppercase the root resource bundle, |
## default is to uppercase the root resource bundle |
## default is to uppercase the root resource bundle## |
## |
|
################################## | ################################## |
| |
ifdef ICU_NO_UPPERCASE_ROOT | ifdef ICU_NO_UPPERCASE_ROOT |
|
|
MSG_ROOT_SOURCE = _en | MSG_ROOT_SOURCE = _en |
endif | endif |
| |
EXTRA_INCLUDES += -I${ICUROOT}/source/common |
SYS_INCLUDES += -I${ICU_ROOT}/source/common -I${ICU_ROOT}/source/i18n |
DEFINES += -DPEGASUS_HAS_ICU | DEFINES += -DPEGASUS_HAS_ICU |
SYS_LIBS += -licuuc |
EXTRA_LIBRARIES += -L$(ICU_INSTALL)/lib -licuuc -licui18n -licudata |
SYS_LIBS += -licui18n |
endif |
endif | endif |
|
|
|
#################################### |
|
## |
|
## If PEGASUS_LSB is set, set the rest of the variables. |
|
## |
|
#################################### |
|
|
|
ifdef PEGASUS_LSB |
|
SYS_INCLUDES += -I/usr/include -I/usr/include/c++ -I/opt/lsbdev-base/include/c++ -I/opt/lsbdev-base/include/ |
|
FLAGS += -DPEGASUS_OS_LSB |
endif | endif |
|
|