# $Id: Makefile.in,v 1.28 1999/03/11 13:50:00 joda Exp $

srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

CC = @CC@
LINK = @LINK@
AR = ar
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@
LIBNAME = $(LIBPREFIX)telnet
LIBEXT = a
LIBPREFIX = @LIBPREFIX@
LIB = $(LIBNAME).$(LIBEXT)

prefix = @prefix@

SOURCES=auth.c encrypt.c genget.c enc_des.c misc.c kerberos.c kerberos5.c

OBJECTS=auth.o encrypt.o genget.o enc_des.o misc.o kerberos.o kerberos5.o

all: $(LIB)

libtop = @libtop@

.c.o:
	$(CC) -c $(DEFS) -I../../../include -I$(srcdir)/.. $(CFLAGS) $(CPPFLAGS) $<

$(LIB): $(OBJECTS)
	rm -f $@
	$(AR) cr $@ $(OBJECTS)
	-$(RANLIB) $@

install:
	@true

uninstall:
	@true

TAGS: $(SOURCES)
	etags $(SOURCES)

clean cleandir:
	rm -f *.o *.a \#* *~ core

distclean: clean
	rm -f Makefile *~

.PHONY: all install uninstall clean cleandir distclean
