xref: /haiku/src/system/glue/Jamfile (revision b08627f310bb2e80bca50176e7a758182384735a)
1SubDir HAIKU_TOP src system glue ;
2
3local architectureObject ;
4for architectureObject in [ MultiArchSubDirSetup ] {
5	on $(architectureObject) {
6		local architecture = $(TARGET_PACKAGING_ARCH) ;
7
8		UsePrivateSystemHeaders ;
9
10		local sources =
11			init_term_dyn.c
12			start_dyn.c
13			haiku_version_glue.c
14			;
15		MergeObject <$(architecture)>glue_common.o : $(sources) ;
16
17		if $(HAIKU_BUILD_TYPE) = bootstrap {
18			# build a version for stage0 of the bootstrap process
19			BootstrapStage0PlatformObjects [ FGristFiles $(sources) ] : true ;
20		}
21	}
22}
23
24
25local arch ;
26for arch in $(TARGET_ARCHS) {
27	SubInclude HAIKU_TOP src system glue arch $(arch) ;
28}
29