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