# Since we also build a big-endian version of BFS,# this file is also included by the Jamfile in ../bfs_big/.# set some additional defines{local defines =BFS_DEBUGGER_COMMANDS;if $(SUBDIR:B) = bfs_big {defines += BFS_BIG_ENDIAN_ONLY ;SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ;}if $(TARGET_KERNEL_ARCH) = x86_gcc2 {# GCC2 doesn't compile BFS correctly with -O2 or moreOPTIM = -O1 ;}defines = [ FDefines $(defines) ] ;SubDirCcFlags $(defines) ;SubDirC++Flags $(defines) ;}UsePrivateKernelHeaders ;UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;UsePrivateHeaders shared storage ;local bfsSources =bfs_disk_system.cppBlockAllocator.cppBPlusTree.cppAttribute.cppCheckVisitor.cppDebug.cppDeviceOpener.cppFileSystemVisitor.cppIndex.cppInode.cppJournal.cppQuery.cppQueryParserUtils.cppResizeVisitor.cppVolume.cppkernel_interface.cpp;KernelAddon $(SUBDIR:B) :$(bfsSources);SEARCH on [ FGristFiles $(bfsSources) ]= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;SEARCH on [ FGristFiles QueryParserUtils.cpp DeviceOpener.cpp ]+= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;