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