version 1.47, 2006/06/09 20:17:49
|
version 1.49, 2006/06/19 20:47:30
|
|
|
| |
DEFINES += -DPEGASUS_HAS_SIGNALS | DEFINES += -DPEGASUS_HAS_SIGNALS |
| |
SYS_LIBS = -ldl -lpthread |
SYS_LIBS = -ldl -lpthread -lcrypt |
| |
# PAM support | # PAM support |
ifdef PEGASUS_PAM_AUTHENTICATION | ifdef PEGASUS_PAM_AUTHENTICATION |
|
|
| |
endif | endif |
| |
FLAGS += -fPIC -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
FLAGS += -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
|
|
|
##============================================================================== |
|
## |
|
## The DYNAMIC_FLAGS variable defines linker flags that only apply to shared |
|
## libraries. |
|
## |
|
##============================================================================== |
|
DYNAMIC_FLAGS += -fPIC |
| |
ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS | ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS |
FLAGS += -g | FLAGS += -g |
|
|
FLAGS += -DPEGASUS_OS_LSB | FLAGS += -DPEGASUS_OS_LSB |
endif | endif |
| |
|
##============================================================================== |
|
## |
|
## Set the default visibility symbol to hidden for shared libraries. This |
|
## feature is only available in GCC 4.0 and later. |
|
## |
|
##============================================================================== |
|
|
|
ifeq ($(shell expr $(GCC_VERSION) '>=' 4.0), 1) |
|
FLAGS += -fvisibility=hidden |
|
endif |
|
|
ifndef PEGASUS_ARCH_LIB | ifndef PEGASUS_ARCH_LIB |
ifeq ($(PEGASUS_PLATFORM),LINUX_X86_64_GNU) | ifeq ($(PEGASUS_PLATFORM),LINUX_X86_64_GNU) |
PEGASUS_ARCH_LIB = lib64 | PEGASUS_ARCH_LIB = lib64 |
|
|
endif | endif |
endif | endif |
DEFINES += -DPEGASUS_ARCH_LIB=\"$(PEGASUS_ARCH_LIB)\" | DEFINES += -DPEGASUS_ARCH_LIB=\"$(PEGASUS_ARCH_LIB)\" |
|
|
|
|