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