diff options
Diffstat (limited to 'sesman/Makefile')
-rw-r--r-- | sesman/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sesman/Makefile b/sesman/Makefile index bfd17187..4be042e2 100644 --- a/sesman/Makefile +++ b/sesman/Makefile @@ -5,11 +5,17 @@ SESMANOBJ = sesman.o config.o tcp.o sig.o session.o env.o \ ../common/list.o \ ../common/file.o +SESRUNOBJ = sesrun.o config.o tcp.o \ + ../common/os_calls.o \ + ../common/d3des.o \ + ../common/list.o \ + ../common/file.o + CFLAGS = -Wall -O2 -I../common LDFLAGS = -L /usr/gnu/lib CC = gcc -all: nopam +all: nopam tools nopam: $(SESMANOBJ) verify_user.o $(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -ldl -lcrypt @@ -20,5 +26,8 @@ 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 +tools: + $(CC) $(LDFLAGS) -o sesrun $(SESRUNOBJ) -ldl + clean: - rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman + rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman sesrun.o sesrun |