BUILDTOP=../../.

DBG=-O
DEBUG =
INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib/isode/h
DEFINES	=
CFLAGS=$(DBG) $(DEBUG) $(INCLUDE)
LINTFLAGS=$(INCLUDE) $(DEFINES)

CC=cc
ARCHIVE= ar cru
RANLIB= ranlib

MAKE=make
RM=rm -f
MV=mv
CP=cp
LN=ln -s
CHMOD=chmod

SRCS	= \
	get_in_cfile.c \
	dest_claimant.c \
	in_tkt.c \
	tf_util.c \
	tkt_string.c \
	get_in_vfile.c \
        in_ver.c \
        vf_util.c \
        ver_string.c \
	clm_ctx_string.c \
	clm_ctx_util.c \
	in_clm_ctx.c \
	ver_ctx_string.c \
	ver_ctx_util.c \
	in_ver_ctx.c \
	refresh_vfile.c \
	display_cred.c \
	build_ta_cred.c

OBJECTS	= \
	get_in_cfile.o \
	dest_claimant.o \
	in_tkt.o \
	tf_util.o \
	get_in_vfile.o \
        vf_util.o \
        ver_string.o \
	clm_ctx_string.o \
	clm_ctx_util.o \
	in_clm_ctx.o \
	ver_ctx_string.o \
	ver_ctx_util.o \
	in_ver_ctx.o \
	refresh_vfile.o \
        in_ver.o \
	display_cred.o \
	tkt_string.o \
	build_ta_cred.o

.c.o:
	$(CC) -c $(CFLAGS) $*.c

all:: libcfile.a

libcfile.a: $(OBJECTS)
	$(ARCHIVE) $@ $(OBJECTS)
	if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; \
		then ranlib $@; fi

rebuild::
	$(RM) libcfile.a $(OBJECTS)

clean::
	$(RM) *~ .[a-zA-Z]*~ *.ckp core

Makefiles::

# DO NOT DELETE THIS LINE

