xref: /haiku/build/jam/HaikuPackages (revision 225b6382637a7346d5378ee45a6581b4e2616055)
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	;
20
21
22packages = $(packages:G=package-rules) ;
23archDependentPackages = $(archDependentPackages:G=package-rules) ;
24SEARCH on $(packages) $(archDependentPackages)
25	= [ FDirName $(HAIKU_BUILD_RULES_DIR) packages ] ;
26
27local package ;
28for package in $(packages) {
29	include $(package) ;
30}
31
32for package in $(archDependentPackages) {
33	local architectureObject ;
34	for architectureObject in [ MultiArchSubDirSetup ] {
35		on $(architectureObject) {
36			include $(package) ;
37		}
38	}
39}
40