1SubDir OBOS_TOP src add-ons kernel file_systems bfs ; 2 3# set some additional defines 4{ 5 local defines = 6 KEEP_WRONG_DIRENT_RECLEN 7 ; 8 9 if $(DEBUG) { 10 defines += DEBUG ; 11 } 12 13 defines = [ FDefines $(defines) ] ; 14 SubDirCcFlags $(defines) ; 15 SubDirC++Flags $(defines) ; 16} 17 18R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] : 19 BlockAllocator.cpp 20 BPlusTree.cpp 21 cpp.cpp 22 Debug.cpp 23 Index.cpp 24 Inode.cpp 25 Journal.cpp 26 kernel_interface.cpp 27 Query.cpp 28 Utility.cpp 29 Volume.cpp 30 BufferPool.cpp 31; 32 33rule InstallBFS 34{ 35 Depends $(<) : $(>) ; 36} 37 38actions ignore InstallBFS 39{ 40 cp $(>) /boot/home/config/add-ons/kernel/file_systems/ 41} 42 43InstallBFS install : obfs ; 44