1local architecture = $(HAIKU_PACKAGING_ARCHS[1]) ; 2 3local userlandFSPackage = userland_fs.hpkg ; 4HaikuPackage $(userlandFSPackage) ; 5 6# kernel module 7AddFilesToPackage add-ons kernel file_systems : userlandfs ; 8 9# server 10AddFilesToPackage servers : userlandfs_server ; 11 12 13# libs 14local userlandfsLibs = [ FFilterByBuildFeatures 15 libuserlandfs_beos_kernel.so 16 libuserlandfs_haiku_kernel.so 17 libuserlandfs_fuse.so 18 ] 19 ; 20 21AddLibrariesToPackage lib : $(userlandfsLibs) ; 22 23# TODO move development stuff to a separate package? 24 25# library symlinks 26local lib ; 27for lib in $(userlandfsLibs) { 28 AddSymlinkToPackage develop lib : /system/lib/$(lib:BS) ; 29} 30 31 32# FUSE headers 33 34local fuseHeaders = 35 fuse_common_compat.h 36 fuse_common.h 37 fuse_compat.h 38 fuse.h 39 fuse_lowlevel_compat.h 40 fuse_lowlevel.h 41 fuse_opt.h 42; 43fuseHeaders = $(fuseHeaders:G=userlandfs!fuse) ; 44SEARCH on $(fuseHeaders) 45 = [ FDirName $(HAIKU_TOP) headers private userlandfs fuse ] ; 46AddFilesToPackage develop headers userlandfs fuse : $(fuseHeaders) ; 47 48BuildHaikuPackage $(userlandFSPackage) : userland_fs ; 49