1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH} 4 5LIB= thread_db 6SHLIB_MAJOR= 3 7SRCS= thread_db.c 8SRCS+= libpthread_md.c 9SRCS+= libpthread_db.c 10SRCS+= libthr_db.c 11INCS= thread_db.h 12 13CFLAGS+=-I. -I${.CURDIR} 14SYM_MAPS+=${.CURDIR}/Symbol.map 15 16SYMBOL_MAPS=${SYM_MAPS} 17VERSION_DEF=${.CURDIR}/../libc/Versions.def 18 19# Unfortunately, clang gives an incorrect warning about alignment in 20# arch/i386/libpthread_md.c, so turn that off for now. 21NO_WCAST_ALIGN.clang= 22 23.include <bsd.lib.mk> 24