version 1.2.6.1, 2003/07/16 21:45:25
|
version 1.8, 2003/11/07 22:35:02
|
|
|
| |
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 |
|
|
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 | endif |
| |
ifdef PEGASUS_NO_SLP |
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
|
endif |
|
|
|
ifdef PEGASUS_HAS_PERFINST | ifdef PEGASUS_HAS_PERFINST |
FLAGS += -DPEGASUS_HAS_PERFINST | FLAGS += -DPEGASUS_HAS_PERFINST |
endif | endif |
|
|
ifdef USE_CONNECTLOCAL | ifdef USE_CONNECTLOCAL |
FLAGS += -DUSE_CONNECTLOCAL | FLAGS += -DUSE_CONNECTLOCAL |
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 |
|
## |
|
################################## |
|
|
|
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 |