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