version 1.13, 2002/05/14 09:24:46
|
version 1.13.8.1, 2003/02/10 17:09:31
|
|
|
include $(ROOT)/mak/config-unix.mak | include $(ROOT)/mak/config-unix.mak |
| |
|
MAJOR_VERSION_NUMBER = 1 |
|
|
OS = linux | OS = linux |
| |
ARCHITECTURE = iX86 | ARCHITECTURE = iX86 |
| |
COMPILER = gnu | COMPILER = gnu |
| |
SYS_INCLUDES = -I/usr/include/g++ |
SYS_INCLUDES = -I/usr/include/g++-3 |
|
|
|
PLATFORM_VERSION_SUPPORTED = yes |
| |
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) | DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) |
| |
|
|
FLAGS = -O2 -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT | FLAGS = -O2 -W -Wall -Wno-unused -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
endif | endif |
| |
|
# |
|
## The following flags need to be set or unset |
|
## to compile-in the code required for PAM authentication |
|
## and compile-out the code that uses the password file. |
|
## |
|
|
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
DEFINES += -DPEGASUS_PAM_AUTHENTICATION -DPEGASUS_NO_PASSWORDFILE |
|
endif |
|
|
#FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_HAS_PERFINST | #FLAGS += -DPEGASUS_HAS_SSL -DPEGASUS_HAS_PERFINST |
#SYS_LIBS = -ldl -lpthread -lcrypt -lssl |
FLAGS += -DPEGASUS_HAS_SSL |
SYS_LIBS = -ldl -lpthread -lcrypt |
SYS_LIBS = -ldl -lpthread -lcrypt -lssl |
|
#SYS_LIBS = -ldl -lpthread -lcrypt |
|
|
|
# Build using fixed release settings |
|
# |
|
ifdef PEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
FLAGS += -DPEGASUS_USE_RELEASE_CONFIG_OPTIONS |
|
endif |
|
ifdef PEGASUS_USE_RELEASE_DIRS |
|
FLAGS += -DPEGASUS_USE_RELEASE_DIRS |
|
endif |
|
|
|
FLAGS += -DPEGASUS_NO_SLP |
|
NO_SLP = true |
| |
|
# PAM support |
|
ifdef PEGASUS_PAM_AUTHENTICATION |
|
ifeq ($(HPUX_IA64_VERSION), yes) |
|
SYS_LIBS += -L$(PAMLIB_HOME) -lpam |
|
else |
|
SYS_LIBS += -lpam |
|
endif |
|
endif |
| |
CXX = g++ | CXX = g++ |
| |
|
|
ifndef PEGASUS_USE_MU_DEPEND | ifndef PEGASUS_USE_MU_DEPEND |
PEGASUS_HAS_MAKEDEPEND = yes | PEGASUS_HAS_MAKEDEPEND = yes |
endif | endif |
|
|
|
LIB_SUFFIX = .$(MAJOR_VERSION_NUMBER) |