summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mail
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2017-08-09 07:56:11 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2017-08-09 07:56:11 +0000
commite9c2dd6da6169a29672ab1956e1b76b0e7677758 (patch)
treef34df0705e03f4ffee6fc646afb3c1ebc510a640 /usr.sbin/smtpd/mail
parent2a3522c15208ba735224da4aebebef8a1beda545 (diff)
add mail.mda MDA in charge of running a third-party MDA, not linked yet
Diffstat (limited to 'usr.sbin/smtpd/mail')
-rw-r--r--usr.sbin/smtpd/mail/Makefile3
-rw-r--r--usr.sbin/smtpd/mail/mail.mda/Makefile21
2 files changed, 23 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/mail/Makefile b/usr.sbin/smtpd/mail/Makefile
index e83da45179a..78e46ff4614 100644
--- a/usr.sbin/smtpd/mail/Makefile
+++ b/usr.sbin/smtpd/mail/Makefile
@@ -1,9 +1,10 @@
-# $OpenBSD: Makefile,v 1.3 2017/02/14 16:48:30 gilles Exp $
+# $OpenBSD: Makefile,v 1.4 2017/08/09 07:56:10 gilles Exp $
.include <bsd.own.mk>
SUBDIR = mail.lmtp
SUBDIR+= mail.file
SUBDIR+= mail.maildir
+SUBDIR+= mail.mda
.include <bsd.subdir.mk>
diff --git a/usr.sbin/smtpd/mail/mail.mda/Makefile b/usr.sbin/smtpd/mail/mail.mda/Makefile
new file mode 100644
index 00000000000..5f28c4305e0
--- /dev/null
+++ b/usr.sbin/smtpd/mail/mail.mda/Makefile
@@ -0,0 +1,21 @@
+.PATH: ${.CURDIR}/../..
+
+PROG= mail.mda
+BINOWN= root
+BINGRP= wheel
+
+BINMODE?=0555
+
+BINDIR= /usr/libexec
+MAN= mail.mda.8
+
+CFLAGS+= -fstack-protector-all
+CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+CFLAGS+= -Werror-implicit-function-declaration
+
+SRCS= mail.mda.c
+
+.include <bsd.prog.mk>