mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
a9e8641da9
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
29 lines
642 B
Makefile
29 lines
642 B
Makefile
# $DragonFly: src/libexec/dma/Makefile,v 1.5 2008/09/19 00:36:57 corecode Exp $
|
|
#
|
|
|
|
version!= sh get-version.sh
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
CFLAGS+= -DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME
|
|
CFLAGS+= -DLIBEXEC_PATH='"${LIBEXEC}"' -DDMA_VERSION='"${version}"'
|
|
CFLAGS+= -DCONF_PATH='"${CONFDIR}"'
|
|
|
|
DPADD= ${LIBSSL} ${LIBCRYPTO}
|
|
LDADD= -lssl -lcrypto
|
|
|
|
PROG= dma
|
|
SRCS= aliases_parse.y aliases_scan.l base64.c conf.c crypto.c
|
|
SRCS+= dma.c dns.c local.c mail.c net.c spool.c util.c
|
|
MAN= dma.8
|
|
|
|
PREFIX?= /usr/local
|
|
LIBEXEC?= ${PREFIX}/libexec
|
|
CONFDIR?= ${PREFIX}/etc/dma
|
|
|
|
BINOWN= root
|
|
BINGRP= mail
|
|
BINMODE=2555
|
|
WARNS?= 6
|
|
|
|
.include <bsd.prog.mk>
|