freebsd-nq/lib/libthread_db/Makefile
Glen Barber a70cba9582 First pass through library packaging.
Sponsored by:	The FreeBSD Foundation
2016-02-04 21:16:35 +00:00

25 lines
502 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/arch/${MACHINE_CPUARCH}
PACKAGE=lib${LIB}
LIB= thread_db
SHLIB_MAJOR= 3
SRCS= thread_db.c
SRCS+= libpthread_md.c
SRCS+= libpthread_db.c
SRCS+= libthr_db.c
INCS= thread_db.h
CFLAGS+=-I. -I${.CURDIR}
SYM_MAPS+=${.CURDIR}/Symbol.map
SYMBOL_MAPS=${SYM_MAPS}
VERSION_DEF=${.CURDIR}/../libc/Versions.def
# Unfortunately, clang gives an incorrect warning about alignment in
# arch/i386/libpthread_md.c, so turn that off for now.
NO_WCAST_ALIGN.clang=
.include <bsd.lib.mk>