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