freebsd-nq/tools/regression/nfsmmap/test2/Makefile
Warner Losh 3bdf775801 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00

28 lines
622 B
Makefile

# $FreeBSD$
PROG= test2
MAN=
NFSSERVER?= herring.nlsystems.com
CLEANFILES= test2.zeros test2.good test2.data test2.scratch
all: test2 test2.zeros test2.good
@cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
@if [ `hostname` != ${NFSSERVER} ] ; then \
ssh ${NFSSERVER} touch ${.OBJDIR}/test2.data; \
fi
@cd ${.OBJDIR}; ${.OBJDIR}/test2
@if cmp -s ${.OBJDIR}/test2.data ${.OBJDIR}/test2.good && \
cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
echo passed; \
else \
echo failed; \
fi
test2.zeros: test2.zeros.uu
uudecode $?
test2.good: test2.good.uu
uudecode $?
.include <bsd.prog.mk>