1SubDir HAIKU_TOP src system libroot posix time ;
2
3UsePrivateHeaders
4	libroot
5	[ FDirName libroot locale ]
6	[ FDirName libroot time ]
7	shared
8	;
9SubDirSysHdrs [ FDirName $(SUBDIR) .. musl include ] ;
10SubDirHdrs [ FDirName $(SUBDIR) .. musl time ] ;
11
12local architectureObject ;
13for architectureObject in [ MultiArchSubDirSetup ] {
14	on $(architectureObject) {
15		local architecture = $(TARGET_PACKAGING_ARCH) ;
16
17		UsePrivateSystemHeaders ;
18
19		MergeObject <$(architecture)>posix_time.o :
20			clock.cpp
21			clock_support.cpp
22			ctime.c
23			localtime.cpp
24			localtime_fallback.c
25			nanosleep.c
26			stime.c
27			time.c
28			timer_support.cpp
29			timespec_get.cpp
30			;
31	}
32}
33