diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-02-22 18:12:43 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-02-22 18:12:43 +0000 |
commit | 6f17d11d2af4184b3c5352d1efb1f2a9331f2aa0 (patch) | |
tree | af285a870a9be98123aa02a745438fb23f027dd8 /regress/usr.bin/tsort/Makefile | |
parent | 2eba5e351672368485ed4f0b62da848022b57086 (diff) |
plop
Diffstat (limited to 'regress/usr.bin/tsort/Makefile')
-rw-r--r-- | regress/usr.bin/tsort/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/regress/usr.bin/tsort/Makefile b/regress/usr.bin/tsort/Makefile new file mode 100644 index 00000000000..4676683b92c --- /dev/null +++ b/regress/usr.bin/tsort/Makefile @@ -0,0 +1,41 @@ +# $OpenBSD: Makefile,v 1.1 2001/02/22 18:12:42 espie Exp $ + +NOMAN= +NOPROG= + +regress: t1 t2 t3 t4 + +t1: t1.out + perl ${.CURDIR}/tsort-check t1.out ${.CURDIR}/pairs1 + +t2: t2.out + perl ${.CURDIR}/normalize-cycles <t2.out|head -1|diff - ${.CURDIR}/t2.canonical + +t3: t3.out pairs3 + perl ${.CURDIR}/tsort-check t3.out pairs3 + +t4: t4.out pairs4 + perl ${.CURDIR}/tsort-check t4.out pairs4 + +t1.out: + tsort <${.CURDIR}/pairs1 >$@ + +t2.out: + cat ${.CURDIR}/pairs1 ${.CURDIR}/pairs2 |tsort -l >/dev/null 2>$@ + +t3.out: pairs3 + tsort <pairs3 >$@ + +t4.out: pairs4 + /home/espie/openbsd/tsort/obj/tsort <pairs4 >$@ + +pairs3: + perl ${.CURDIR}/build-tree 4 8 >$@ + +pairs4: + perl ${.CURDIR}/build-tree 5 10 >$@ + +.PHONY: t1 t2 regress +CLEANFILES+=t1.out t2.out t3.out t4.out pairs3 pairs4 + +.include <bsd.prog.mk> |