Move pthread* manpages to lib/libpthread as they are not libc_r specific.
authorSascha Wildner <saw@online.de>
Wed, 15 Apr 2009 11:07:13 +0000 (13:07 +0200)
committerSascha Wildner <saw@online.de>
Wed, 15 Apr 2009 11:08:02 +0000 (13:08 +0200)
63 files changed:
lib/libc_r/Makefile
lib/libc_r/man/Makefile.inc [deleted file]
lib/libpthread/Makefile
lib/libpthread/pthread_attr.3 [moved from lib/libc_r/man/pthread_attr.3 with 100% similarity]
lib/libpthread/pthread_attr_get_np.3 [moved from lib/libc_r/man/pthread_attr_get_np.3 with 100% similarity]
lib/libpthread/pthread_attr_setcreatesuspend_np.3 [moved from lib/libc_r/man/pthread_attr_setcreatesuspend_np.3 with 100% similarity]
lib/libpthread/pthread_cancel.3 [moved from lib/libc_r/man/pthread_cancel.3 with 100% similarity]
lib/libpthread/pthread_cleanup_pop.3 [moved from lib/libc_r/man/pthread_cleanup_pop.3 with 100% similarity]
lib/libpthread/pthread_cleanup_push.3 [moved from lib/libc_r/man/pthread_cleanup_push.3 with 100% similarity]
lib/libpthread/pthread_cond_broadcast.3 [moved from lib/libc_r/man/pthread_cond_broadcast.3 with 100% similarity]
lib/libpthread/pthread_cond_destroy.3 [moved from lib/libc_r/man/pthread_cond_destroy.3 with 100% similarity]
lib/libpthread/pthread_cond_init.3 [moved from lib/libc_r/man/pthread_cond_init.3 with 100% similarity]
lib/libpthread/pthread_cond_signal.3 [moved from lib/libc_r/man/pthread_cond_signal.3 with 100% similarity]
lib/libpthread/pthread_cond_timedwait.3 [moved from lib/libc_r/man/pthread_cond_timedwait.3 with 100% similarity]
lib/libpthread/pthread_cond_wait.3 [moved from lib/libc_r/man/pthread_cond_wait.3 with 100% similarity]
lib/libpthread/pthread_condattr.3 [moved from lib/libc_r/man/pthread_condattr.3 with 100% similarity]
lib/libpthread/pthread_create.3 [moved from lib/libc_r/man/pthread_create.3 with 100% similarity]
lib/libpthread/pthread_detach.3 [moved from lib/libc_r/man/pthread_detach.3 with 100% similarity]
lib/libpthread/pthread_equal.3 [moved from lib/libc_r/man/pthread_equal.3 with 100% similarity]
lib/libpthread/pthread_exit.3 [moved from lib/libc_r/man/pthread_exit.3 with 100% similarity]
lib/libpthread/pthread_getconcurrency.3 [moved from lib/libc_r/man/pthread_getconcurrency.3 with 100% similarity]
lib/libpthread/pthread_getspecific.3 [moved from lib/libc_r/man/pthread_getspecific.3 with 100% similarity]
lib/libpthread/pthread_join.3 [moved from lib/libc_r/man/pthread_join.3 with 100% similarity]
lib/libpthread/pthread_key_create.3 [moved from lib/libc_r/man/pthread_key_create.3 with 100% similarity]
lib/libpthread/pthread_key_delete.3 [moved from lib/libc_r/man/pthread_key_delete.3 with 100% similarity]
lib/libpthread/pthread_kill.3 [moved from lib/libc_r/man/pthread_kill.3 with 100% similarity]
lib/libpthread/pthread_main_np.3 [moved from lib/libc_r/man/pthread_main_np.3 with 100% similarity]
lib/libpthread/pthread_multi_np.3 [moved from lib/libc_r/man/pthread_multi_np.3 with 100% similarity]
lib/libpthread/pthread_mutex_destroy.3 [moved from lib/libc_r/man/pthread_mutex_destroy.3 with 100% similarity]
lib/libpthread/pthread_mutex_init.3 [moved from lib/libc_r/man/pthread_mutex_init.3 with 100% similarity]
lib/libpthread/pthread_mutex_lock.3 [moved from lib/libc_r/man/pthread_mutex_lock.3 with 100% similarity]
lib/libpthread/pthread_mutex_trylock.3 [moved from lib/libc_r/man/pthread_mutex_trylock.3 with 100% similarity]
lib/libpthread/pthread_mutex_unlock.3 [moved from lib/libc_r/man/pthread_mutex_unlock.3 with 100% similarity]
lib/libpthread/pthread_mutexattr.3 [moved from lib/libc_r/man/pthread_mutexattr.3 with 100% similarity]
lib/libpthread/pthread_mutexattr_getkind_np.3 [moved from lib/libc_r/man/pthread_mutexattr_getkind_np.3 with 100% similarity]
lib/libpthread/pthread_once.3 [moved from lib/libc_r/man/pthread_once.3 with 100% similarity]
lib/libpthread/pthread_resume_all_np.3 [moved from lib/libc_r/man/pthread_resume_all_np.3 with 100% similarity]
lib/libpthread/pthread_resume_np.3 [moved from lib/libc_r/man/pthread_resume_np.3 with 100% similarity]
lib/libpthread/pthread_rwlock_destroy.3 [moved from lib/libc_r/man/pthread_rwlock_destroy.3 with 100% similarity]
lib/libpthread/pthread_rwlock_init.3 [moved from lib/libc_r/man/pthread_rwlock_init.3 with 100% similarity]
lib/libpthread/pthread_rwlock_rdlock.3 [moved from lib/libc_r/man/pthread_rwlock_rdlock.3 with 100% similarity]
lib/libpthread/pthread_rwlock_unlock.3 [moved from lib/libc_r/man/pthread_rwlock_unlock.3 with 100% similarity]
lib/libpthread/pthread_rwlock_wrlock.3 [moved from lib/libc_r/man/pthread_rwlock_wrlock.3 with 100% similarity]
lib/libpthread/pthread_rwlockattr_destroy.3 [moved from lib/libc_r/man/pthread_rwlockattr_destroy.3 with 100% similarity]
lib/libpthread/pthread_rwlockattr_getpshared.3 [moved from lib/libc_r/man/pthread_rwlockattr_getpshared.3 with 100% similarity]
lib/libpthread/pthread_rwlockattr_init.3 [moved from lib/libc_r/man/pthread_rwlockattr_init.3 with 100% similarity]
lib/libpthread/pthread_rwlockattr_setpshared.3 [moved from lib/libc_r/man/pthread_rwlockattr_setpshared.3 with 100% similarity]
lib/libpthread/pthread_schedparam.3 [moved from lib/libc_r/man/pthread_schedparam.3 with 100% similarity]
lib/libpthread/pthread_self.3 [moved from lib/libc_r/man/pthread_self.3 with 100% similarity]
lib/libpthread/pthread_set_name_np.3 [moved from lib/libc_r/man/pthread_set_name_np.3 with 100% similarity]
lib/libpthread/pthread_setspecific.3 [moved from lib/libc_r/man/pthread_setspecific.3 with 100% similarity]
lib/libpthread/pthread_sigmask.3 [moved from lib/libc_r/man/pthread_sigmask.3 with 100% similarity]
lib/libpthread/pthread_suspend_all_np.3 [moved from lib/libc_r/man/pthread_suspend_all_np.3 with 100% similarity]
lib/libpthread/pthread_suspend_np.3 [moved from lib/libc_r/man/pthread_suspend_np.3 with 100% similarity]
lib/libpthread/pthread_switch_add_np.3 [moved from lib/libc_r/man/pthread_switch_add_np.3 with 100% similarity]
lib/libpthread/pthread_testcancel.3 [moved from lib/libc_r/man/pthread_testcancel.3 with 100% similarity]
lib/libpthread/sem_destroy.3 [moved from lib/libc_r/man/sem_destroy.3 with 100% similarity]
lib/libpthread/sem_getvalue.3 [moved from lib/libc_r/man/sem_getvalue.3 with 100% similarity]
lib/libpthread/sem_init.3 [moved from lib/libc_r/man/sem_init.3 with 100% similarity]
lib/libpthread/sem_open.3 [moved from lib/libc_r/man/sem_open.3 with 100% similarity]
lib/libpthread/sem_post.3 [moved from lib/libc_r/man/sem_post.3 with 100% similarity]
lib/libpthread/sem_wait.3 [moved from lib/libc_r/man/sem_wait.3 with 100% similarity]
lib/libpthread/sigwait.3 [moved from lib/libc_r/man/sigwait.3 with 100% similarity]

index d938a47..7360427 100644 (file)
@@ -22,7 +22,6 @@ CFLAGS+=-D_PTHREADS_INVARIANTS
 AINC=  -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread
 PRECIOUSLIB=   yes
 
-.include "${.CURDIR}/man/Makefile.inc"
 .include "${.CURDIR}/uthread/Makefile.inc"
 .include "${.CURDIR}/sys/Makefile.inc"
 
diff --git a/lib/libc_r/man/Makefile.inc b/lib/libc_r/man/Makefile.inc
deleted file mode 100644 (file)
index a7624a1..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-# $FreeBSD: src/lib/libc_r/man/Makefile.inc,v 1.11.2.5 2003/05/27 18:18:01 jdp Exp $
-# $DragonFly: src/lib/libc_r/man/Makefile.inc,v 1.3 2005/08/05 23:43:19 swildner Exp $
-
-# POSIX thread man files
-
-.PATH: ${.CURDIR}/man
-
-MAN+=  pthread_attr.3 \
-       pthread_attr_get_np.3 \
-       pthread_attr_setcreatesuspend_np.3 \
-       pthread_cancel.3 \
-       pthread_cleanup_pop.3 \
-       pthread_cleanup_push.3 \
-       pthread_getconcurrency.3 \
-       pthread_condattr.3 \
-       pthread_cond_broadcast.3 \
-       pthread_cond_destroy.3 \
-       pthread_cond_init.3 \
-       pthread_cond_signal.3 \
-       pthread_cond_timedwait.3 \
-       pthread_cond_wait.3 \
-       pthread_create.3 \
-       pthread_detach.3 \
-       pthread_equal.3 \
-       pthread_exit.3 \
-       pthread_getspecific.3 \
-       pthread_join.3 \
-       pthread_key_create.3 \
-       pthread_key_delete.3 \
-       pthread_kill.3 \
-       pthread_main_np.3 \
-       pthread_multi_np.3 \
-       pthread_mutexattr.3 \
-       pthread_mutexattr_getkind_np.3 \
-       pthread_mutex_destroy.3 \
-       pthread_mutex_init.3 \
-       pthread_mutex_lock.3 \
-       pthread_mutex_trylock.3 \
-       pthread_mutex_unlock.3 \
-       pthread_once.3 \
-       pthread_resume_all_np.3 \
-       pthread_resume_np.3 \
-       pthread_rwlock_destroy.3 \
-       pthread_rwlock_init.3 \
-       pthread_rwlock_rdlock.3 \
-       pthread_rwlock_unlock.3 \
-       pthread_rwlock_wrlock.3 \
-       pthread_rwlockattr_destroy.3 \
-       pthread_rwlockattr_getpshared.3 \
-       pthread_rwlockattr_init.3 \
-       pthread_rwlockattr_setpshared.3 \
-       pthread_schedparam.3 \
-       pthread_self.3 \
-       pthread_set_name_np.3 \
-       pthread_setspecific.3 \
-       pthread_sigmask.3 \
-       pthread_suspend_all_np.3 \
-       pthread_suspend_np.3 \
-       pthread_switch_add_np.3 \
-       pthread_testcancel.3 \
-       sem_destroy.3 \
-       sem_getvalue.3 \
-       sem_init.3 \
-       sem_open.3 \
-       sem_post.3 \
-       sem_wait.3 \
-       sigwait.3
-
-MLINKS+= \
-       pthread_attr.3 pthread_attr_destroy.3 \
-       pthread_attr.3 pthread_attr_getdetachstate.3 \
-       pthread_attr.3 pthread_attr_getinheritsched.3 \
-       pthread_attr.3 pthread_attr_getschedparam.3 \
-       pthread_attr.3 pthread_attr_getschedpolicy.3 \
-       pthread_attr.3 pthread_attr_getscope.3 \
-       pthread_attr.3 pthread_attr_getstack.3 \
-       pthread_attr.3 pthread_attr_getstackaddr.3 \
-       pthread_attr.3 pthread_attr_getstacksize.3 \
-       pthread_attr.3 pthread_attr_init.3 \
-       pthread_attr.3 pthread_attr_setdetachstate.3 \
-       pthread_attr.3 pthread_attr_setinheritsched.3 \
-       pthread_attr.3 pthread_attr_setschedparam.3 \
-       pthread_attr.3 pthread_attr_setschedpolicy.3 \
-       pthread_attr.3 pthread_attr_setscope.3 \
-       pthread_attr.3 pthread_attr_setstack.3 \
-       pthread_attr.3 pthread_attr_setstackaddr.3 \
-       pthread_attr.3 pthread_attr_setstacksize.3 \
-       pthread_getconcurrency.3 pthread_setconcurrency.3 \
-       pthread_condattr.3 pthread_condattr_init.3 \
-       pthread_condattr.3 pthread_condattr_destroy.3 \
-       pthread_multi_np.3 pthread_single_np.3 \
-       pthread_mutexattr.3 pthread_mutexattr_init.3 \
-       pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
-       pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
-       pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
-       pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
-       pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
-       pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
-       pthread_mutexattr.3 pthread_mutexattr_settype.3 \
-       pthread_mutexattr_getkind_np.3 pthread_mutexattr_setkind_np.3 \
-       pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3 \
-       pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3 \
-       pthread_schedparam.3 pthread_getschedparam.3 \
-       pthread_schedparam.3 pthread_setschedparam.3 \
-       pthread_switch_add_np.3 pthread_switch_delete_np.3 \
-       pthread_testcancel.3 pthread_setcancelstate.3 \
-       pthread_testcancel.3 pthread_setcanceltype.3 \
-       sem_open.3 sem_close.3 \
-       sem_open.3 sem_unlink.3 \
-       sem_wait.3 sem_trywait.3
index a7b2f77..13a33ec 100644 (file)
@@ -8,6 +8,110 @@ SONAME=               ${SHLIB_NAME}.${SHLIB_MAJOR}
 SRCS=          dummy.c
 WARNS?=                6
 
+MAN+=  pthread_attr.3 \
+       pthread_attr_get_np.3 \
+       pthread_attr_setcreatesuspend_np.3 \
+       pthread_cancel.3 \
+       pthread_cleanup_pop.3 \
+       pthread_cleanup_push.3 \
+       pthread_getconcurrency.3 \
+       pthread_condattr.3 \
+       pthread_cond_broadcast.3 \
+       pthread_cond_destroy.3 \
+       pthread_cond_init.3 \
+       pthread_cond_signal.3 \
+       pthread_cond_timedwait.3 \
+       pthread_cond_wait.3 \
+       pthread_create.3 \
+       pthread_detach.3 \
+       pthread_equal.3 \
+       pthread_exit.3 \
+       pthread_getspecific.3 \
+       pthread_join.3 \
+       pthread_key_create.3 \
+       pthread_key_delete.3 \
+       pthread_kill.3 \
+       pthread_main_np.3 \
+       pthread_multi_np.3 \
+       pthread_mutexattr.3 \
+       pthread_mutexattr_getkind_np.3 \
+       pthread_mutex_destroy.3 \
+       pthread_mutex_init.3 \
+       pthread_mutex_lock.3 \
+       pthread_mutex_trylock.3 \
+       pthread_mutex_unlock.3 \
+       pthread_once.3 \
+       pthread_resume_all_np.3 \
+       pthread_resume_np.3 \
+       pthread_rwlock_destroy.3 \
+       pthread_rwlock_init.3 \
+       pthread_rwlock_rdlock.3 \
+       pthread_rwlock_unlock.3 \
+       pthread_rwlock_wrlock.3 \
+       pthread_rwlockattr_destroy.3 \
+       pthread_rwlockattr_getpshared.3 \
+       pthread_rwlockattr_init.3 \
+       pthread_rwlockattr_setpshared.3 \
+       pthread_schedparam.3 \
+       pthread_self.3 \
+       pthread_set_name_np.3 \
+       pthread_setspecific.3 \
+       pthread_sigmask.3 \
+       pthread_suspend_all_np.3 \
+       pthread_suspend_np.3 \
+       pthread_switch_add_np.3 \
+       pthread_testcancel.3 \
+       sem_destroy.3 \
+       sem_getvalue.3 \
+       sem_init.3 \
+       sem_open.3 \
+       sem_post.3 \
+       sem_wait.3 \
+       sigwait.3
+
+MLINKS+= \
+       pthread_attr.3 pthread_attr_destroy.3 \
+       pthread_attr.3 pthread_attr_getdetachstate.3 \
+       pthread_attr.3 pthread_attr_getinheritsched.3 \
+       pthread_attr.3 pthread_attr_getschedparam.3 \
+       pthread_attr.3 pthread_attr_getschedpolicy.3 \
+       pthread_attr.3 pthread_attr_getscope.3 \
+       pthread_attr.3 pthread_attr_getstack.3 \
+       pthread_attr.3 pthread_attr_getstackaddr.3 \
+       pthread_attr.3 pthread_attr_getstacksize.3 \
+       pthread_attr.3 pthread_attr_init.3 \
+       pthread_attr.3 pthread_attr_setdetachstate.3 \
+       pthread_attr.3 pthread_attr_setinheritsched.3 \
+       pthread_attr.3 pthread_attr_setschedparam.3 \
+       pthread_attr.3 pthread_attr_setschedpolicy.3 \
+       pthread_attr.3 pthread_attr_setscope.3 \
+       pthread_attr.3 pthread_attr_setstack.3 \
+       pthread_attr.3 pthread_attr_setstackaddr.3 \
+       pthread_attr.3 pthread_attr_setstacksize.3 \
+       pthread_getconcurrency.3 pthread_setconcurrency.3 \
+       pthread_condattr.3 pthread_condattr_init.3 \
+       pthread_condattr.3 pthread_condattr_destroy.3 \
+       pthread_multi_np.3 pthread_single_np.3 \
+       pthread_mutexattr.3 pthread_mutexattr_init.3 \
+       pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
+       pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
+       pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
+       pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
+       pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
+       pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
+       pthread_mutexattr.3 pthread_mutexattr_settype.3 \
+       pthread_mutexattr_getkind_np.3 pthread_mutexattr_setkind_np.3 \
+       pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3 \
+       pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3 \
+       pthread_schedparam.3 pthread_getschedparam.3 \
+       pthread_schedparam.3 pthread_setschedparam.3 \
+       pthread_switch_add_np.3 pthread_switch_delete_np.3 \
+       pthread_testcancel.3 pthread_setcancelstate.3 \
+       pthread_testcancel.3 pthread_setcanceltype.3 \
+       sem_open.3 sem_close.3 \
+       sem_open.3 sem_unlink.3 \
+       sem_wait.3 sem_trywait.3
+
 realinstall: linkinstall
 linkinstall:
        # Do not overwrite existing symlinks