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