1SubDir HAIKU_TOP src tools fs_shell ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ; 4 5if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ; 7 #UseHeaders [ FDirName $(HAIKU_TOP) headers build os app ] : true ; 8 UseHeaders [ FDirName $(HAIKU_TOP) headers build os kernel ] : true ; 9 #UseHeaders [ FDirName $(HAIKU_TOP) headers build os interface ] : true ; 10 UseHeaders [ FDirName $(HAIKU_TOP) headers build os storage ] : true ; 11 UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ; 12} 13 14UsePrivateHeaders fs_shell ; 15UsePrivateHeaders shared ; 16 17# platform specific sources 18local fsShellCommandSources ; 19local externalCommandsSources ; 20if $(HOST_PLATFORM_BEOS_COMPATIBLE) { 21 fsShellCommandSources = fs_shell_command_beos.cpp ; 22 externalCommandsSources = external_commands_beos.cpp ; 23} else { 24 fsShellCommandSources = fs_shell_command_unix.cpp ; 25 externalCommandsSources = external_commands_unix.cpp ; 26} 27 28BuildPlatformStaticLibrary <build>fs_shell.a : 29 atomic.cpp 30 block_cache.cpp 31 command_cp.cpp 32 errno.cpp 33 fcntl.cpp 34 fd.cpp 35 file_cache.cpp 36 kernel_export.cpp 37 KPath.cpp 38 hash.cpp 39 list.cpp 40 lock.cpp 41 module.cpp 42 node_monitor.cpp 43 path_util.cpp 44 rootfs.cpp 45 sem.cpp 46 stat.cpp 47 stat_util.cpp 48 stdio.cpp 49 string.cpp 50 thread.cpp 51 time.cpp 52 uio.cpp 53 unistd.cpp 54 vfs.cpp 55 56 $(externalCommandsSources) 57 58 fssh.cpp 59; 60 61BuildPlatformMain <build>fs_shell_command 62 : fs_shell_command.cpp $(fsShellCommandSources) 63 : $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ; 64