freebsd-src/libexec/dma/Makefile
Baptiste Daroussin a9e8641da9 Import Dragonfly Mail Agent into base system
It is a small and lightweight Mail Transport Agent.
It accepts mails from locally installed Mail User Agents (MUA) and delivers the
mails either locally or to a remote destination. Remote delivery includes
several features like TLS/SSL support, SMTP authentication and NULLCLIENT.

Make dma conditional to new WITHOUT_DMA option and make it respect WITHOUT_MAIL

Reviewed by:	peter
Discussed with:	emaste, bz, peter
2014-02-21 07:26:49 +00:00

33 lines
539 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/dma
CFLAGS= -I${.CURDIR}/../../contrib/dma \
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
-DCONF_PATH='"/etc/dma"' \
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"'
DPADD= ${LIBSSL} ${LIBCRYPTO}
LDADD= -lssl -lcrypto
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
.include <bsd.prog.mk>