1SubDir HAIKU_TOP src tests add-ons kernel file_systems userlandfs bfs ; 2 3local bfsTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ; 4 5SEARCH_SOURCE += $(bfsTop) ; 6 7# set some additional defines 8{ 9 local defines = 10 #BFS_BIG_ENDIAN_ONLY 11 USER=1 12 ; 13 14 if $(TARGET_PACKAGING_ARCH) = x86_gcc2 { 15 # GCC2 doesn't compile BFS correctly with -O2 or more 16 OPTIM = -O1 ; 17 } 18 19 defines = [ FDefines $(defines) ] ; 20 SubDirCcFlags $(defines) ; 21 SubDirC++Flags $(defines) -fno-rtti ; 22} 23 24UsePrivateKernelHeaders ; 25UsePrivateHeaders shared ; 26#UsePrivateHeaders [ FDirName kernel disk_device_manager ] ; 27#UsePrivateHeaders [ FDirName storage ] ; 28 29Addon <userland>bfs 30 : 31 bfs_disk_system.cpp 32 BlockAllocator.cpp 33 BPlusTree.cpp 34 Attribute.cpp 35 Debug.cpp 36 Index.cpp 37 Inode.cpp 38 Journal.cpp 39 Query.cpp 40 Utility.cpp 41 Volume.cpp 42 43 kernel_interface.cpp 44 45 : libuserlandfs_haiku_kernel.so [ TargetLibsupc++ ] 46; 47