minix/lib/libpuffs/Makefile

33 lines
670 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.25 2012/03/21 05:37:43 matt Exp $
2012-02-01 12:44:26 +01:00
#
2012-02-01 12:44:26 +01:00
.include <bsd.own.mk>
USE_FORT?= yes # data-driven bugs?
WARNS?= 5
2012-02-01 12:44:26 +01:00
LIB= puffs
SRCS= puffs.c callcontext.c creds.c \
null.c pnode.c \
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
.if defined(__MINIX)
SRCS+= inode.c link.c misc.c mount.c open.c path.c path_puffs.c \
protect.c read.c stadir.c time.c utility.c table.c
CPFFLAGS+=-Dlchown=chown -Dlchmod=chmod
CPPFLAGS+= -D_MINIX_SYSTEM
NOGCCERROR=yes
NOCLANGERROR=yes
.endif # defined(__MINIX)
.include <bsd.lib.mk>