]> git.saurik.com Git - apple/libc.git/blame_incremental - pthreads/Makefile.inc
Libc-339.tar.gz
[apple/libc.git] / pthreads / Makefile.inc
... / ...
CommitLineData
1.if exists(${.CURDIR}/${MACHINE_ARCH}/pthreads/Makefile.inc)
2.include "${.CURDIR}/${MACHINE_ARCH}/pthreads/Makefile.inc"
3.endif
4
5.PATH: ${.CURDIR}/pthreads
6
7MISRCS += pthread_cond.c pthread_tsd.c pthread.c \
8 pthread_mutex.c thread_setup.c lock.s stack.s pthread_rwlock.c
9
10PTHREADS_INSTHDRS += pthread.h pthread_impl.h sched.h
11PTHREADS_INSTHDRS := ${PTHREADS_INSTHDRS:S/^/${.CURDIR}\/pthreads\//}
12INSTHDRS += ${PTHREADS_INSTHDRS}
13
14.if ${LIB} == "c"
15MAN3+= pthread.3 pthread_attr.3 pthread_cancel.3 \
16 pthread_cleanup_pop.3 pthread_cleanup_push.3 \
17 pthread_cond_broadcast.3 pthread_cond_destroy.3 \
18 pthread_cond_init.3 pthread_cond_signal.3 \
19 pthread_cond_timedwait.3 pthread_cond_wait.3 \
20 pthread_create.3 pthread_detach.3 \
21 pthread_equal.3 pthread_exit.3 \
22 pthread_getschedparam.3 pthread_getspecific.3 \
23 pthread_join.3 pthread_key_create.3 \
24 pthread_key_delete.3 pthread_mutex_destroy.3 \
25 pthread_mutex_init.3 pthread_mutex_lock.3 \
26 pthread_mutex_trylock.3 pthread_mutex_unlock.3 \
27 pthread_mutexattr.3 pthread_once.3 \
28 pthread_self.3 pthread_setcancelstate.3 \
29 pthread_setspecific.3 pthread_condattr.3 \
30 pthread_rwlock_destroy.3 pthread_rwlock_init.3 \
31 pthread_rwlock_rdlock.3 pthread_rwlock_unlock.3 \
32 pthread_rwlock_wrlock.3 pthread_rwlockattr_destroy.3 \
33 pthread_rwlockattr_getpshared.3 pthread_rwlockattr_init.3 \
34 pthread_rwlockattr_setpshared.3
35
36MLINKS+=pthread_attr.3 pthread_attr_destroy.3 \
37 pthread_attr.3 pthread_attr_getdetachstate.3 \
38 pthread_attr.3 pthread_attr_getinheritsched.3 \
39 pthread_attr.3 pthread_attr_getschedparam.3 \
40 pthread_attr.3 pthread_attr_getschedpolicy.3 \
41 pthread_attr.3 pthread_attr_getscope.3 \
42 pthread_attr.3 pthread_attr_getstackaddr.3 \
43 pthread_attr.3 pthread_attr_getstacksize.3 \
44 pthread_attr.3 pthread_attr_init.3 \
45 pthread_attr.3 pthread_attr_setdetachstate.3 \
46 pthread_attr.3 pthread_attr_setinheritsched.3 \
47 pthread_attr.3 pthread_attr_setschedparam.3 \
48 pthread_attr.3 pthread_attr_setschedpolicy.3 \
49 pthread_attr.3 pthread_attr_setscope.3 \
50 pthread_attr.3 pthread_attr_setstackaddr.3 \
51 pthread_attr.3 pthread_attr_setstacksize.3
52
53MLINKS+=pthread_getschedparam.3 pthread_setschedparam.3
54
55MLINKS+=pthread_mutexattr.3 pthread_mutexattr_destroy.3 \
56 pthread_mutexattr.3 pthread_mutexattr_getprioceiling.3 \
57 pthread_mutexattr.3 pthread_mutexattr_getprotocol.3 \
58 pthread_mutexattr.3 pthread_mutexattr_gettype.3 \
59 pthread_mutexattr.3 pthread_mutexattr_init.3 \
60 pthread_mutexattr.3 pthread_mutexattr_setprioceiling.3 \
61 pthread_mutexattr.3 pthread_mutexattr_setprotocol.3 \
62 pthread_mutexattr.3 pthread_mutexattr_settype.3
63
64MLINKS+=pthread_setcancelstate.3 pthread_setcanceltype.3 \
65 pthread_setcancelstate.3 pthread_testcancel.3
66
67MLINKS+=pthread_condattr.3 pthread_condattr_init.3 \
68 pthread_condattr.3 pthread_condattr_destroy.3
69
70MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3
71
72MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
73
74.endif
75
76