Home | History | Annotate | Line # | Download | only in libubsan
Makefile revision 1.3
      1  1.3     joerg #	$NetBSD: Makefile,v 1.3 2017/06/29 18:52:23 joerg Exp $
      2  1.3     joerg 
      3  1.3     joerg UNSUPPORTED_COMPILER.clang=	# defined
      4  1.3     joerg 
      5  1.1  christos .include <bsd.own.mk>
      6  1.1  christos 
      7  1.1  christos .include "../Makefile.inc"
      8  1.1  christos .include "../Makefile.sanitizer"
      9  1.1  christos 
     10  1.1  christos .PATH: ${SANITIZER}/ubsan
     11  1.1  christos 
     12  1.1  christos UBSAN_SRCS= \
     13  1.2       mrg 	ubsan_diag.o \
     14  1.2       mrg 	ubsan_flags.o \
     15  1.2       mrg 	ubsan_handlers.o \
     16  1.2       mrg 	ubsan_handlers_cxx.o \
     17  1.2       mrg 	ubsan_init.o \
     18  1.2       mrg 	ubsan_type_hash.o \
     19  1.2       mrg 	ubsan_value.o
     20  1.1  christos 
     21  1.1  christos COPTS.ubsan_type_hash.cc+=-frtti
     22  1.1  christos 
     23  1.1  christos LIB=	ubsan
     24  1.1  christos SRCS+=	${UBSAN_SRCS}
     25  1.1  christos 
     26  1.2       mrg .if ${MACHINE_ARCH} == "vax"
     27  1.2       mrg COPTS += -O1
     28  1.2       mrg .endif
     29  1.2       mrg 
     30  1.1  christos .include <bsd.lib.mk>
     31