2005-01-30 07:34:19 +03:00
|
|
|
|
2005-07-07 07:08:03 +04:00
|
|
|
SESMANOBJ = sesman.o ../common/os_calls.o ../common/d3des.o
|
2005-01-30 07:34:19 +03:00
|
|
|
|
|
|
|
CFLAGS = -Wall -O2 -I../common
|
|
|
|
LDFLAGS = -L /usr/gnu/lib
|
|
|
|
CC = gcc
|
|
|
|
|
|
|
|
all: sesman
|
|
|
|
|
2005-07-07 07:08:03 +04:00
|
|
|
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
|
2005-01-30 07:34:19 +03:00
|
|
|
|
|
|
|
clean:
|
2005-07-07 07:08:03 +04:00
|
|
|
rm -f $(SESMANOBJ) verify_user.o verify_user_pam.o verify_user_pam_userpass.o sesman
|