summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/Makefile
blob: a960697c1adca02352e9a2f439794a1d54f1fd8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.3 2008/11/17 21:23:54 gilles Exp $

PROG=		smtpd
SRCS=		parse.y log.c config.c buffer.c imsg.c			\
		smtpd.c lka.c mfa.c queue.c mta.c mda.c control.c	\
		smtp.c	smtp_session.c store.c debug.c			\
		ssl.c ssl_privsep.c dns.c aliases.c forward.c		\
		map.c
MAN=		smtpd.8 smtpd.conf.5

LDADD=		-levent -lutil -lssl -lcrypto
DPADD=		${LIBEVENT} ${LIBSSL} ${LIBCRYPTO}
CFLAGS=		-g3 -ggdb -I${.CURDIR}
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare -Wbounded
#CFLAGS+=	-Werror # during development phase (breaks some archs)
YFLAGS=

.include <bsd.prog.mk>