xref: /haiku/src/system/libroot/posix/pthread/Jamfile (revision 040a81419dda83d1014e9dc94936a4cb3f027303)
1SubDir HAIKU_TOP src system libroot posix pthread ;
2
3UsePrivateHeaders kernel ;
4	# for util/DoublyLinkedList.h
5UsePrivateHeaders libroot shared ;
6
7local architectureObject ;
8for architectureObject in [ MultiArchSubDirSetup ] {
9	on $(architectureObject) {
10		local architecture = $(TARGET_PACKAGING_ARCH) ;
11
12		UsePrivateSystemHeaders ;
13
14		MergeObject <$(architecture)>posix_pthread.o :
15			pthread.cpp
16			pthread_atfork.c
17			pthread_attr.c
18			pthread_cancel.cpp
19			pthread_cleanup.cpp
20			pthread_cond.cpp
21			pthread_condattr.c
22			pthread_key.cpp
23			pthread_mutex.cpp
24			pthread_mutexattr.c
25			pthread_once.cpp
26			pthread_rwlock.cpp
27			pthread_spinlock.c
28			;
29	}
30}
31