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