summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mail
diff options
context:
space:
mode:
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>