# 
#       Transparent Cryptographic File System (TCFS) for NetBSD
#       Author and mantainer:   Luigi Catuogno [luicat@tcfs.unisa.it]
# 
#       references:             http://tcfs.dia.unisa.it
#                               tcfs-bsd@tcfs.unisa.it
#  

# 
#       Base utility set v0.1
#       
#         $Source: /usr/src/tcfs-utils_0.1/lib/RCS/Makefile,v $
#          $State: Exp $
#       $Revision: 1.1 $
#         $Author: luicat $
#           $Date: 2000/01/14 13:44:51 $
#       
#       

# RCS_HEADER_ENDS_HERE    


OBJS=tcfs_dbmaint.o encode.o decode.o \
	md5_if.o md5.o des.o gentcfskey.o tcfs_keymaint.o tcfserrors.o \
	unix_auth.o tcfs_getfspath.o tcfs_getstatus.o

SRCS=tcfs_dbmaint.c encode.c decode.c \
	md5_if.c md5.c des.c gentcfskey.c tcfs_keymaint.c tcfserrors.c \
	unix_auth.c tcfs_getfspath.c tcfs_getstatus.c

CFLAGS=-W -pedantic -g $(DEFINES) -I../include -I/usr/local/include
CC=gcc

TCFSLIB=libtcfs

all: lib 

lib: $(OBJS)
	@ar r $(TCFSLIB).a $(OBJS)
	@ranlib $(TCFSLIB).a

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

install: all
	install -c -g bin -o root -m644 $(TCFSLIB).a /usr/tcfs/lib
