SubDir HAIKU_TOP src tools fs_shell ;UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ;if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) {UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ;UseHeaders [ FDirName $(HAIKU_TOP) headers build os kernel ] : true ;UseHeaders [ FDirName $(HAIKU_TOP) headers build os storage ] : true ;UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ;}UsePrivateHeaders fs_shell shared file_systems ;DEFINES += FS_SHELL=1 ;# prevent inclusion of HaikuBuildCompatibility.h and _BSD_SOURCE headersDEFINES += HAIKU_BUILD_COMPATIBILITY_H __STRICT_ANSI__ ;# platform specific sources/librarieslocal fsShellCommandSources ;local externalCommandsSources ;local fsShellCommandLibs ;if $(HOST_PLATFORM_HAIKU_COMPATIBLE) && $(HOST_PLATFORM) != haiku_host {# BeOS compatible, but not Haiku -- use BeOS ports for communicationfsShellCommandSources = fs_shell_command_beos.cpp ;externalCommandsSources = external_commands_beos.cpp ;} else {# Unix or Haiku -- use FIFOs for communicationfsShellCommandSources = fs_shell_command_unix.cpp ;externalCommandsSources = external_commands_unix.cpp ;}local kernelEmulationSources =atomic.cppblock_cache.cppbyte_order.cppcommand_cp.cppdisk_device_manager.cppdriver_settings.cpperrno.cppfcntl.cppfd.cppfile_cache.cppfile_map.cppkernel_export.cppKPath.cpphash.cpplist.cpplock.cppmodule.cppnode_monitor.cpppartition_support.cpppath_util.cpprootfs.cppsem.cppstat.cppstat_util.cppstdio.cppstring.cppthread.cpptime.cppuio.cppunistd.cppvfs.cpp;BuildPlatformMergeObject <build>fs_shell_kernel.o : $(kernelEmulationSources) ;BuildPlatformStaticLibrary <build>fuse_module.a :$(externalCommandsSources)fuse.cpp: <build>fs_shell_kernel.o;BuildPlatformStaticLibrary <build>fs_shell.a :$(externalCommandsSources)fssh.cppfssh_additional_commands.cpp: <build>fs_shell_kernel.o;SEARCH on [ FGristFiles rootfs.cpp ]= [ FDirName $(HAIKU_TOP) src system kernel fs ] ;SEARCH on [ FGristFiles file_map.cpp ]= [ FDirName $(HAIKU_TOP) src system kernel cache ] ;BuildPlatformMain <build>fs_shell_command: fs_shell_command.cpp $(fsShellCommandSources): $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) $(fsShellCommandLibs) ;