#
#	Makefile for zfwrite
#
MACHTYPE=`/bin/athena/machtype`
DEPEND=/mit/zephyr/src/${MACHTYPE}util/makedepend
PRINT=/mit/zephyr/src/${MACHTYPE}util/printout
LIBS= /usr/athena/lib/libzephyr.a -lcom_err -lkrb -ldes
DESTDIR =
INCLUDES = -I/usr/include

CFLAGS = -g ${INCLUDES}
SRCS = zfwrite.c
OBJS = zfwrite.o
PROGRAM = zfwrite

all: ${PROGRAM}

clean: 
	rm -f *.bak *.o *~ \#* core *.sav tmp* ${PROGRAM}

.c.o:
	-rm -f $*.o
	cc ${CFLAGS} -c $*.c

${PROGRAM}: ${OBJS}
	-rm -f ${PROGRAM}
	cc ${CFLAGS} ${OBJS} -o ${PROGRAM} ${LIBS}

${OBJS}: ${SRCS}

lint:
	lint -baz ${INCLUDES} ${SRCS} /mit/zephyr/src/libs/llib-zephyr.ln

install: all
	install -c -s ${PROGRAM} ${DESTDIR}/usr/athena/${PROGRAM}

print:
	${PRINT} ${SRCS}

depend:
	${DEPEND} -v -I. ${CFLAGS} -s'# DO NOT DELETE' *.c

# DO NOT DELETE THIS LINE -- make depend depends on it.

zfwrite.o: /usr/include/zephyr/zephyr.h
# /mit/zephyr/src/include/zephyr/zephyr.h includes:
#	zephyr/mit-copyright.h
#	zephyr/zephyr_err.h
#	errno.h
#	sys/types.h
#	netinet/in.h
#	sys/time.h
#	stdio.h
#	krb.h
zfwrite.o: /usr/include/zephyr/mit-copyright.h
zfwrite.o: /usr/include/zephyr/zephyr_err.h /usr/include/errno.h
zfwrite.o: /usr/include/sys/types.h /usr/include/netinet/in.h
zfwrite.o: /usr/include/sys/time.h
# /usr/include/sys/time.h includes:
#	time.h
zfwrite.o: /usr/include/sys/time.h /usr/include/stdio.h /usr/include/krb.h
# /usr/include/krb.h includes:
#	des.h
zfwrite.o: /usr/include/des.h
