# $Id: Makefile.in,v 1.1.1.1 1997/12/09 21:23:18 ghudson Exp $

SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@

CC=@CC@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
ALL_CFLAGS=${CPPFLAGS} ${CFLAGS}

AFS_LIBS=-lvolser -lvldb -lubik -lauth -lcmd -lrxkad \
	 @AFS_DIR@/lib/libdes.a -lrx -llwp -lsys -lkauth \
	 @AFS_DIR@/lib/afs/util.a -laudit

all: voldump

voldump: voldump.o
	${CC} ${LDFLAGS} -o voldump voldump.o ${AFS_LIBS} -lcom_err ${LIBS}

.c.o:
	${CC} -c ${ALL_CFLAGS} $<

check:

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
	${INSTALL_PROGRAM} -m 555 voldump ${DESTDIR}${bindir}/voldump

clean:
	rm -f voldump.o voldump

distclean: clean
	rm -f config.cache config.log config.status Makefile
