SubDir HAIKU_TOP src system glue ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateSystemHeaders ; local sources = init_term_dyn.c start_dyn.c haiku_version_glue.c ; MergeObject <$(architecture)>glue_common.o : $(sources) ; if $(HAIKU_BUILD_TYPE) = bootstrap { # build a version for stage0 of the bootstrap process BootstrapStage0PlatformObjects [ FGristFiles $(sources) ] : true ; } } } local arch ; for arch in $(TARGET_ARCHS) { SubInclude HAIKU_TOP src system glue arch $(arch) ; }