1# $NetBSD: Makefile,v 1.25 2012/03/21 05:37:43 matt Exp $ 2# 3 4.include <bsd.own.mk> 5 6USE_FORT?= yes # data-driven bugs? 7 8WARNS?= 5 9 10LIB= puffs 11 12SRCS= puffs.c callcontext.c creds.c \ 13 paths.c pnode.c \ 14 subr.c 15MAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_flush.3 \ 16 puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3 17INCS= puffs.h 18INCSDIR= /usr/include 19LINTFLAGS+=-S -w 20 21.if defined(__MINIX) 22.PATH: ${NETBSDSRCDIR}/minix/lib/libpuffs 23SRCS+= inode.c link.c main.c misc.c mount.c open.c path.c \ 24 protect.c read.c stadir.c time.c utility.c \ 25 table.c 26 27CPPFLAGS+= -D_MINIX_SYSTEM -I${.CURDIR} -I${NETBSDSRCDIR}/minix/lib/libpuffs 28 29NOGCCERROR=yes 30.endif # defined(__MINIX) 31 32.include <bsd.lib.mk> 33