1# The packages we build. Each is defined in its own file in the packages/ 2# subdirectory. 3local packages = [ FFilterByBuildFeatures 4 HaikuDevel 5 HaikuLoader 6 HaikuUserguide 7 HaikuWelcome 8 MakefileEngine 9 NetFS@!x86_64 10 UserlandFS@!x86_64 11 ] 12 ; 13 14if $(HAIKU_BUILD_TYPE) = bootstrap { 15 packages += HaikuBootstrap ; 16} else { 17 packages += Haiku ; 18} 19 20local archDependentPackages = 21 HaikuCrossDevel 22 WebPositive 23 ; 24 25local secondaryArchPackages = 26 HaikuDevelSecondary 27 ; 28if $(HAIKU_BUILD_TYPE) = bootstrap { 29 secondaryArchPackages += HaikuSecondaryBootstrap ; 30} else { 31 secondaryArchPackages += HaikuSecondary ; 32} 33 34 35packages = $(packages:G=package-rules) ; 36archDependentPackages = $(archDependentPackages:G=package-rules) ; 37secondaryArchPackages = $(secondaryArchPackages:G=package-rules) ; 38SEARCH on $(packages) $(archDependentPackages) $(secondaryArchPackages) 39 = [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ; 40 41local package ; 42for package in $(packages) { 43 include $(package) ; 44} 45 46for package in $(archDependentPackages) { 47 local architectureObject ; 48 for architectureObject in [ MultiArchSubDirSetup ] { 49 on $(architectureObject) { 50 include $(package) ; 51 } 52 } 53} 54 55for package in $(secondaryArchPackages) { 56 local architectureObject ; 57 for architectureObject in 58 [ MultiArchSubDirSetup $(TARGET_PACKAGING_ARCHS[2-]) ] { 59 on $(architectureObject) { 60 include $(package) ; 61 } 62 } 63} 64