xref: /freebsd/lib/libthread_db/Makefile (revision 8fa0b743820f61c661ba5f3ea0e3be0dc137910e)
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.if ${CC:T:Mclang} == "clang"
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=
23.endif
24
25.include <bsd.lib.mk>
26