1SubDir HAIKU_TOP src system libroot posix musl time ;
2
3SubDirSysHdrs [ FDirName $(SUBDIR) .. include ] ;
4UseHeaders [ FDirName $(SUBDIR) .. internal ] ;
5UseHeaders [ FDirName $(SUBDIR) .. arch $(TARGET_ARCH) ] ;
6
7local architectureObject ;
8for architectureObject in [ MultiArchSubDirSetup ] {
9	on $(architectureObject) {
10		local architecture = $(TARGET_PACKAGING_ARCH) ;
11
12		MergeObject <$(architecture)>posix_musl_time.o :
13			__month_to_secs.c
14			__secs_to_tm.c
15			__tm_to_secs.c
16			__year_to_secs.c
17			asctime.c
18			asctime_r.c
19			difftime.c
20			strftime.c
21			strptime.c
22			wcsftime.c
23			;
24	}
25}
26