xref: /haiku/src/add-ons/kernel/file_systems/udf/Jamfile (revision c9ad965c81b08802fed0827fd1dd16f45297928a)
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 -fno-rtti ;
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_cpp.cpp
37	kernel_interface.cpp
38	;
39
40SEARCH on [ FGristFiles
41		kernel_cpp.cpp
42	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
43
44
45rule InstallUDF
46{
47	Depends $(<) : $(>) ;
48}
49
50actions ignore InstallUDF
51{
52	cp $(>) /boot/home/config/add-ons/kernel/file_systems/
53}
54
55InstallUDF install : udf ;
56
57# restore original optimization level
58OPTIM = $(oldOPTIM) ;
59
60#SubInclude HAIKU_TOP src add-ons kernel file_systems udf drive_setup_addon ;
61