2013-05-05 20:25:31 +04:00
|
|
|
# The packages we build. Each is defined in its own file in the packages/
|
|
|
|
# subdirectory.
|
|
|
|
local packages =
|
|
|
|
HaikuDevel
|
2013-05-20 21:37:40 +04:00
|
|
|
HaikuLoader
|
2013-05-05 20:25:31 +04:00
|
|
|
HaikuUserguide
|
|
|
|
HaikuWelcome
|
|
|
|
MakefileEngine
|
2013-07-07 15:45:38 +04:00
|
|
|
;
|
|
|
|
|
|
|
|
if $(HAIKU_BOOTSTRAP_BUILD) {
|
|
|
|
packages += HaikuBootstrap ;
|
|
|
|
} else {
|
|
|
|
packages += Haiku ;
|
|
|
|
}
|
|
|
|
|
2013-08-01 10:51:16 +04:00
|
|
|
local archDependentPackages =
|
|
|
|
HaikuCrossDevel
|
2013-08-10 17:06:55 +04:00
|
|
|
WebPositive
|
2013-08-01 10:51:16 +04:00
|
|
|
;
|
|
|
|
|
2013-08-06 05:32:48 +04:00
|
|
|
local secondaryArchPackages =
|
|
|
|
HaikuDevelSecondary
|
|
|
|
;
|
2013-08-06 02:47:51 +04:00
|
|
|
if $(HAIKU_BOOTSTRAP_BUILD) {
|
|
|
|
secondaryArchPackages += HaikuSecondaryBootstrap ;
|
|
|
|
} else {
|
|
|
|
secondaryArchPackages += HaikuSecondary ;
|
|
|
|
}
|
|
|
|
|
2013-05-05 17:02:57 +04:00
|
|
|
|
2013-05-05 20:25:31 +04:00
|
|
|
packages = $(packages:G=package-rules) ;
|
2013-08-01 10:51:16 +04:00
|
|
|
archDependentPackages = $(archDependentPackages:G=package-rules) ;
|
2013-08-06 02:47:51 +04:00
|
|
|
secondaryArchPackages = $(secondaryArchPackages:G=package-rules) ;
|
|
|
|
SEARCH on $(packages) $(archDependentPackages) $(secondaryArchPackages)
|
2013-08-01 10:51:16 +04:00
|
|
|
= [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ;
|
2013-05-05 17:02:57 +04:00
|
|
|
|
2013-05-05 20:25:31 +04:00
|
|
|
local package ;
|
|
|
|
for package in $(packages) {
|
|
|
|
include $(package) ;
|
2011-06-20 04:00:36 +04:00
|
|
|
}
|
2013-08-01 10:51:16 +04:00
|
|
|
|
|
|
|
for package in $(archDependentPackages) {
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in [ MultiArchSubDirSetup ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
include $(package) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-08-06 02:47:51 +04:00
|
|
|
|
|
|
|
for package in $(secondaryArchPackages) {
|
|
|
|
local architectureObject ;
|
|
|
|
for architectureObject in
|
|
|
|
[ MultiArchSubDirSetup $(TARGET_PACKAGING_ARCHS[2-]) ] {
|
|
|
|
on $(architectureObject) {
|
|
|
|
include $(package) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|