xref: /haiku/src/system/boot/loader/file_systems/tarfs/Jamfile (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1SubDir HAIKU_TOP src system boot loader file_systems tarfs ;
2
3UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
4UsePrivateHeaders kernel shared storage ;
5
6UseBuildFeatureHeaders zlib ;
7
8local defines = [ FDefines _BOOT_MODE ] ;
9SubDirCcFlags $(defines) ;
10SubDirC++Flags -fno-rtti $(defines) ;
11
12local platform ;
13for platform in [ MultiBootSubDirSetup ] {
14	on $(platform) {
15		UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
16
17		BootStaticLibrary [ MultiBootGristFiles boot_tarfs ] :
18			tarfs.cpp
19			;
20
21		Includes [ FGristFiles tarfs.cpp ] : [ BuildFeatureAttribute zlib : headers ] ;
22	}
23}
24