2014-02-21 07:26:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/dma
|
|
|
|
|
|
|
|
CFLAGS= -I${.CURDIR}/../../contrib/dma \
|
|
|
|
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
|
|
|
|
-DCONF_PATH='"/etc/dma"' \
|
2014-02-21 11:06:22 +00:00
|
|
|
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"' \
|
|
|
|
-DDMA_ROOT_USER='"mailnull"' \
|
|
|
|
-DDMA_GROUP='"mail"'
|
2014-11-25 21:18:18 +00:00
|
|
|
LIBADD= ssl crypto
|
2014-02-21 07:26:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
YFLAGS+= -i
|
|
|
|
CLEANFILES= aliases_parse.i
|
|
|
|
|
|
|
|
BINGRP= mail
|
|
|
|
BINMODE= 2555
|
|
|
|
|
2014-02-21 14:14:48 +00:00
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
|
|
|
|
.if ${COMPILER_TYPE} == gcc
|
|
|
|
WARNS= 5
|
|
|
|
.endif
|
|
|
|
|
2014-02-21 07:26:49 +00:00
|
|
|
.include <bsd.prog.mk>
|