aboutsummaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/smtp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/smtp/Makefile')
-rw-r--r--usr.sbin/smtpd/smtp/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/smtpd/smtp/Makefile b/usr.sbin/smtpd/smtp/Makefile
new file mode 100644
index 00000000..380e3ad6
--- /dev/null
+++ b/usr.sbin/smtpd/smtp/Makefile
@@ -0,0 +1,24 @@
+# $OpenBSD: Makefile,v 1.1 2018/04/26 13:57:13 eric Exp $
+
+.PATH: ${.CURDIR}/..
+
+PROG= smtp
+
+BINDIR= /usr/bin
+MAN= smtp.1
+
+SRCS+= iobuf.c
+SRCS+= ioev.c
+SRCS+= log.c
+SRCS+= smtp_client.c
+SRCS+= smtpc.c
+SRCS+= ssl.c
+SRCS+= ssl_smtpd.c
+SRCS+= ssl_verify.c
+
+CPPFLAGS+= -DIO_TLS
+
+LDADD+= -levent -lutil -lssl -lcrypto -lm -lz
+DPADD+= ${LIBEVENT} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBM} ${LIBZ}
+
+.include <bsd.prog.mk>