version 1.2, 2002/05/14 09:24:46
|
version 1.3, 2002/08/23 23:06:27
|
|
|
| |
DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) | DEFINES = -DPEGASUS_PLATFORM_$(PEGASUS_PLATFORM) |
| |
|
# |
|
## 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 |
|
|
|
|
ifdef PEGASUS_DEBUG | ifdef PEGASUS_DEBUG |
FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT | FLAGS = -g -W -Wall -Wno-unused -fPIC -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT |
else | else |
|
|
#SYS_LIBS = -ldl -lpthread -lcrypt -lssl | #SYS_LIBS = -ldl -lpthread -lcrypt -lssl |
SYS_LIBS = -ldl -lpthread -lcrypt | SYS_LIBS = -ldl -lpthread -lcrypt |
| |
|
# 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++ |
| |