head	1.3;
access;
symbols
	pkgsrc-2020Q3:1.2.0.8
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.6
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.2
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.4
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.1.0.24
	pkgsrc-2019Q3-base:1.1
	pkgsrc-2019Q2:1.1.0.22
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.20
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.18
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.16
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.14
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.12
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.10
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.8
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.4
	pkgsrc-2017Q2-base:1.1
	pkgsrc-2017Q1:1.1.0.2
	pkgsrc-2017Q1-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2020.10.24.16.07.34;	author kamil;	state dead;
branches;
next	1.2;
commitid	cIlacnISFnlbNatC;

1.2
date	2019.12.22.22.23.55;	author joerg;	state Exp;
branches;
next	1.1;
commitid	JEYq00LQAGUAKKPB;

1.1
date	2017.02.08.01.02.19;	author kamil;	state Exp;
branches;
next	;
commitid	TLGxJXkpTDWwj5Fz;


desc
@@


1.3
log
@Remove libpthread_dbg

Legacy library out of sync with NetBSD libpthread and without any users.
It used to mimic SunOS style M:N threading debugging and linux thread_db,
that are no relevant for NetBSD.
@
text
@#	$NetBSD: Makefile,v 1.2 2019/12/22 22:23:55 joerg Exp $
#

#.include <bsd.own.mk>

LIB=	pthread_dbg
MKPICINSTALL=	no

SRCS=	pthread_dbg.c 

CPPFLAGS+=	-D__LIBPTHREAD_SOURCE__

.if defined(PTHREAD_MACHINE_ARCH) && !empty(PTHREAD_MACHINE_ARCH) && \
    exists(${.CURDIR}/arch/${PTHREAD_MACHINE_ARCH})
ARCHSUBDIR=     ${PTHREAD_MACHINE_ARCH}
.elif exists(${.CURDIR}/arch/${MACHINE_ARCH})
ARCHSUBDIR=     ${MACHINE_ARCH}
.elif exists(${.CURDIR}/arch/${MACHINE_CPU})
ARCHSUBDIR=     ${MACHINE_CPU}
.else
.BEGIN:
	@@echo "no ARCHSUBDIR for ${MACHINE_ARCH}/${MACHINE_CPU}; skipping..."
.endif

ARCHDIR=        ${.CURDIR}/arch/${ARCHSUBDIR}

CPPFLAGS+=      -I${ARCHDIR}

INCS=	pthread_dbg.h

MAN+=	pthread_dbg.3
MAN+=	td_open.3
MAN+=	td_map_pth2thr.3
MAN+=	td_thr_getname.3
MAN+=	td_thr_info.3
MAN+=	td_thr_iter.3

MLINKS+=	td_open.3 td_close.3

.include <bsd.lib.mk>
@


1.2
log
@Consistently disable PIC archives. Bump revision.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2017/02/08 01:02:19 kamil Exp $
@


1.1
log
@Import libpthread_dbg-20161124 as devel/libpthread_dbg.

The pthread_dbg library provides an implementation of the standard POSIX
threads library debugging facilities.

The NetBSD implementation is based on 1:1 thread model, therefore each
pthread(3) has a kernel thread, called a light-weight process (LWP).

Note that the system private thread interfaces upon which the pthread(3)
library is built are subject to change without notice.  In order to
remain compatible with future NetBSD releases, programs must be linked
against the dynamic version of the thread library.  Statically linked
programs using the POSIX threads framework may not work when run on a
future version of the system.

The pthread_dbg library is designed to be used in debuggers and to
control and introspect the NetBSD implementation of the POSIX threads.
Software may use native LWP threads without pthread(3) layer, in that
case pthread_dbg cannot be used.

Sponsored by <The NetBSD Foundation>
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2016/11/22 03:52:01 kamil Exp $
d7 1
@

