490e0de548
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).
17 lines
536 B
Makefile
17 lines
536 B
Makefile
# Makefile for libpuffs
|
|
|
|
LIB= puffs
|
|
CC= clang
|
|
SRCS= callcontext.c creds.c null.c pnode.c puffs.c subr.c\
|
|
table.c link.c misc.c open.c path.c path_puffs.c protect.c\
|
|
read.c stadir.c time.c utility.c mount.c device.c inode.c
|
|
INCS= puffs.h puffs_msgif.h
|
|
INCSDIR= /usr/include
|
|
MAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_node.3 \
|
|
puffs_ops.3 puffs_path.3
|
|
|
|
DEFAULT_NR_BUFS= 1024
|
|
|
|
CPPFLAGS+= -D_MINIX -D_POSIX_SOURCE -D_POSIX_C_SOURCE -D_NETBSD_SOURCE -DDEFAULT_NR_BUFS=${DEFAULT_NR_BUFS}
|
|
|
|
.include <bsd.lib.mk>
|