2011-05-26 16:56:24 +04:00
|
|
|
# $NetBSD: Makefile,v 1.3 2011/05/26 12:56:34 joerg Exp $
|
2011-05-09 12:51:08 +04:00
|
|
|
|
2010-08-25 11:18:01 +04:00
|
|
|
PROG= perfused
|
|
|
|
|
2011-05-09 12:51:08 +04:00
|
|
|
.ifdef DEBUG
|
2010-08-25 11:18:01 +04:00
|
|
|
PERFUSE_OPT_DEBUG_FLAGS= -g -DPERFUSE_DEBUG
|
2011-05-09 12:51:08 +04:00
|
|
|
.endif
|
2010-08-25 11:18:01 +04:00
|
|
|
|
2011-05-09 12:51:08 +04:00
|
|
|
CFLAGS+= ${PERFUSE_OPT_DEBUG_FLAGS}
|
2010-08-25 11:18:01 +04:00
|
|
|
SRCS= perfused.c msg.c debug.c
|
|
|
|
MAN= perfused.8
|
|
|
|
WARNS= 4
|
|
|
|
|
2011-05-09 12:51:08 +04:00
|
|
|
LDADD+= -lperfuse -lpuffs
|
2010-08-25 11:18:01 +04:00
|
|
|
DPADD+= ${LIBPUFFS}
|
|
|
|
|
2011-05-26 16:56:24 +04:00
|
|
|
CWARNFLAGS.clang+= -Wno-format-security
|
|
|
|
|
2010-08-25 11:18:01 +04:00
|
|
|
.include <bsd.prog.mk>
|