xref: /haiku/src/system/libroot/posix/arch/x86_64/Jamfile (revision 9f81ca838ce7b92b5689e57d3f86765db4705a7b)
1fd9f32c0SAlex SmithSubDir HAIKU_TOP src system libroot posix arch x86_64 ;
2fd9f32c0SAlex Smith
3*b0944c78SIngo Weinholdlocal architectureObject ;
4*b0944c78SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup x86_64 ] {
5*b0944c78SIngo Weinhold	on $(architectureObject) {
6*b0944c78SIngo Weinhold		local architecture = $(TARGET_PACKAGING_ARCH) ;
7*b0944c78SIngo Weinhold
8fd9f32c0SAlex Smith		UsePrivateSystemHeaders ;
9fd9f32c0SAlex Smith
10fd9f32c0SAlex Smith		local genericSources =
11fd9f32c0SAlex Smith			setjmp_save_sigs.c
12fd9f32c0SAlex Smith			longjmp_return.c
13fd9f32c0SAlex Smith			;
14fd9f32c0SAlex Smith
15*b0944c78SIngo Weinhold		MergeObject <$(architecture)>posix_arch_$(TARGET_ARCH).o :
163fde5350SAlex Smith			fenv.c
17fd9f32c0SAlex Smith			sigsetjmp.S
18fd9f32c0SAlex Smith			siglongjmp.S
19fd9f32c0SAlex Smith
20fd9f32c0SAlex Smith			$(genericSources)
21fd9f32c0SAlex Smith			;
22fd9f32c0SAlex Smith
23fd9f32c0SAlex Smith		SEARCH on [ FGristFiles $(genericSources) ]
24fd9f32c0SAlex Smith			= [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
25*b0944c78SIngo Weinhold	}
26*b0944c78SIngo Weinhold}
27