1 SubDir HAIKU_TOP src tools fs_shell ;
3 UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ;
5 if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
6 UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ;
7 UseHeaders [ FDirName $(HAIKU_TOP) headers build os kernel ] : true ;
8 UseHeaders [ FDirName $(HAIKU_TOP) headers build os storage ] : true ;
9 UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ;
12 UsePrivateHeaders fs_shell ;
13 UsePrivateHeaders shared ;
15 DEFINES += FS_SHELL=1 ;
17 # prevent inclusion of HaikuBuildCompatibility.h
18 DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
20 # platform specific sources/libraries
21 local fsShellCommandSources ;
22 local externalCommandsSources ;
23 local fsShellCommandLibs ;
24 if $(HOST_PLATFORM_BEOS_COMPATIBLE) && $(HOST_PLATFORM) != haiku_host {
25 # BeOS compatible, but not Haiku -- use BeOS ports for communication
26 fsShellCommandSources = fs_shell_command_beos.cpp ;
27 externalCommandsSources = external_commands_beos.cpp ;
29 # Unix or Haiku -- use FIFOs for communication
30 fsShellCommandSources = fs_shell_command_unix.cpp ;
31 externalCommandsSources = external_commands_unix.cpp ;
34 local kernelEmulationSources =
39 disk_device_manager.cpp
68 BuildPlatformMergeObject <build>fs_shell_kernel.o : $(kernelEmulationSources) ;
70 BuildPlatformStaticLibrary <build>fuse_module.a :
71 $(externalCommandsSources)
74 : <build>fs_shell_kernel.o
77 BuildPlatformStaticLibrary <build>fs_shell.a :
78 $(externalCommandsSources)
81 fssh_additional_commands.cpp
83 : <build>fs_shell_kernel.o
86 SEARCH on [ FGristFiles rootfs.cpp ]
87 = [ FDirName $(HAIKU_TOP) src system kernel fs ] ;
88 SEARCH on [ FGristFiles file_map.cpp ]
89 = [ FDirName $(HAIKU_TOP) src system kernel cache ] ;
91 BuildPlatformMain <build>fs_shell_command
92 : fs_shell_command.cpp $(fsShellCommandSources)
93 : $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) $(fsShellCommandLibs) ;