1 SubDir HAIKU_TOP src system boot loader file_systems tarfs ;
3 SetupFeatureObjectsDir $(TARGET_BOOT_PLATFORM) ;
5 UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
6 UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
7 UsePrivateHeaders kernel shared storage ;
9 local zlibSourceDirectory = [ BuildFeatureAttribute zlib : sources : path ] ;
10 UseHeaders $(zlibSourceDirectory) ;
11 UseHeaders $(zlibSourceDirectory) : true ;
13 local defines = [ FDefines _BOOT_MODE ] ;
14 SubDirCcFlags $(defines) ;
15 SubDirC++Flags -fno-rtti $(defines) ;
28 LOCATE on [ FGristFiles $(zlibSources) ] = $(zlibSourceDirectory) ;
29 Depends [ FGristFiles $(zlibSources) ]
30 : [ BuildFeatureAttribute zlib : sources ] ;
32 BootStaticLibrary boot_zlib :
37 Includes [ FGristFiles tarfs.cpp ] : [ BuildFeatureAttribute zlib : sources ] ;
38 # Strictly speaking it should be "headers", but the sources contain the
39 # headers as well and we have already added the sources directory to the
40 # header search path for the subdirectory. Should building boot_zlib be
41 # moved to its own directory, this should better be changes as well.
43 BootStaticLibrary boot_tarfs :