1SubDir HAIKU_TOP src add-ons kernel file_systems userlandfs server fuse ; 2 3local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel 4 file_systems userlandfs ] ; 5local userlandFSIncludes = [ PrivateHeaders userlandfs ] ; 6 7UsePrivateHeaders kernel shared ; 8SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ; 9SubDirSysHdrs [ FDirName $(userlandFSIncludes) fuse ] ; 10SubDirHdrs [ FDirName $(userlandFSIncludes) private ] ; 11SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ; 12 13# Don't warn on truncation under gcc6+ 14SubDirC++Flags -Wno-format-truncation ; 15 16SEARCH_SOURCE += [ FDirName $(userlandFSTop) private ] ; 17SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ; 18 19DEFINES += USER=1 ; 20DEFINES += DEBUG_APP="\\\"libuserlandfs_fuse\\\"" ; 21DEFINES += BUILDING_USERLAND_FS_SERVER=1 ; 22DEFINES += _FILE_OFFSET_BITS=64 ; 23DEFINES += PACKAGE_VERSION=\\\"2.9.9\\\" ; 24 25# the library providing the FUSE interface for add-ons 26SharedLibrary libuserlandfs_fuse.so 27 : 28 fuse_config.c 29 fuse_fs.cpp 30 fuse_main.cpp 31 fuse_opt.c 32 fuse_signals.c 33 helper.c 34 FUSEFileSystem.cpp 35 FUSELowLevel.cpp 36 FUSEVolume.cpp 37 mime_ext_table.c 38 : 39 <nogrist>userlandfs_server shared be [ TargetLibsupc++ ] 40; 41 42SEARCH on [ FGristFiles mime_ext_table.c ] 43 += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ; 44