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