SubDir HAIKU_TOP src tools fs_shell ; UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ; if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) { UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ; #UseHeaders [ FDirName $(HAIKU_TOP) headers build os app ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers build os kernel ] : true ; #UseHeaders [ FDirName $(HAIKU_TOP) headers build os interface ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers build os storage ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ; } UsePrivateHeaders fs_shell ; UsePrivateHeaders shared ; local defines = [ FDefines FS_SHELL=1 ] ; SubDirCcFlags $(defines) ; SubDirC++Flags $(defines) ; # platform specific sources local fsShellCommandSources ; local externalCommandsSources ; if $(HOST_PLATFORM_BEOS_COMPATIBLE) { fsShellCommandSources = fs_shell_command_beos.cpp ; externalCommandsSources = external_commands_beos.cpp ; } else { fsShellCommandSources = fs_shell_command_unix.cpp ; externalCommandsSources = external_commands_unix.cpp ; } BuildPlatformStaticLibrary fs_shell.a : atomic.cpp block_cache.cpp command_cp.cpp disk_device_manager.cpp driver_settings.cpp errno.cpp fcntl.cpp fd.cpp file_cache.cpp file_map.cpp kernel_export.cpp KPath.cpp hash.cpp list.cpp lock.cpp module.cpp node_monitor.cpp path_util.cpp rootfs.cpp sem.cpp stat.cpp stat_util.cpp stdio.cpp string.cpp thread.cpp time.cpp uio.cpp unistd.cpp vfs.cpp $(externalCommandsSources) fssh.cpp ; SEARCH on [ FGristFiles rootfs.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel fs ] ; BuildPlatformMain fs_shell_command : fs_shell_command.cpp $(fsShellCommandSources) : $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;