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