SubDir HAIKU_TOP src add-ons kernel file_systems reiserfs ;

local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems
	userlandfs ] ;
local userlandFSIncludes = [ PrivateHeaders userlandfs ] ;

UsePrivateHeaders kernel ;
SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ;

SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ;

DEFINES += DEBUG_APP="\\\"reiserfs\\\"" ;

KernelAddon reiserfs
	:
	Debug.cpp
	String.cpp

	Block.cpp
	BlockCache.cpp
	hashes.cpp
	Item.cpp
	Iterators.cpp
	kernel_interface.cpp
	Settings.cpp
	SuperBlock.cpp
	Tree.cpp
	VNode.cpp
	Volume.cpp

	: $(HAIKU_STATIC_LIBSUPC++)
;
