kernel - More readdirplus deadlock avoidance work
[dragonfly.git] / bin / ed / test / Makefile
blob2b08fbdb69b0428fe5f908957b37027152e15e8c
1 # $FreeBSD: src/bin/ed/test/Makefile,v 1.9 1999/08/27 23:14:17 peter Exp $
2 # $DragonFly: src/bin/ed/test/Makefile,v 1.2 2003/06/17 04:22:50 dillon Exp $
4 SHELL= /bin/sh
5 ED= ${.OBJDIR}/ed
7 all: check
8 @:
10 check: build test
11 @if grep -h '\*\*\*' errs.o scripts.o; then :; else \
12 echo "tests completed successfully."; \
15 build: mkscripts.sh
16 @if [ -f errs.o ]; then :; else \
17 uudecode < ascii.d.uu ; \
18 uudecode < ascii.r.uu ; \
19 echo "building test scripts for $(ED) ..."; \
20 $(SHELL) mkscripts.sh $(ED); \
23 test: build ckscripts.sh
24 @echo testing $(ED) ...
25 @$(SHELL) ckscripts.sh $(ED)
27 clean:
28 rm -f *.ed *.red *.[oz] *~ ascii.d ascii.r