opnsense-src/libexec/dma/dmagent/Makefile
Kyle Evans ecebb3cc1d Only set WARNS if not defined
This would allow interested parties to do experimental runs with an
environment set appropriately to raise all the warnings throughout the
build; e.g. env WARNS=6 NO_WERROR=yes buildworld.

Not currently touching the numerous instances in ^/tools.

MFC after:	1 week
2020-09-11 13:28:37 +00:00

41 lines
569 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
LIBADD= ssl crypto
PROG= dma
SRCS= aliases_parse.y \
aliases_scan.l \
base64.c \
conf.c \
crypto.c \
dma.c \
dns.c \
local.c \
mail.c \
net.c \
spool.c \
util.c
MAN8= dma.8
CONFS= dma.conf
CONFSDIR= ${CONFDIR}/dma
YFLAGS+= -i
CLEANFILES= aliases_parse.i
FILES= mailer.conf
FILESDIR= ${SHAREDIR}/examples/dma
.if ${MK_SENDMAIL} == no
CONFGROUPS= CONFS MAILER
MAILERDIR= /etc/mail
MAILER= mailer.conf
.endif
BINMODE= 2555
.include <bsd.compiler.mk>
.if ${COMPILER_TYPE} == gcc
WARNS?= 5
.endif
.include <bsd.prog.mk>