diff options
author | jsorg71 <jsorg71> | 2005-06-04 23:51:51 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-06-04 23:51:51 +0000 |
commit | 74a67d2d3f9fd1e4e120373e49e6b02858d92bb9 (patch) | |
tree | 67eed529006be30b659e3571fb9adb57d66a3b66 /sesman/Makefile | |
parent | 86ecad1197c04520d98ac62a8906e7b55a8b6e8d (diff) | |
download | xrdp-proprietary-74a67d2d3f9fd1e4e120373e49e6b02858d92bb9.tar.gz xrdp-proprietary-74a67d2d3f9fd1e4e120373e49e6b02858d92bb9.zip |
added non pam authentication
Diffstat (limited to 'sesman/Makefile')
-rw-r--r-- | sesman/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sesman/Makefile b/sesman/Makefile index 252839fe..d75f3e04 100644 --- a/sesman/Makefile +++ b/sesman/Makefile @@ -1,10 +1,22 @@ -SESMANOBJ = sesman.o os_calls.o d3des.o +# uncomment the next line to use pam_userpass +# in verify_user.c +#USE_PAM = "" +SESMANOBJ = sesman.o verify_user.o os_calls.o d3des.o + +ifdef USE_PAM +CFLAGS = -Wall -O2 -I../common -DUSE_PAM +else CFLAGS = -Wall -O2 -I../common +endif C_OS_FLAGS = $(CFLAGS) -c LDFLAGS = -L /usr/gnu/lib -LIBS = -lpam_userpass -lpam +ifdef USE_PAM +LIBS = -lpam -lpam_userpass +else +LIBS = -ldl -lcrypt +endif PAMLIB = CC = gcc |