1SubDir HAIKU_TOP src tools fat_shell ; 2 3# prevent inclusion of HaikuBuildCompatibility.h 4DEFINES += HAIKU_BUILD_COMPATIBILITY_H ; 5 6# set some additional defines 7{ 8 local defines = 9 FS_SHELL 10 ; 11 defines = [ FDefines $(defines) ] ; 12 13 local c++flags = -fno-rtti ; 14 15 SubDirCcFlags $(defines) [ FDefines _FSSH_AUTO_LOCKER_H=1 _FSSH_STACK_H=1 ] ; 16 # prevent inclusion of C++ headers 17 SubDirC++Flags $(defines) $(c++flags) ; 18} 19 20UsePrivateHeaders shared storage file_systems ; 21UsePrivateHeaders fs_shell ; 22UseHeaders [ FDirName $(HAIKU_TOP) src tools fs_shell ] ; 23 24local commonSource ; 25 26include [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems fat JamCommon ] ; 27 28BuildPlatformMergeObject <build>fatfs.o 29 : 30 $(commonSource) 31; 32 33BuildPlatformMain <build>fat_shell 34 : : 35 <build>fatfs.o 36 <build>fs_shell.a 37 $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) 38 $(HOST_LIBROOT) 39 $(fsShellCommandLibs) 40; 41 42BuildPlatformMain <build>fat_fuse 43 : : 44 <build>fatfs.o 45 <build>fuse_module.a 46 $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) 47 $(HOST_STATIC_LIBROOT) 48 $(fsShellCommandLibs) fuse 49; 50