Home | History | Annotate | Line # | Download | only in sys
Makefile revision 1.16.8.1
      1  1.16.8.1  perseant # $NetBSD: Makefile,v 1.16.8.1 2025/08/02 05:58:00 perseant Exp $
      2       1.1      jmmv 
      3       1.1      jmmv NOMAN=		# defined
      4       1.1      jmmv 
      5       1.1      jmmv .include <bsd.own.mk>
      6       1.1      jmmv 
      7       1.2    jruoho TESTSDIR=		${TESTSBASE}/include/sys
      8       1.1      jmmv 
      9      1.10  riastrad TESTS_C+=		t_bitops
     10      1.10  riastrad TESTS_C+=		t_bootblock
     11      1.10  riastrad TESTS_C+=		t_cdefs
     12      1.13  pgoyette TESTS_C+=		t_list
     13      1.11  riastrad TESTS_C+=		t_pslist
     14      1.10  riastrad TESTS_C+=		t_tree
     15      1.10  riastrad TESTS_C+=		t_types
     16       1.5    jruoho 
     17  1.16.8.1  perseant COPTS.t_bitops.c+=	-fno-builtin-ffs
     18  1.16.8.1  perseant COPTS.t_bitops.c+=	-fno-builtin-ffsl
     19  1.16.8.1  perseant COPTS.t_bitops.c+=	-fno-builtin-ffsll
     20  1.16.8.1  perseant 
     21      1.16     kamil # NULL + 0 arithmetic raises LLVM UBSan warnings, specially in sys/pslist.h
     22      1.16     kamil # in the type-safe macros _PSLIST_VALIDATE_PTRS and _PSLIST_VALIDATE_CONTAINER.
     23      1.16     kamil # See also src/sys/rump/Makefile.rump
     24      1.16     kamil .if ${MKSANITIZER:Uno} == "yes" || ${MKLIBCSANITIZER:Uno} == "yes"
     25      1.16     kamil COPTS.t_pslist.c+=	${${ACTIVE_CC} == "clang":? -fno-delete-null-pointer-checks :}
     26      1.16     kamil .endif
     27      1.16     kamil 
     28      1.11  riastrad CPPFLAGS.t_pslist.c+=	-I${NETBSDSRCDIR}/sys
     29       1.2    jruoho LDADD.t_bitops+=	-lm
     30       1.7  christos 
     31       1.8      matt .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
     32       1.7  christos TESTS_C+= t_socket
     33       1.9  christos CPPFLAGS.t_socket.c+=	-D_KERNTYPES
     34       1.5    jruoho LDADD.t_socket+=	-lrumpnet_local -lrumpnet_net -lrumpnet
     35      1.15  christos LDADD.t_socket+=	${LIBRUMPBASE}
     36       1.7  christos .endif
     37       1.1      jmmv 
     38       1.1      jmmv .include <bsd.test.mk>
     39