Sync usage with man page.
[netbsd-mini2440.git] / regress / lib / libpthread / atexit / Makefile
blobfa5989603f5e9f16471060aa1bacf8599288180b
1 # $NetBSD$
3 NOMAN= # defined
5 PROG= atexit
7 ATEXITDIR= ${.CURDIR}/../../libc/atexit
8 .PATH: ${ATEXITDIR}
10 # Note: this test relies on being dynamically linked. You will get a
11 # spurious PASS for a statically linked test.
12 DPADD+= ${LIBPTHREAD}
13 LDADD+= -lpthread
15 CLEANFILES+= output
17 regress: ${PROG}
18 ./${PROG} > output
19 if cmp ${ATEXITDIR}/expected output; then \
20 echo PASSED; \
21 else \
22 echo FAILED; exit 1; \
25 .include <bsd.prog.mk>