# The packages we build. Each is defined in its own file in the packages/ # subdirectory. local packages = HaikuDevel HaikuLoader HaikuUserguide HaikuWelcome MakefileEngine ; if $(HAIKU_BOOTSTRAP_BUILD) { packages += HaikuBootstrap ; } else { packages += Haiku ; } local archDependentPackages = HaikuCrossDevel ; packages = $(packages:G=package-rules) ; archDependentPackages = $(archDependentPackages:G=package-rules) ; SEARCH on $(packages) $(archDependentPackages) = [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ; local package ; for package in $(packages) { include $(package) ; } for package in $(archDependentPackages) { local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { include $(package) ; } } }