xref: /haiku/src/add-ons/kernel/file_systems/udf/Jamfile (revision b13724e955f4358f094977f3c3f734e2d0bf53f4)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src add-ons kernel file_systems udf ;
270eaa1f5STyler Dauwalder
37d4d702eSJérôme DuvalSetSubDirSupportedPlatformsBeOSCompatible ;
4662e61b3SNathan WhitehornSubDirC++Flags -fno-rtti ;
5662e61b3SNathan Whitehorn
670eaa1f5STyler Dauwalder# save original optimization level
770eaa1f5STyler DauwalderoldOPTIM = $(OPTIM) ;
870eaa1f5STyler Dauwalder
970eaa1f5STyler Dauwalder# set some additional defines
1070eaa1f5STyler Dauwalder{
1170eaa1f5STyler Dauwalder	local defines =
1270eaa1f5STyler Dauwalder		KEEP_WRONG_DIRENT_RECLEN
1370eaa1f5STyler Dauwalder		;
1470eaa1f5STyler Dauwalder
1570eaa1f5STyler Dauwalder	defines = [ FDefines $(defines) ] ;
1670eaa1f5STyler Dauwalder	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
1770eaa1f5STyler Dauwalder	SubDirC++Flags $(defines) -Wall -Wno-multichar ;
1870eaa1f5STyler Dauwalder}
1970eaa1f5STyler Dauwalder
20*b13724e9SSalvatore BenedettoUsePrivateKernelHeaders ;
2104062eb9STyler Dauwalder
22c49e0c68SJérôme DuvalKernelAddon udf :
2357c80a0cSTyler Dauwalder	DString.cpp
24e90fa962STyler Dauwalder	Icb.cpp
2572090c98STyler Dauwalder	MetadataPartition.cpp
2672090c98STyler Dauwalder	PhysicalPartition.cpp
272ab307bdSTyler Dauwalder	Recognition.cpp
2872090c98STyler Dauwalder	SparablePartition.cpp
29e90fa962STyler Dauwalder	UdfDebug.cpp
30dce2dc5cSTyler Dauwalder	UdfString.cpp
319c6a0588STyler Dauwalder	UdfStructures.cpp
32865abd0eSTyler Dauwalder	Utils.cpp
3372090c98STyler Dauwalder	VirtualPartition.cpp
3470eaa1f5STyler Dauwalder	Volume.cpp
35*b13724e9SSalvatore Benedetto
36*b13724e9SSalvatore Benedetto	kernel_interface.cpp
3770eaa1f5STyler Dauwalder	;
3870eaa1f5STyler Dauwalder
39c52519cfSTyler DauwalderSEARCH on [ FGristFiles
40c52519cfSTyler Dauwalder		kernel_cpp.cpp
41338b8dc3SIngo Weinhold	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
42c52519cfSTyler Dauwalder
43c52519cfSTyler Dauwalder
4470eaa1f5STyler Dauwalderrule InstallUDF
4570eaa1f5STyler Dauwalder{
4670eaa1f5STyler Dauwalder	Depends $(<) : $(>) ;
4770eaa1f5STyler Dauwalder}
4870eaa1f5STyler Dauwalder
4970eaa1f5STyler Dauwalderactions ignore InstallUDF
5070eaa1f5STyler Dauwalder{
5170eaa1f5STyler Dauwalder	cp $(>) /boot/home/config/add-ons/kernel/file_systems/
5270eaa1f5STyler Dauwalder}
5370eaa1f5STyler Dauwalder
5470eaa1f5STyler DauwalderInstallUDF install : udf ;
5570eaa1f5STyler Dauwalder
5670eaa1f5STyler Dauwalder# restore original optimization level
5770eaa1f5STyler DauwalderOPTIM = $(oldOPTIM) ;
5808f7d1d4STyler Dauwalder
59*b13724e9SSalvatore Benedetto#SubInclude HAIKU_TOP src add-ons kernel file_systems udf drive_setup_addon ;
60