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_barrier.cpp 19 pthread_cancel.cpp 20 pthread_cleanup.cpp 21 pthread_cond.cpp 22 pthread_condattr.c 23 pthread_key.cpp 24 pthread_mutex.cpp 25 pthread_mutexattr.c 26 pthread_once.cpp 27 pthread_rwlock.cpp 28 pthread_spinlock.c 29 ; 30 } 31} 32