xref: /haiku/src/add-ons/kernel/file_systems/xfs/Jamfile (revision 0604d554e86e2efd500ad49d12388258bb994dbe)
1SubDir HAIKU_TOP src add-ons kernel file_systems xfs ;
2
3# set some additional defines
4{
5	local defines =
6		XFS_DEBUGGER_COMMANDS
7		;
8
9	defines = [ FDefines $(defines) ] ;
10	SubDirCcFlags $(defines) ;
11	SubDirC++Flags $(defines) ;
12}
13
14UsePrivateHeaders [ FDirName kernel util ] ;
15UsePrivateHeaders shared storage file_systems ;
16UsePrivateKernelHeaders ;
17
18DEFINES += DEBUG_APP="\\\"xfs\\\"" ;
19
20UseHeaders [ FDirName $(HAIKU_TOP) src libs uuid ] : true ;
21UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] : true ;
22
23local xfsSources =
24	BPlusTree.cpp
25	Directory.cpp
26	Extent.cpp
27	Inode.cpp
28	kernel_cpp.cpp
29	kernel_interface.cpp
30	LeafDirectory.cpp
31	Node.cpp
32	ShortDirectory.cpp
33	Volume.cpp
34	xfs.cpp
35	;
36local sharedSources =
37	crc32.cpp
38	CRCTable.cpp
39	DeviceOpener.cpp
40	;
41KernelAddon xfs :
42	$(xfsSources)
43	$(sharedSources)
44	:
45	libuuid_kernel.a
46;
47
48SEARCH on [ FGristFiles $(xfsSources) ]
49	= [ FDirName  $(HAIKU_TOP) src add-ons kernel file_systems xfs ] ;
50
51SEARCH on [ FGristFiles $(sharedSources) ]
52	= [ FDirName  $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;
53
54SEARCH on [ FGristFiles kernel_cpp.cpp ]
55	= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
56
57
58