1# $OpenBSD: Makefile,v 1.5 2003/07/31 22:46:59 david Exp $ 2 3NOMAN= 4PROG=atexit_test 5CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc 6CLEANFILES+= invalid.out valid.out 7 8run-regress-atexit_test: ${PROG} 9 ./${PROG} -valid 2>${.OBJDIR}/valid.out 10 cmp -s ${.OBJDIR}/valid.out ${.CURDIR}/valid.ok 11 ./${PROG} -invalid-atexit 2>${.OBJDIR}/invalid.out 12 cmp -s ${.OBJDIR}/invalid.out ${.CURDIR}/invalid.ok 13 ./${PROG} -invalid-cleanup 2>${.OBJDIR}/invalid.out 14 cmp -s ${.OBJDIR}/invalid.out ${.CURDIR}/invalid.ok 15 16.include <bsd.regress.mk> 17