summaryrefslogtreecommitdiffstats
path: root/sesman/Makefile
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-11-16 04:32:21 +0000
committerjsorg71 <jsorg71>2005-11-16 04:32:21 +0000
commitdd96a1aa043da64a3ff9f77c59113917e4704341 (patch)
treebb6089a99f0ed9b724b87fe0131454547dac8a66 /sesman/Makefile
parent37df9f4e5342f416d02386f3457f3366ee09708e (diff)
downloadxrdp-proprietary-dd96a1aa043da64a3ff9f77c59113917e4704341.tar.gz
xrdp-proprietary-dd96a1aa043da64a3ff9f77c59113917e4704341.zip
added kerberos auth
Diffstat (limited to 'sesman/Makefile')
-rw-r--r--sesman/Makefile33
1 files changed, 22 insertions, 11 deletions
diff --git a/sesman/Makefile b/sesman/Makefile
index a9b4ef04..be607b6f 100644
--- a/sesman/Makefile
+++ b/sesman/Makefile
@@ -1,20 +1,13 @@
SESMANOBJ = sesman.o config.o tcp.o sig.o session.o env.o \
- ../common/os_calls.o \
- ../common/d3des.o \
- ../common/list.o \
- ../common/file.o \
- ../common/log.o
+ os_calls.o d3des.o list.o file.o log.o
SESRUNOBJ = sesrun.o config.o tcp.o \
- ../common/os_calls.o \
- ../common/d3des.o \
- ../common/list.o \
- ../common/file.o \
- ../common/log.o
+ os_calls.o d3des.o list.o file.o log.o
CFLAGS = -Wall -O2 -I../common
LDFLAGS = -L /usr/gnu/lib
+C_OS_FLAGS = $(CFLAGS) -c
CC = gcc
all: pam tools
@@ -28,8 +21,26 @@ pam: $(SESMANOBJ) verify_user_pam.o
pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -ldl -lpam -lpam_userpass
+kerberos: $(SESMANOBJ) verify_user_kerberos.o
+ $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -ldl -lkrb5
+
tools: $(SESRUNOBJ)
$(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ) -ldl
clean:
- rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman sesrun.o sesrun
+ rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o verify_user_kerberos.o sesman sesrun.o sesrun
+
+os_calls.o:
+ $(CC) $(C_OS_FLAGS) ../common/os_calls.c
+
+d3des.o:
+ $(CC) $(C_OS_FLAGS) ../common/d3des.c
+
+list.o:
+ $(CC) $(C_OS_FLAGS) ../common/list.c
+
+file.o:
+ $(CC) $(C_OS_FLAGS) ../common/file.c
+
+log.o:
+ $(CC) $(C_OS_FLAGS) ../common/log.c