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