xref: /haiku/build/jam/HaikuPackages (revision b0944c78b074a8110bd98e060415d0e8f38a7f65)
1b38b2796SIngo Weinhold# The packages we build. Each is defined in its own file in the packages/
2b38b2796SIngo Weinhold# subdirectory.
3b38b2796SIngo Weinholdlocal packages =
4b38b2796SIngo Weinhold	HaikuDevel
564bb8830SIngo Weinhold	HaikuLoader
6b38b2796SIngo Weinhold	HaikuUserguide
7b38b2796SIngo Weinhold	HaikuWelcome
8b38b2796SIngo Weinhold	MakefileEngine
9355b8ba7SIngo Weinhold	;
10355b8ba7SIngo Weinhold
1178f4c163SIngo Weinholdif $(HAIKU_BOOTSTRAP_BUILD) {
1278f4c163SIngo Weinhold	packages += HaikuBootstrap ;
1378f4c163SIngo Weinhold} else {
1478f4c163SIngo Weinhold	packages += Haiku ;
1578f4c163SIngo Weinhold}
1678f4c163SIngo Weinhold
17*b0944c78SIngo Weinholdlocal archDependentPackages =
18*b0944c78SIngo Weinhold	HaikuCrossDevel
19*b0944c78SIngo Weinhold	;
20*b0944c78SIngo Weinhold
2178f4c163SIngo Weinhold
22b38b2796SIngo Weinholdpackages = $(packages:G=package-rules) ;
23*b0944c78SIngo WeinholdarchDependentPackages = $(archDependentPackages:G=package-rules) ;
24*b0944c78SIngo WeinholdSEARCH on $(packages) $(archDependentPackages)
25*b0944c78SIngo Weinhold	= [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ;
2625a7b01dSIngo Weinhold
27b38b2796SIngo Weinholdlocal package ;
28b38b2796SIngo Weinholdfor package in $(packages) {
29b38b2796SIngo Weinhold	include $(package) ;
303f6ca2fdSIngo Weinhold}
31*b0944c78SIngo Weinhold
32*b0944c78SIngo Weinholdfor package in $(archDependentPackages) {
33*b0944c78SIngo Weinhold	local architectureObject ;
34*b0944c78SIngo Weinhold	for architectureObject in [ MultiArchSubDirSetup ] {
35*b0944c78SIngo Weinhold		on $(architectureObject) {
36*b0944c78SIngo Weinhold			include $(package) ;
37*b0944c78SIngo Weinhold		}
38*b0944c78SIngo Weinhold	}
39*b0944c78SIngo Weinhold}
40