summaryrefslogtreecommitdiff
path: root/mk/pthread.buildlink.mk
AgeCommit message (Collapse)AuthorFilesLines
2001-12-26Remove excessively clever checks to allow a section to be seen only if it'sjlam1-8/+5
the second time this file is included. Check for BSD_PREFS_MK instead.
2001-12-24Initial implementation of pthread.buildlink.mk to transparently allow forjlam1-0/+105
using either the native pthread implementation or using a package pthread implementation instead, e.g. pth, ptl2, mit-pthreads, etc. The only currently supported package pthread implementation is pth as it's the only one with a buildlink.mk file. An example usage is: USE_PTHREAD= native pth .include "../../mk/pthread.buildlink.mk" or a fancier example is: USE_PTHREAD= native .include "../../mk/bsd.prefs.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") CONFIGURE_ARGS+= --without-pthreads .endif .include "../../mk/pthread.buildlink.mk"