2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2012/03/21 05:37:43 matt Exp $
|
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
|
|
|
|
|
|
|
LIB= refuse
|
2013-12-06 12:04:52 +01:00
|
|
|
.if !defined(__MINIX)
|
|
|
|
LIBDPLIBS+= puffs ${.CURDIR}/../libpuffs \
|
|
|
|
pthread ${.CURDIR}/../libpthread
|
|
|
|
.else
|
2011-11-14 12:53:05 +01:00
|
|
|
LIBDPLIBS+= puffs ${.CURDIR}/../libpuffs
|
2013-12-06 12:04:52 +01:00
|
|
|
.endif # !defined(__MINIX)
|
2011-11-14 12:53:05 +01:00
|
|
|
|
|
|
|
.ifdef DEBUG
|
2013-12-06 12:04:52 +01:00
|
|
|
FUSE_OPT_DEBUG_FLAGS= -g -DFUSE_OPT_DEBUG
|
2011-11-14 12:53:05 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CFLAGS+= ${FUSE_OPT_DEBUG_FLAGS}
|
|
|
|
SRCS= refuse.c refuse_opt.c
|
|
|
|
MAN= refuse.3
|
2013-12-06 12:04:52 +01:00
|
|
|
WARNS?= 5
|
2011-11-14 12:53:05 +01:00
|
|
|
INCS= fuse.h fuse_opt.h
|
|
|
|
INCSDIR= /usr/include
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|