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