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 $(COMPILE_FOR_R5) { 10 defines += COMPILE_FOR_R5 ; 11 } 12 13 if $(DEBUG) { 14 defines += DEBUG ; 15 } else { 16 # the gcc on BeOS doesn't compile BFS correctly with -O2 or more 17 OPTIM = -O1 ; 18 } 19 20 defines = [ FDefines $(defines) ] ; 21 SubDirCcFlags $(defines) ; 22 SubDirC++Flags $(defines) ; 23} 24 25R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] : 26 BlockAllocator.cpp 27 BPlusTree.cpp 28 cpp.cpp 29 Debug.cpp 30 Index.cpp 31 Inode.cpp 32 Journal.cpp 33 kernel_interface.cpp 34 Query.cpp 35 Utility.cpp 36 Volume.cpp 37 BufferPool.cpp 38; 39 40rule InstallBFS 41{ 42 Depends $(<) : $(>) ; 43} 44 45actions ignore InstallBFS 46{ 47 cp $(>) /boot/home/config/add-ons/kernel/file_systems/ 48} 49 50InstallBFS install : obfs ; 51