xref: /haiku/src/system/boot/loader/file_systems/tarfs/Jamfile (revision b6a89f410eb68626663104bd9687830504634cb9)
1SubDir HAIKU_TOP src system boot loader file_systems tarfs ;
2
3UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
4UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
5UsePrivateHeaders kernel shared storage ;
6
7local zlibSourceDirectory = [ BuildFeatureAttribute zlib : sources : path ] ;
8UseHeaders $(zlibSourceDirectory) ;
9UseHeaders $(zlibSourceDirectory) : true ;
10
11local defines = [ FDefines _BOOT_MODE ] ;
12SubDirCcFlags $(defines) ;
13SubDirC++Flags -fno-rtti $(defines) ;
14
15
16local zlibSources =
17	inflate.c
18	inffast.c
19	inftrees.c
20	adler32.c
21	crc32.c
22	zutil.c
23	;
24
25LOCATE on [ FGristFiles $(zlibSources) ] = $(zlibSourceDirectory) ;
26Depends [ FGristFiles $(zlibSources) ]
27	: [ BuildFeatureAttribute zlib : sources ] ;
28
29BootStaticLibrary boot_zlib :
30	$(zlibSources)
31	: -fno-pic
32	;
33
34
35BootStaticLibrary boot_tarfs :
36	tarfs.cpp
37	: -fno-pic
38	;
39