summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd/Makefile
blob: 83a10fe1500bfc4165bfc1c8619ca0e93895f59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$OpenBSD: Makefile,v 1.2 2008/12/05 02:51:32 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				\
		ssl.c ssl_privsep.c dns.c aliases.c forward.c		\
		map.c runner.c
MAN=		smtpd.8 smtpd.conf.5
BINDIR=		/usr/sbin

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=

.PATH: ${.CURDIR}/..

.include <bsd.prog.mk>