head	1.11;
access;
symbols
	netbsd-11-0-RC4:1.11
	netbsd-11-0-RC3:1.11
	netbsd-11-0-RC2:1.11
	netbsd-11-0-RC1:1.11
	perseant-exfatfs-base-20250801:1.11
	netbsd-11:1.11.0.30
	netbsd-11-base:1.11
	netbsd-10-1-RELEASE:1.11
	perseant-exfatfs-base-20240630:1.11
	perseant-exfatfs:1.11.0.28
	perseant-exfatfs-base:1.11
	netbsd-8-3-RELEASE:1.11
	netbsd-9-4-RELEASE:1.11
	netbsd-10-0-RELEASE:1.11
	netbsd-10-0-RC6:1.11
	netbsd-10-0-RC5:1.11
	netbsd-10-0-RC4:1.11
	netbsd-10-0-RC3:1.11
	netbsd-10-0-RC2:1.11
	netbsd-10-0-RC1:1.11
	netbsd-10:1.11.0.26
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.11
	cjep_sun2x-base1:1.11
	cjep_sun2x:1.11.0.24
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	netbsd-9-2-RELEASE:1.11
	cjep_staticlib_x:1.11.0.22
	cjep_staticlib_x-base:1.11
	netbsd-9-1-RELEASE:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	is-mlppp:1.11.0.20
	is-mlppp-base:1.11
	phil-wifi-20200406:1.11
	netbsd-8-2-RELEASE:1.11
	netbsd-9-0-RELEASE:1.11
	netbsd-9-0-RC2:1.11
	netbsd-9-0-RC1:1.11
	phil-wifi-20191119:1.11
	netbsd-9:1.11.0.18
	netbsd-9-base:1.11
	phil-wifi-20190609:1.11
	netbsd-8-1-RELEASE:1.11
	netbsd-8-1-RC1:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	netbsd-7-2-RELEASE:1.10
	pgoyette-compat-0728:1.11
	netbsd-8-0-RELEASE:1.11
	phil-wifi:1.11.0.16
	phil-wifi-base:1.11
	pgoyette-compat-0625:1.11
	netbsd-8-0-RC2:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	netbsd-8-0-RC1:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	netbsd-7-1-2-RELEASE:1.10
	pgoyette-compat:1.11.0.14
	pgoyette-compat-base:1.11
	netbsd-7-1-1-RELEASE:1.10
	matt-nb8-mediatek:1.11.0.12
	matt-nb8-mediatek-base:1.11
	perseant-stdc-iso10646:1.11.0.10
	perseant-stdc-iso10646-base:1.11
	netbsd-8:1.11.0.8
	netbsd-8-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.6
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	netbsd-7-1:1.10.0.16
	netbsd-7-1-RELEASE:1.10
	netbsd-7-1-RC2:1.10
	netbsd-7-nhusb-base-20170116:1.10
	bouyer-socketcan:1.11.0.4
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	netbsd-7-1-RC1:1.10
	pgoyette-localcount-20161104:1.11
	netbsd-7-0-2-RELEASE:1.10
	localcount-20160914:1.11
	netbsd-7-nhusb:1.10.0.14
	netbsd-7-nhusb-base:1.10
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.2
	pgoyette-localcount-base:1.11
	netbsd-7-0-1-RELEASE:1.10
	netbsd-7-0:1.10.0.12
	netbsd-7-0-RELEASE:1.10
	netbsd-7-0-RC3:1.10
	netbsd-7-0-RC2:1.10
	netbsd-7-0-RC1:1.10
	netbsd-6-0-6-RELEASE:1.8
	netbsd-6-1-5-RELEASE:1.8
	netbsd-7:1.10.0.10
	netbsd-7-base:1.10
	yamt-pagecache-base9:1.10
	yamt-pagecache-tag8:1.8.2.2
	netbsd-6-1-4-RELEASE:1.8
	netbsd-6-0-5-RELEASE:1.8
	tls-earlyentropy:1.10.0.8
	tls-earlyentropy-base:1.10
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10
	riastradh-drm2-base3:1.10
	netbsd-6-1-3-RELEASE:1.8
	netbsd-6-0-4-RELEASE:1.8
	netbsd-6-1-2-RELEASE:1.8
	netbsd-6-0-3-RELEASE:1.8
	netbsd-6-1-1-RELEASE:1.8
	riastradh-drm2-base2:1.10
	riastradh-drm2-base1:1.10
	riastradh-drm2:1.10.0.4
	riastradh-drm2-base:1.10
	netbsd-6-1:1.8.0.10
	netbsd-6-0-2-RELEASE:1.8
	netbsd-6-1-RELEASE:1.8
	netbsd-6-1-RC4:1.8
	netbsd-6-1-RC3:1.8
	agc-symver:1.10.0.6
	agc-symver-base:1.10
	netbsd-6-1-RC2:1.8
	netbsd-6-1-RC1:1.8
	yamt-pagecache-base8:1.10
	netbsd-6-0-1-RELEASE:1.8
	yamt-pagecache-base7:1.10
	matt-nb6-plus-nbase:1.8
	yamt-pagecache-base6:1.10
	netbsd-6-0:1.8.0.8
	netbsd-6-0-RELEASE:1.8
	netbsd-6-0-RC2:1.8
	tls-maxphys:1.10.0.2
	tls-maxphys-base:1.10
	matt-nb6-plus:1.8.0.6
	matt-nb6-plus-base:1.8
	netbsd-6-0-RC1:1.8
	yamt-pagecache-base5:1.9
	yamt-pagecache-base4:1.9
	netbsd-6:1.8.0.4
	netbsd-6-base:1.8
	yamt-pagecache-base3:1.8
	yamt-pagecache-base2:1.8
	yamt-pagecache:1.8.0.2
	yamt-pagecache-base:1.8
	cherry-xenmp:1.4.0.2
	cherry-xenmp-base:1.4
	bouyer-quota2-nbase:1.1
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	matt-mips64-premerge-20101231:1.1;
locks; strict;
comment	@# @;


1.11
date	2016.01.23.21.22.46;	author christos;	state Exp;
branches;
next	1.10;
commitid	0voYFcZKKnOpl6Sy;

1.10
date	2012.09.06.16.39.07;	author riz;	state Exp;
branches;
next	1.9;

1.9
date	2012.03.21.05.37.42;	author matt;	state Exp;
branches;
next	1.8;

1.8
date	2011.08.14.08.19.04;	author christos;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2011.08.13.23.12.15;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	2011.06.28.20.28.48;	author riz;	state Exp;
branches;
next	1.5;

1.5
date	2011.06.28.16.19.16;	author manu;	state Exp;
branches;
next	1.4;

1.4
date	2011.05.26.12.56.30;	author joerg;	state Exp;
branches;
next	1.3;

1.3
date	2011.05.09.08.51.18;	author manu;	state Exp;
branches;
next	1.2;

1.2
date	2011.05.03.13.14.09;	author manu;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.25.07.16.00;	author manu;	state Exp;
branches;
next	;

1.8.2.1
date	2012.04.17.00.05.30;	author yamt;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2012.10.30.18.59.14;	author yamt;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Define _KERNTYPES for things that need it.
@
text
@# $NetBSD: Makefile,v 1.10 2012/09/06 16:39:07 riz Exp $

LIB=            perfuse
LIBDPLIBS+=     puffs	${.CURDIR}/../libpuffs

PERFUSE_OPT_DEBUG_FLAGS=   -g -DPERFUSE_DEBUG

CWARNFLAGS.clang+=	-Wno-format-security

#CFLAGS+=        ${PERFUSE_OPT_DEBUG_FLAGS}
CPPFLAGS+=	-I${.CURDIR}  -D_KERNTYPES
CPPFLAGS+=	-I${NETBSDSRCDIR}/lib/libpuffs 
SRCS=           perfuse.c ops.c subr.c debug.c
MAN=		libperfuse.3
WARNS?=		5
INCS=           perfuse.h
INCSDIR=	/usr/include

.include <bsd.lib.mk>
@


1.10
log
@Disable default build of debugging info.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2012/03/21 05:37:42 matt Exp $
d11 1
a11 1
CPPFLAGS+=	-I${.CURDIR} 
@


1.9
log
@These directories default to WARNS?=5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2011/08/14 08:19:04 christos Exp $
d10 1
a10 1
CFLAGS+=        ${PERFUSE_OPT_DEBUG_FLAGS}
@


1.8
log
@simplify and eliminate non literal string formats.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2011/08/13 23:12:15 christos Exp $
d15 1
a15 1
WARNS=          4
@


1.8.2.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2011/08/14 08:19:04 christos Exp $
d15 1
a15 1
WARNS?=		5
@


1.8.2.2
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8.2.1 2012/04/17 00:05:30 yamt Exp $
d10 1
a10 1
#CFLAGS+=        ${PERFUSE_OPT_DEBUG_FLAGS}
@


1.7
log
@- fix warn/err confusiog
- fix debugging printf
- add func arguments to simple formats
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2011/06/28 20:28:48 riz Exp $
a18 4
COPTS.ops.c = -Wno-format-nonliteral
COPTS.perfuse.c = -Wno-format-nonliteral
COPTS.subr.c = -Wno-format-nonliteral

@


1.6
log
@Don't hardcode the libpuffs path to /usr/src/lib/libpuffs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2011/06/28 16:19:16 manu Exp $
d19 4
@


1.5
log
@Add support for extended attributes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2011/05/26 12:56:30 joerg Exp $
d4 1
a4 1
LIBDPLIBS+=     puffs	/usr/src/lib/libpuffs
@


1.4
log
@Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2011/05/09 08:51:18 manu Exp $
d4 1
a4 1
LIBDPLIBS+=     puffs	${.CURDIR}/../libpuffs
a5 1
.ifdef DEBUG
a6 1
.endif
@


1.3
log
@Enable the build of perfused and libperfuse
@
text
@d1 1
a1 1
# $NetBSD$
d10 2
@


1.2
log
@Fix build (libperfuse is still not built by default, but time is coming)
@
text
@d1 2
d6 1
a6 1

d8 1
a12 1
CPPFLAGS+=	-I${NETBSDSRCDIR}/sys -I${ARCHDIR} 
d17 1
a17 1
INCSDIR=        /usr/include
@


1.1
log
@libperfuse(3) is a PUFFS relay to FUSE. In order to use it,
FUSE filesystem must be patched to #include <perfuse.h> in the source
files that open /dev/fuse and perform the mount(2) system call. The
FUSE filesystem must be linked with -lperfuse.

libperfuse(3) implements the FUSE kernel interface, on which libfuse or
any FUSE filesystem that opens /dev/fuse directly can be used.

For now, an external daemon called perfused(8) is used. This may change
in the future.
@
text
@d2 1
a2 1
LIBDPLIBS+=     puffs	/usr/src/lib/libpuffs
d8 3
@

