1SubDir HAIKU_TOP src add-ons kernel file_systems bfs ; 2 3# R5 support has been removed! 4# 5# Have a look in src/tests/add-ons/kernel/file_systems/bfs/r5/ 6# for an R5 compatible version. 7# In order to make the current BFS version R5 compatible again, 8# we would need to port over the Haiku cache API to R5. 9 10# set some additional defines 11{ 12 local defines = 13 BFS_DEBUGGER_COMMANDS 14 #BFS_BIG_ENDIAN_ONLY 15 ; 16 17 if $(DEBUG) = 0 { 18 # the gcc on BeOS doesn't compile BFS correctly with -O2 or more 19 OPTIM = -O1 ; 20 } 21 22 defines = [ FDefines $(defines) ] ; 23 SubDirCcFlags $(defines) -Wall -Wno-multichar ; 24 SubDirC++Flags $(defines) -Wall -Wno-multichar ; 25} 26 27UsePrivateHeaders [ FDirName kernel ] ; # For kernel_cpp.cpp 28UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 29UsePrivateHeaders [ FDirName shared ] ; 30UsePrivateHeaders [ FDirName storage ] ; 31 32KernelAddon bfs : 33 bfs_disk_system.cpp 34 BlockAllocator.cpp 35 BPlusTree.cpp 36 kernel_cpp.cpp 37 Attribute.cpp 38 Debug.cpp 39 Index.cpp 40 Inode.cpp 41 Journal.cpp 42 Query.cpp 43 Utility.cpp 44 Volume.cpp 45 46 kernel_interface.cpp 47 ; 48 49SEARCH on [ FGristFiles 50 kernel_cpp.cpp 51 ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 52 53