xref: /haiku/src/add-ons/kernel/file_systems/udf/Jamfile (revision 959ff00ddee8411dabb09211f3bfbd52d87229da)
1SubDir HAIKU_TOP src add-ons kernel file_systems udf ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4SubDirC++Flags -fno-rtti ;
5
6# save original optimization level
7oldOPTIM = $(OPTIM) ;
8
9# set some additional defines
10{
11	local defines =
12		KEEP_WRONG_DIRENT_RECLEN
13		;
14
15	defines = [ FDefines $(defines) ] ;
16	SubDirCcFlags $(defines) -Wall -Wno-multichar ;
17	SubDirC++Flags $(defines) -Wall -Wno-multichar ;
18}
19
20UsePrivateKernelHeaders ;
21
22KernelAddon udf :
23	DString.cpp
24	Icb.cpp
25	MetadataPartition.cpp
26	PhysicalPartition.cpp
27	Recognition.cpp
28	SparablePartition.cpp
29	UdfDebug.cpp
30	UdfString.cpp
31	UdfStructures.cpp
32	Utils.cpp
33	VirtualPartition.cpp
34	Volume.cpp
35
36	kernel_interface.cpp
37	;
38
39SEARCH on [ FGristFiles
40		kernel_cpp.cpp
41	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
42
43
44rule InstallUDF
45{
46	Depends $(<) : $(>) ;
47}
48
49actions ignore InstallUDF
50{
51	cp $(>) /boot/home/config/add-ons/kernel/file_systems/
52}
53
54InstallUDF install : udf ;
55
56# restore original optimization level
57OPTIM = $(oldOPTIM) ;
58
59#SubInclude HAIKU_TOP src add-ons kernel file_systems udf drive_setup_addon ;
60