1 SubDir HAIKU_TOP src tools bfs_shell ;
3 SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems bfs ] ;
5 # prevent inclusion of HaikuBuildCompatibility.h
6 DEFINES += HAIKU_BUILD_COMPATIBILITY_H ;
8 # set some additional defines
16 # the gcc on BeOS doesn't compile BFS correctly with -O2 or more
20 defines = [ FDefines $(defines) ] ;
21 SubDirCcFlags $(defines) -Wno-multichar ;
22 SubDirC++Flags $(defines) -Wno-multichar -fno-rtti ;
25 # platform specific libraries
26 local fsShellCommandLibs ;
27 if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
28 fsShellCommandLibs = $(HOST_NETWORK_LIBS) ;
31 UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ;
33 if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) {
34 UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ;
35 UseHeaders [ FDirName $(HAIKU_TOP) headers build os support ] : true ;
38 UsePrivateHeaders shared storage ;
39 UsePrivateHeaders fs_shell ;
40 UseHeaders [ FDirName $(HAIKU_TOP) headers private ] : true ;
41 UseHeaders [ FDirName $(HAIKU_TOP) src tools fs_shell ] ;
59 BuildPlatformMergeObject <build>bfs.o : $(bfsSource) ;
61 BuildPlatformMain <build>bfs_shell
63 additional_commands.cpp
67 <build>fs_shell.a $(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
68 $(HOST_LIBROOT) $(fsShellCommandLibs)
71 BuildPlatformMain <build>bfs_fuse
76 $(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
77 $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) fuse
80 SEARCH on [ FGristFiles QueryParserUtils.cpp ]
81 += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;