1SubDir HAIKU_TOP src tools bfs_shell ; 2 3SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ; 4 5# set some additional defines 6{ 7 local defines = 8 #BFS_BIG_ENDIAN_ONLY 9 BFS_SHELL 10 ; 11 12 if $(DEBUG) = 0 { 13 # the gcc on BeOS doesn't compile BFS correctly with -O2 or more 14 OPTIM = -O1 ; 15 } 16 17 defines = [ FDefines $(defines) ] ; 18 SubDirCcFlags $(defines) -Wall -Wno-multichar ; 19 SubDirC++Flags $(defines) -Wall -Wno-multichar -fno-rtti ; 20} 21 22local libHaikuCompat ; 23if $(HOST_PLATFORM_BEOS_COMPATIBLE) && ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) { 24 libHaikuCompat = libhaikucompat_build.a ; 25} 26 27UsePrivateHeaders fs_shell ; 28 29BuildPlatformMain <build>bfs_shell 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 : <build>fs_shell.a $(libHaikuCompat) $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) 46 $(HOST_LIBROOT) 47; 48