1# Since we also build a big-endian version of BFS, 2# this file is also included by the Jamfile in ../bfs_big/. 3 4# set some additional defines 5{ 6 local defines = 7 BFS_DEBUGGER_COMMANDS 8 ; 9 10 if $(SUBDIR:B) = bfs_big { 11 defines += BFS_BIG_ENDIAN_ONLY ; 12 SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ; 13 } 14 15 if $(TARGET_PACKAGING_ARCH) = x86_gcc2 { 16 # GCC2 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 25UsePrivateKernelHeaders ; 26UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 27UsePrivateHeaders shared storage ; 28 29local bfsSources = 30 bfs_disk_system.cpp 31 BlockAllocator.cpp 32 BPlusTree.cpp 33 kernel_cpp.cpp 34 Attribute.cpp 35 CheckVisitor.cpp 36 Debug.cpp 37 FileSystemVisitor.cpp 38 Index.cpp 39 Inode.cpp 40 Journal.cpp 41 Query.cpp 42 QueryParserUtils.cpp 43 ResizeVisitor.cpp 44 Volume.cpp 45 46 kernel_interface.cpp 47 ; 48 49KernelAddon $(SUBDIR:B) : 50 $(bfsSources) 51 ; 52 53SEARCH on [ FGristFiles $(bfsSources) ] 54 = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ; 55 56SEARCH on [ FGristFiles kernel_cpp.cpp ] 57 = [ FDirName $(HAIKU_TOP) src system kernel util ] ; 58 59SEARCH on [ FGristFiles QueryParserUtils.cpp ] 60 += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 61