1# $FreeBSD$ 2 3PROG= test2 4MAN= 5NFSSERVER?= herring.nlsystems.com 6CLEANFILES= test2.zeros test2.good test2.data test2.scratch 7 8all: test2 test2.zeros test2.good 9 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data 10 @if [ `hostname` != ${NFSSERVER} ] ; then \ 11 ssh ${NFSSERVER} touch ${.OBJDIR}/test2.data; \ 12 fi 13 @cd ${.OBJDIR}; ${.OBJDIR}/test2 14 @if cmp -s ${.OBJDIR}/test2.data ${.OBJDIR}/test2.good && \ 15 cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \ 16 echo passed; \ 17 else \ 18 echo failed; \ 19 fi 20 21test2.zeros: test2.zeros.uu 22 uudecode $? 23 24test2.good: test2.good.uu 25 uudecode $? 26 27.include <bsd.prog.mk> 28