1SubDir HAIKU_TOP src system libroot posix arch x86_64 ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup x86_64 ] {
5	on $(architectureObject) {
6		local architecture = $(TARGET_PACKAGING_ARCH) ;
7
8		UsePrivateSystemHeaders ;
9
10		local genericSources =
11			setjmp_save_sigs.c
12			longjmp_return.c
13			;
14
15		MergeObject <$(architecture)>posix_arch_$(TARGET_ARCH).o :
16			fenv.c
17			sigsetjmp.S
18			siglongjmp.S
19
20			$(genericSources)
21			;
22
23		SEARCH on [ FGristFiles $(genericSources) ]
24			= [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
25	}
26}
27