
LIB=    libtelnet.a
SRCS=   auth.c encrypt.c genget.c \
	misc.c enc_des.c \
	setenv.c getent.c strdup.c strcasecmp.c \
	strchr.c strrchr.c strftime.c strerror.c \
	getent.c

OBJS=   auth.o encrypt.o genget.o \
	misc.o enc_des.o \
	getent.o

all: ${LIB}

${LIB}: ${OBJS}
	rm -f ${LIB}
	ar cq ${LIB} ${OBJS}
	ranlib ${LIB}

clean:
	rm -f *.o ${LIB}

auth.o: encrypt.h
auth.o: auth.h
auth.o: misc-proto.h
encrypt.o: encrypt.h
encrypt.o: misc.h
kerberos.o: encrypt.h
kerberos.o: auth.h
kerberos.o: misc.h
kerberos5.o: encrypt.h
kerberos5.o: auth.h
kerberos5.o: misc.h
misc.o: misc.h
enc_des.o: encrypt.h
enc_des.o: key-proto.h
enc_des.o: misc-proto.h
