Import libpuffs and our port of libpuffs. The port was done as part of GSoC 2011 FUSE project, done by Evgeniy Ivanov. The librefuse import did not require any porting efforts. Libpuffs has been modified to understand our VFS-FS protocol and translate between that and PUFFS. As an example that it works, fuse-ntfs-3g from pkgsrc can be compiled and used to mount ntfs partitions: mount -t ntfs-3g <device> <mountpoint> FUSE only works with the asynchronous version of VFS. See <docs/UPDATING> on how to run AVFS. This patch further includes some changes to mount(1) and mount(2) so it's possible to use file systems provided by pkgsrc (note: manual modifications to /etc/system.conf are still needed. There has been made an exception for fuse-ntfs-3g, so it already as an entry).
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
.include <bsd.own.mk>
|
|
|
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} != "no")
|
|
LIBC_DIR= nbsd_libc
|
|
LIBM_DIR= nbsd_libm
|
|
LIBCOMPAT_DIR= nbsd_libcompat_minix
|
|
LIBMINLIB_DIR= nbsd_libminlib
|
|
LIBASYN_DIR= nbsd_libasyn
|
|
.endif
|
|
|
|
LIBC_DIR?= libc
|
|
LIBM_DIR?= libm
|
|
LIBCOMPAT_DIR?=
|
|
LIBMINLIB_DIR?=
|
|
LIBASYN_DIR?=
|
|
|
|
SUBDIR= csu ${LIBCOMPAT_DIR} ${LIBC_DIR} libdriver libnetdriver \
|
|
libedit ${LIBM_DIR} libsys libtimers libminixutil libbz2 libl libhgfs \
|
|
libz libfetch libarchive libvtreefs libaudiodriver libmthread \
|
|
libexec libdevman libusb ${LIBMINLIB_DIR} ${LIBASYN_DIR} \
|
|
libddekit libminixfs libbdev
|
|
|
|
.if defined(NBSD_LIBC) && (${NBSD_LIBC} != "no")
|
|
SUBDIR+= libelf libminc libcrypt libterminfo libcurses libvassert libutil \
|
|
libpuffs librefuse
|
|
.endif
|
|
|
|
.if ${COMPILER_TYPE} == "ack"
|
|
SUBDIR+= ack/libd ack/libe ack/libfp ack/liby
|
|
.endif
|
|
|
|
.if ${OBJECT_FMT} == "a.out"
|
|
SUBDIR+= libend
|
|
.endif
|
|
.include <bsd.subdir.mk>
|
|
|
|
build_ack:
|
|
sh ack_build.sh obj dependall install
|
|
|
|
build_elf:
|
|
sh elf_build.sh obj dependall install
|
|
|
|
clean_all:
|
|
sh ack_build.sh clean
|
|
sh elf_build.sh clean
|
|
|
|
cleandepend_all:
|
|
sh ack_build.sh cleandepend
|
|
sh elf_build.sh cleandepend
|