2014-11-17 12:28:59 +03:00
|
|
|
local architecture = $(HAIKU_PACKAGING_ARCHS[1]) ;
|
|
|
|
|
|
|
|
local userlandFSPackage = userland_fs.hpkg ;
|
|
|
|
HaikuPackage $(userlandFSPackage) ;
|
|
|
|
|
|
|
|
# kernel module
|
|
|
|
AddFilesToPackage add-ons kernel file_systems : userlandfs ;
|
|
|
|
|
|
|
|
# server
|
|
|
|
AddFilesToPackage servers : userlandfs_server ;
|
|
|
|
|
|
|
|
|
|
|
|
# libs
|
2015-03-29 17:09:34 +03:00
|
|
|
local userlandfsLibs = [ FFilterByBuildFeatures
|
2018-11-18 22:36:28 +03:00
|
|
|
libuserlandfs_beos_kernel.so
|
2015-03-29 17:09:34 +03:00
|
|
|
libuserlandfs_haiku_kernel.so
|
|
|
|
libuserlandfs_fuse.so
|
|
|
|
]
|
|
|
|
;
|
|
|
|
|
2014-11-17 12:28:59 +03:00
|
|
|
AddLibrariesToPackage lib : $(userlandfsLibs) ;
|
|
|
|
|
|
|
|
# TODO move development stuff to a separate package?
|
|
|
|
|
|
|
|
# library symlinks
|
|
|
|
local lib ;
|
|
|
|
for lib in $(userlandfsLibs) {
|
|
|
|
AddSymlinkToPackage develop lib : /system/lib/$(lib:BS) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
# FUSE headers
|
|
|
|
|
|
|
|
local fuseHeaders =
|
|
|
|
fuse_common_compat.h
|
|
|
|
fuse_common.h
|
|
|
|
fuse_compat.h
|
|
|
|
fuse.h
|
|
|
|
fuse_lowlevel_compat.h
|
|
|
|
fuse_lowlevel.h
|
|
|
|
fuse_opt.h
|
|
|
|
;
|
|
|
|
fuseHeaders = $(fuseHeaders:G=userlandfs!fuse) ;
|
|
|
|
SEARCH on $(fuseHeaders)
|
|
|
|
= [ FDirName $(HAIKU_TOP) headers private userlandfs fuse ] ;
|
|
|
|
AddFilesToPackage develop headers userlandfs fuse : $(fuseHeaders) ;
|
|
|
|
|
2022-04-11 20:58:19 +03:00
|
|
|
# Pkg-config file (for ease of use with software designed for the original FUSE)
|
|
|
|
|
|
|
|
local fusePkgConfig = fuse.pc ;
|
|
|
|
fusePkgConfig = $(fusePkgConfig:G=userlandfs!fuse) ;
|
|
|
|
SEARCH on $(fusePkgConfig) = [ FDirName $(HAIKU_TOP) data develop ] ;
|
|
|
|
AddFilesToPackage develop lib pkgconfig : $(fusePkgConfig) ;
|
|
|
|
|
2014-11-17 12:28:59 +03:00
|
|
|
BuildHaikuPackage $(userlandFSPackage) : userland_fs ;
|