summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd/Makefile
blob: f662500d88b6615023caa32b8148b0c61d8c0004 (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.9 2009/08/06 13:40:45 gilles Exp $

PROG=		smtpd
SRCS=		parse.y log.c bounce.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 util.c queue_shared.c ruleset.c
MAN=		smtpd.8 smtpd.conf.5
BINDIR=		/usr/sbin

LDADD+=		-levent -lutil -lkeynote -lssl -lcrypto -lm
DPADD+=		${LIBEVENT} ${LIBUTIL} ${LIBKEYNOTE} ${LIBSSL} ${LIBCRYPTO} ${LIBM}
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>