diff options
author | jsorg71 <jsorg71> | 2005-07-07 03:08:03 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-07-07 03:08:03 +0000 |
commit | ef1be2c6d3251139a50e1cf5c5e812741471b34a (patch) | |
tree | 0e6b17035fd98cec3e15a2b8ebf54a18bcb58c1b /sesman/Makefile | |
parent | c2ff24010a345442a9d6f96274a22f454bfa3918 (diff) | |
download | xrdp-proprietary-ef1be2c6d3251139a50e1cf5c5e812741471b34a.tar.gz xrdp-proprietary-ef1be2c6d3251139a50e1cf5c5e812741471b34a.zip |
pam changes
Diffstat (limited to 'sesman/Makefile')
-rw-r--r-- | sesman/Makefile | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/sesman/Makefile b/sesman/Makefile index 7ef8d3f9..79256907 100644 --- a/sesman/Makefile +++ b/sesman/Makefile @@ -1,29 +1,20 @@ -# uncomment the next line to use pam_userpass -# in verify_user.c -#USE_PAM = "" +SESMANOBJ = sesman.o ../common/os_calls.o ../common/d3des.o -SESMANOBJ = sesman.o verify_user.o ../common/os_calls.o ../common/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 -ifdef USE_PAM -LIBS = -lpam -lpam_userpass -else -LIBS = -ldl -lcrypt -endif -PAMLIB = CC = gcc all: sesman -sesman: $(SESMANOBJ) - $(CC) $(LDFLAGS) -o sesman $(PAMLIB) $(SESMANOBJ) $(LIBS) +sesman: $(SESMANOBJ) verify_user.o + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -ldl -lcrypt + +pam: $(SESMANOBJ) verify_user_pam.o + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -ldl -lpam + +pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -ldl -lpam -lpam_userpass clean: - rm -f $(SESMANOBJ) sesman + rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman |