Cross Reference: Makefile
xref: /src/tests/lib/libc/atomic/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/tests/lib/libc/atomic/
Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2019/02/26 10:01:41 isaki Exp $
2
3.include <bsd.own.mk>
4
5TESTSDIR=	${TESTSBASE}/lib/libc/atomic
6
7TESTS_C+=	t_atomic_add
8TESTS_C+=	t_atomic_and
9TESTS_C+=	t_atomic_cas
10TESTS_C+=	t_atomic_dec
11TESTS_C+=	t_atomic_inc
12TESTS_C+=	t_atomic_or
13TESTS_C+=	t_atomic_swap
14
15TESTS_C+=	t___sync_add
16TESTS_C+=	t___sync_sub
17TESTS_C+=	t___sync_or
18TESTS_C+=	t___sync_and
19TESTS_C+=	t___sync_xor
20TESTS_C+=	t___sync_nand
21TESTS_C+=	t___sync_compare_and_swap
22TESTS_C+=	t___sync_lock
23
24# The code conforms to new NAND semantics.  So this warning is not
25# necessary here.
26.if "${ACTIVE_CC}" == "gcc"
27CPPFLAGS.t___sync_nand.c+=	-Wno-sync-nand
28.elif "${ACTIVE_CC}" == "clang"
29CPPFLAGS.t___sync_nand.c+=	-Wno-sync-fetch-and-nand-semantics-changed
30.endif
31
32MKMAN=no
33
34BINDIR=		${TESTSDIR}
35
36.include <bsd.test.mk>
37

Indexes created Thu Dec 11 02:09:45 GMT 2025