xref: /haiku/src/tests/add-ons/kernel/file_systems/udf/udf_shell/Jamfile (revision b55a57da7173b9af0432bd3e148d03f06161d036)
1SubDir HAIKU_TOP src tests add-ons kernel file_systems udf udf_shell ;
2
3SubDirHdrs $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell ;
4SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems udf ;
5
6UsePrivateHeaders [ FDirName kernel util ] ;
7UsePrivateHeaders [ FDirName kernel ] ;
8
9{
10	local defines = [ FDefines USER ] ; # DEBUG _NO_INLINE_ASM
11	SubDirCcFlags $(defines) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage
12	SubDirC++Flags $(defines) -fno-exceptions -fno-rtti ; #-fcheck-memory-usage
13}
14
15local fsShellSources =
16	fsh.c rootfs.c initfs.c kernel.c cache.c external_commands.cpp sl.c
17	stub.c tracker.cpp sysdep.c hexdump.c argv.c
18;
19
20SimpleTest udf_shell
21	:
22	$(fsShellSources)
23
24	udf.cpp
25	DirectoryIterator.cpp DString.cpp Icb.cpp
26	MetadataPartition.cpp PhysicalPartition.cpp Recognition.cpp
27	UdfDebug.cpp UdfString.cpp UdfStructures.cpp Utils.cpp
28	SparablePartition.cpp VirtualPartition.cpp Volume.cpp
29	:
30	;
31
32# Tell Jam where to find these sources
33SEARCH on [ FGristFiles
34		udf.cpp
35		CS0String.cpp DirectoryIterator.cpp DString.cpp Icb.cpp
36		MetadataPartition.cpp PhysicalPartition.cpp Recognition.cpp
37		UdfDebug.cpp  UdfString.cpp UdfStructures.cpp Utils.cpp
38		SparablePartition.cpp VirtualPartition.cpp Volume.cpp
39	] = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems udf ] ;
40
41SEARCH on [ FGristFiles
42		$(fsShellSources)
43	] = [ FDirName $(HAIKU_TOP) src tests add-ons kernel file_systems fs_shell ] ;
44