diff options
author | ilsimo <ilsimo> | 2007-04-07 16:20:08 +0000 |
---|---|---|
committer | ilsimo <ilsimo> | 2007-04-07 16:20:08 +0000 |
commit | 9c4b9f8390c992a7b08fd487e17b6067571dfa52 (patch) | |
tree | b73d470ef843f79c8ba7421af963fa29e0a9dd2f /sesman/Makefile | |
parent | e9a9c8dc97124148365ae1cc8d7c2044136fc720 (diff) | |
download | xrdp-proprietary-9c4b9f8390c992a7b08fd487e17b6067571dfa52.tar.gz xrdp-proprietary-9c4b9f8390c992a7b08fd487e17b6067571dfa52.zip |
added sessvc as session supervisor
first code for password changing
Diffstat (limited to 'sesman/Makefile')
-rw-r--r-- | sesman/Makefile | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/sesman/Makefile b/sesman/Makefile index 293f5372..07d9efd3 100644 --- a/sesman/Makefile +++ b/sesman/Makefile @@ -6,8 +6,7 @@ SESMANOBJ = sesman.o config.o tcp.o sig.o session.o env.o \ scp.o scp_v0.o scp_v1.o thread.o lock.o \ $(LIBSCPOBJ) -SESRUNOBJ = sesrun.o config.o tcp.o lock.o \ - os_calls.o d3des.o list.o file.o log.o +SESSVCOBJ = sessvc.o os_calls.o DESTDIR = /usr/local/xrdp CFGDIR = /etc/xrdp @@ -16,14 +15,15 @@ MANDIR = /usr/local/man DOCDIR = /usr/doc/xrdp DEFINES = -DSESMAN_CFG_FILE=\"$(CFGDIR)/sesman.ini\" \ - -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" -DDEBUG + -DSESMAN_PID_FILE=\"$(PIDDIR)/sesman.pid\" \ + -DSESMAN_SESSVC_FILE=\"$(DESTDIR)/sessvc\" \ + -DDEBUG CFLAGS = -Wall -O2 -I../common -I/usr/include/nptl $(DEFINES) -LDFLAGS = -L /usr/gnu/lib -I/usr/include/nptl -L/usr/lib/nptl -lpthread $(DEFINES) +LDFLAGS = -L /usr/gnu/lib -I/usr/include/nptl -L/usr/lib/nptl -lpthread -ldl $(DEFINES) C_OS_FLAGS = $(CFLAGS) -c CC = gcc - all: pam tools nopam: no-pam tools @@ -31,35 +31,36 @@ nopam: no-pam tools kerberos: kerberos-base tools no-pam: $(SESMANOBJ) verify_user.o - $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -ldl -lcrypt + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -lcrypt pam: $(SESMANOBJ) verify_user_pam.o - $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -ldl -lpam + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam.o -lpam pam_userpass: $(SESMANOBJ) verify_user_pam_userpass.o - $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -ldl -lpam -lpam_userpass + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_pam_userpass.o -lpam -lpam_userpass kerberos-base: $(SESMANOBJ) verify_user_kerberos.o - $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -ldl -lkrb5 + $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user_kerberos.o -lkrb5 + +sessvc: $(SESSVCOBJ) + $(CC) $(LDFLAGS) -o sessvc $(SESSVCOBJ) -tools: $(SESRUNOBJ) - $(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ) -ldl +tools: sessvc make -C tools 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 sesman sesrun.o sesrun sessvc.o sessvc make -C tools clean install: install sesman $(DESTDIR)/sesman - install sesrun $(DESTDIR)/sesrun install startwm.sh $(DESTDIR)/startwm.sh install sesman.ini $(CFGDIR)/sesman.ini + install sessvc $(DESTDIR)/sessvc make -C tools install installdeb: install sesman $(DESTDIRDEB)/usr/lib/xrdp/sesman - install sesrun $(DESTDIRDEB)/usr/lib/xrdp/sesrun install startwm.sh $(DESTDIRDEB)/usr/lib/xrdp/startwm.sh install sesman.ini $(DESTDIRDEB)/etc/xrdp/sesman.ini |