# $Id: Makefile,v 1.2.16.1 1999/05/14 19:45:23 georgeg Exp $
############################################################################
#
# Makefile for the binaries related to krb authentication
#
# The following variables need to be defined:
#
# LIBS = path to your krb and des libraries.
# INCDIR = path to your krb.h
#
# In CFLAGS line,
#      set LSF_KRB_SERVICE to your Kerberos LSF server principal name.
#      set LSF_KRB_SRVTAB to the location of the srvtab on the LSF
#      server hosts.
#
#
###########################################################################
TOP = ../../..
include $(TOP)/Make.misc


LIBS =  -L/a/athena/alpha/lib
INCDIR = -I/a/athena/alpha/include

CFLAGS = ${INCDIR} -g -DLSF_KRB_SERVICE=\"lsfd\" \
	-DLSF_KRB_SRVTAB=\"/etc/srvtab\" 
EXEC_ALL = eauth
build all:	${EXEC_ALL}

eauth: eauth.o
	$(CC) ${CFLAGS} eauth.o -o $@ $(LIBS) -lkrb -ldes


clean: 
clean: 
	-rm -f *.o ${EXEC_ALL} core .#*

brel_clean:
	cd $(BRELEASE); rm -f ${EXEC_ALL} 

cleanall:	clean brel_clean

brelease: clean
	$(INST) -m 644 README Makefile eauth.c $(BRELEASE)/examples/krb/krb4
