1SubDir HAIKU_TOP src tests system kernel file_corruption fs ;
2
3
4UsePrivateKernelHeaders ;
5UsePrivateHeaders libroot ;
6
7UseHeaders [ FDirName $(SUBDIR) $(DOTDOT) ] ;
8
9UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems ] ;
10	# We use packagefs's DebugSupport.h header, but we don't want to add that
11	# header to avoid clashes with other headers.
12
13
14DEFINES += DEBUG_APP="\\\"checksumfs\\\"" ;
15
16SubDirC++Flags -Werror ;
17
18
19HAIKU_CHECKSUM_FS_SOURCES =
20	Block.cpp
21	BlockAllocator.cpp
22	checksumfs.cpp
23	Directory.cpp
24	File.cpp
25	Node.cpp
26	Notifications.cpp
27	SuperBlock.cpp
28	SymLink.cpp
29	Transaction.cpp
30	Volume.cpp
31;
32
33KernelAddon checksumfs :
34	$(HAIKU_CHECKSUM_FS_SOURCES)
35
36	# from packagefs
37	DebugSupport.cpp
38
39	# from src/system/libroot/posix/crypt
40	SHA256.cpp
41;
42
43
44SEARCH on [ FGristFiles DebugSupport.cpp ]
45	= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems packagefs ] ;
46SEARCH on [ FGristFiles SHA256.cpp ]
47	= [ FDirName $(HAIKU_TOP) src system libroot posix crypt ] ;
48
49HaikuSubInclude userland ;
50