SubDir HAIKU_TOP src tests add-ons kernel file_systems xfs xfs_shell ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems xfs ] ; # prevent inclusion of HaikuBuildCompatibility.h and _BSD_SOURCE headers DEFINES += HAIKU_BUILD_COMPATIBILITY_H __STRICT_ANSI__ ; # set some additional defines { local defines = FS_SHELL ; defines = [ FDefines $(defines) ] ; local c++flags = ; SubDirCcFlags $(defines) -Wno-multichar ; SubDirC++Flags $(defines) $(c++flags) -Wno-multichar -fno-rtti ; } # platform specific libraries local fsShellCommandLibs ; if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) { fsShellCommandLibs = $(HOST_NETWORK_LIBS) ; } 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 support ] : true ; } UsePrivateHeaders shared storage ; UsePrivateHeaders fs_shell ; UsePrivateHeaders file_systems ; UseHeaders [ FDirName $(HAIKU_TOP) headers private ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) src tools fs_shell ] ; local xfsSource = DeviceOpener.cpp Directory.cpp Extent.cpp Inode.cpp kernel_interface.cpp ShortDirectory.cpp Volume.cpp xfs.cpp ; BuildPlatformMergeObject xfs_shell.o : $(xfsSource) ; BuildPlatformMain xfs_shell : : xfs_shell.o fs_shell.a $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(HOST_LIBROOT) $(fsShellCommandLibs) ; BuildPlatformMain xfs_fuse : : xfs_shell.o fuse_module.a $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(HOST_STATIC_LIBROOT) $(fsShellCommandLibs) fuse ; SEARCH on [ FGristFiles QueryParserUtils.cpp ] += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; SEARCH on [ FGristFiles DeviceOpener.cpp ] += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;