#
# T.C.F.S. Utils 2.0 $Revision: 2.0 $
#
# Authors:	Giuseppe Cattaneo, <cattaneo@udsab.dia.unisa.it>
#		Giuseppe Persiano, <giuper@udsab.dia.unisa.it>
#		Luigi Catuogno, <luicat@mikonos.dia.unisa.it>
#		Angelo Celentano, <angcel@mikonos.dia.unisa.it>
#		Andrea Cozzolino, <andcoz@mikonos.dia.unisa.it>
#		Aniello Del Sorbo, <anidel@mikonos.dia.unisa.it>
#		Ermelindo Mauriello, <ermmau@mikonos.dia.unisa.it>
#
# Permission  to use,  copy,  and modify this  software  without fee
# is hereby granted, provided that this entire notice is included in
# all  copies  of  any  software  which  is  or includes  a copy  or
# modification of this  software and in all copies of the supporting
# documentation for such software.
#
# This  software maybe  be used for  any purpose provided  the above 
# copyright  notice  is  retained.  It is  supplied as  is, with  no 
# warranty expressed or implied.
#/

#
#       $Source: /home/anidel/Wip/TCFS-2.2.0a/tcfslib-0.2/src/RCS/Makefile,v $
#        $State: Exp $
#
#     $Revision: 2.0 $
#       $Author: anidel $
#         $Date: 1998/10/22 08:38:11 $
#       $Locker:  $
#/

# -+-_== 

OBJS=tcfs_keymaint.o tcfs_dbmaint.o encode.o decode.o md5.o \
	md5_if.o md5.o des.o gentcfskey.o

all: lib 

lib: $(OBJS)
	ar lqv libtcfs.a $(OBJS)
	ranlib libtcfs.a

pam_module: pam_tcfs.o lib
	$(LD) -x -shared pam_tcfs.o \
	-L. -lpam -ldl -lpam_misc -lgdbm -ltcfs -o pam_tcfs.so


clean:
	@rm -f *.a *.o *.so
