version 1.2, 2003/06/24 17:29:13
|
version 1.9, 2003/11/15 02:49:54
|
|
|
| |
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
ifdef PEGASUS_USES_GCCV3 |
|
SYS_INCLUDES = -I/usr/include/g++-3 |
|
else |
|
SYS_INCLUDES = -I/usr/include/g++ |
|
endif |
|
|
|
SYS_LIBS = -ldl -lpthread -lcrypt | SYS_LIBS = -ldl -lpthread -lcrypt |
| |
ifdef PEGASUS_HAS_SSL | ifdef PEGASUS_HAS_SSL |
|
|
| |
| |
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 -DPEGASUS_DEBUG |
else | else |
FLAGS += -O2 -fpic -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
FLAGS += -O2 -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
endif |
|
|
|
ifdef PEGASUS_NO_SLP |
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
|
endif | endif |
| |
ifdef PEGASUS_HAS_PERFINST | ifdef PEGASUS_HAS_PERFINST |
|
|
ifdef USE_CONNECTLOCAL | ifdef USE_CONNECTLOCAL |
FLAGS += -DUSE_CONNECTLOCAL | FLAGS += -DUSE_CONNECTLOCAL |
endif | 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 |
|
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 |
|
## |
|
################################## |
|
|
|
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 |
|
|
|
EXTRA_INCLUDES += -I${ICUROOT}/source/common |
|
DEFINES += -DPEGASUS_HAS_ICU |
|
SYS_LIBS += -licuuc |
|
SYS_LIBS += -licui18n |
|
endif |
|
endif |