diff options
Diffstat (limited to 'src/regress/lib/libc/atexit/Makefile')
-rw-r--r-- | src/regress/lib/libc/atexit/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/regress/lib/libc/atexit/Makefile b/src/regress/lib/libc/atexit/Makefile index 057844d767..eb8c55e91e 100644 --- a/src/regress/lib/libc/atexit/Makefile +++ b/src/regress/lib/libc/atexit/Makefile | |||
@@ -1,12 +1,11 @@ | |||
1 | # $OpenBSD: Makefile,v 1.6 2015/10/25 18:01:24 guenther Exp $ | 1 | # $OpenBSD: Makefile,v 1.7 2017/07/27 15:08:37 bluhm Exp $ |
2 | 2 | ||
3 | NOMAN= | 3 | PROG = atexit_test |
4 | PROG=atexit_test | 4 | CPPFLAGS = -I${.CURDIR}/../../../../lib/libc |
5 | CPPFLAGS+=-I${.CURDIR}/../../../../lib/libc -D'PROTO_NORMAL(x)=__asm("")' | 5 | CLEANFILES = invalid.out valid.out |
6 | CLEANFILES+= invalid.out valid.out | 6 | LDADD = -static |
7 | LDADD=-static | ||
8 | 7 | ||
9 | run-regress-atexit_test: ${PROG} | 8 | run-regress-${PROG}: ${PROG} |
10 | ./${PROG} -valid 2>${.OBJDIR}/valid.out | 9 | ./${PROG} -valid 2>${.OBJDIR}/valid.out |
11 | cmp -s ${.OBJDIR}/valid.out ${.CURDIR}/valid.ok | 10 | cmp -s ${.OBJDIR}/valid.out ${.CURDIR}/valid.ok |
12 | ./${PROG} -invalid-atexit 2>${.OBJDIR}/invalid.out | 11 | ./${PROG} -invalid-atexit 2>${.OBJDIR}/invalid.out |