2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.25 2012/03/21 05:37:43 matt Exp $
|
2012-02-01 12:44:26 +01:00
|
|
|
#
|
2011-11-14 12:53:05 +01:00
|
|
|
|
2012-02-01 12:44:26 +01:00
|
|
|
.include <bsd.own.mk>
|
2011-11-14 12:53:05 +01:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
USE_FORT?= yes # data-driven bugs?
|
2011-11-14 12:53:05 +01:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
WARNS?= 5
|
2012-02-01 12:44:26 +01:00
|
|
|
|
|
|
|
LIB= puffs
|
|
|
|
|
|
|
|
SRCS= puffs.c callcontext.c creds.c \
|
2015-09-22 14:41:58 +02:00
|
|
|
paths.c pnode.c \
|
2013-12-06 12:04:52 +01:00
|
|
|
subr.c
|
|
|
|
MAN= puffs.3 puffs_cc.3 puffs_cred.3 puffs_flush.3 \
|
|
|
|
puffs_framebuf.3 puffs_node.3 puffs_ops.3 puffs_path.3
|
|
|
|
INCS= puffs.h
|
2012-02-01 12:44:26 +01:00
|
|
|
INCSDIR= /usr/include
|
|
|
|
LINTFLAGS+=-S -w
|
2011-11-14 12:53:05 +01:00
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.if defined(__MINIX)
|
2015-09-22 14:41:58 +02:00
|
|
|
.PATH: ${NETBSDSRCDIR}/minix/lib/libpuffs
|
|
|
|
SRCS+= inode.c link.c main.c misc.c mount.c open.c path.c \
|
|
|
|
protect.c read.c stadir.c time.c utility.c \
|
|
|
|
table.c
|
2013-12-06 12:04:52 +01:00
|
|
|
|
2015-09-22 14:41:58 +02:00
|
|
|
CPPFLAGS+= -D_MINIX_SYSTEM -I${.CURDIR} -I${NETBSDSRCDIR}/minix/lib/libpuffs
|
2013-12-06 12:04:52 +01:00
|
|
|
|
|
|
|
NOGCCERROR=yes
|
|
|
|
.endif # defined(__MINIX)
|
|
|
|
|
2011-11-14 12:53:05 +01:00
|
|
|
.include <bsd.lib.mk>
|