SubDir HAIKU_TOP src add-ons kernel file_systems userlandfs server fuse ; local userlandFSTop = [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems userlandfs ] ; local userlandFSIncludes = [ PrivateHeaders userlandfs ] ; UsePrivateHeaders kernel shared ; SubDirSysHdrs [ FDirName $(userlandFSIncludes) ] ; SubDirSysHdrs [ FDirName $(userlandFSIncludes) fuse ] ; SubDirHdrs [ FDirName $(userlandFSIncludes) private ] ; SubDirHdrs [ FDirName $(userlandFSIncludes) shared ] ; SEARCH_SOURCE += [ FDirName $(userlandFSTop) private ] ; SEARCH_SOURCE += [ FDirName $(userlandFSTop) shared ] ; DEFINES += USER=1 ; DEFINES += DEBUG_APP="\\\"libuserlandfs_fuse\\\"" ; DEFINES += BUILDING_USERLAND_FS_SERVER=1 ; DEFINES += _FILE_OFFSET_BITS=64 ; # the library providing the FUSE interface for add-ons SharedLibrary libuserlandfs_fuse.so : fuse_config.c fuse_fs.cpp fuse_main.cpp fuse_opt.c FUSEFileSystem.cpp FUSEVolume.cpp mime_ext_table.c : userlandfs_server shared be [ TargetLibsupc++ ] ; SEARCH on [ FGristFiles mime_ext_table.c ] += [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems shared ] ;