4d73f836bb
New in 2.0: * Use ucontext.h provided functions for thread creation and switching. In case those are not available use sigaltstack for thread creation and sigsetjmp/siglongjump for thread switching, and if sigaltstack doesn't exist fall back on the old process.S assembly code. * Simplified pthread support a bit, now it builds and runs on cygwin. * RPM .spec file fix to allow non-root users to build (Matthew Rich). * Included AIX process.S assembly, since I don't know the right ifdefs, it isn't actually part of process.S yet. * This library is binary compatible with previous releases. But some of the prototypes of callback functions got cleaned up a bit so that building against this version of LWP will give some trivially fixable compile warnings or errors. New in 1.13: * Stack switching code for AMD64 processors (Brett Lymn).
21 lines
584 B
Makefile
21 lines
584 B
Makefile
# $NetBSD: Makefile,v 1.24 2005/08/15 01:14:05 xtraeme Exp $
|
|
#
|
|
|
|
DISTNAME= lwp-2.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.coda.cs.cmu.edu/pub/lwp/src/
|
|
|
|
MAINTAINER= phil@cs.wwu.edu
|
|
HOMEPAGE= http://www.coda.cs.cmu.edu/
|
|
COMMENT= Light Weight Process style threads
|
|
|
|
# ${WRKSRC}/src/process.ss needs pmap handling assembly for
|
|
# each arch. Mips has it, but it evidently needs more work.
|
|
#
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-sparc* \
|
|
NetBSD-*-arm NetBSD-*-arm32 Linux-*-i386 NetBSD-*-x86_64
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_LIBTOOL= YES
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|