summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/smtpd/Makefile3
-rw-r--r--usr.sbin/smtpd/mail/Makefile7
-rw-r--r--usr.sbin/smtpd/mail/mail.lmtp/Makefile21
3 files changed, 30 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/Makefile b/usr.sbin/smtpd/Makefile
index b0a347d8857..4917227b49a 100644
--- a/usr.sbin/smtpd/Makefile
+++ b/usr.sbin/smtpd/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.15 2015/12/07 12:29:19 sunil Exp $
+# $OpenBSD: Makefile,v 1.16 2017/02/14 16:02:13 gilles Exp $
.include <bsd.own.mk>
SUBDIR = smtpd
SUBDIR+= smtpctl
+#SUBDIR+= mail
.include <bsd.subdir.mk>
diff --git a/usr.sbin/smtpd/mail/Makefile b/usr.sbin/smtpd/mail/Makefile
new file mode 100644
index 00000000000..d0135f29095
--- /dev/null
+++ b/usr.sbin/smtpd/mail/Makefile
@@ -0,0 +1,7 @@
+# $OpenBSD: Makefile,v 1.1 2017/02/14 16:02:13 gilles Exp $
+
+.include <bsd.own.mk>
+
+SUBDIR = mail.lmtp
+
+.include <bsd.subdir.mk>
diff --git a/usr.sbin/smtpd/mail/mail.lmtp/Makefile b/usr.sbin/smtpd/mail/mail.lmtp/Makefile
new file mode 100644
index 00000000000..5900b70879d
--- /dev/null
+++ b/usr.sbin/smtpd/mail/mail.lmtp/Makefile
@@ -0,0 +1,21 @@
+.PATH: ${.CURDIR}/../..
+
+PROG= mail.lmtp
+BINOWN= root
+BINGRP= wheel
+
+BINMODE?=0555
+
+BINDIR= /usr/libexec
+MAN= mail.lmtp.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.lmtp.c
+
+.include <bsd.prog.mk>