SubDir HAIKU_TOP src tests add-ons kernel file_systems ufs2 ufs2_shell ; SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems ufs2 ] ; # 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 ufs2Source = DeviceOpener.cpp DirectoryIterator.cpp Inode.cpp Volume.cpp kernel_interface.cpp ; BuildPlatformMergeObject ufs2.o : $(ufs2Source) ; BuildPlatformMain ufs2_shell : : ufs2.o fs_shell.a $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) $(HOST_LIBROOT) $(fsShellCommandLibs) ; BuildPlatformMain ufs2_fuse : : ufs2.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 ] ;