blob: 4beb5967af1de80de0252e04c72a0745f4ac2233 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
# $OpenBSD: Makefile,v 1.93 2018/08/31 07:28:27 eric Exp $
.PATH: ${.CURDIR}/..
PROG= smtpd
SRCS= aliases.c
SRCS+= bounce.c
SRCS+= ca.c
SRCS+= compress_backend.c
SRCS+= config.c
SRCS+= control.c
SRCS+= crypto.c
SRCS+= dict.c
SRCS+= dns.c
SRCS+= unpack_dns.c
SRCS+= envelope.c
SRCS+= esc.c
SRCS+= expand.c
SRCS+= forward.c
SRCS+= iobuf.c
SRCS+= ioev.c
SRCS+= limit.c
SRCS+= lka.c
SRCS+= lka_session.c
SRCS+= log.c
SRCS+= mailaddr.c
SRCS+= mda.c
SRCS+= mda_unpriv.c
SRCS+= mda_variables.c
SRCS+= mproc.c
SRCS+= mta.c
SRCS+= mta_session.c
SRCS+= parse.y
SRCS+= pony.c
SRCS+= queue.c
SRCS+= queue_backend.c
SRCS+= resolver.c
SRCS+= rfc5322.c
SRCS+= ruleset.c
SRCS+= runq.c
SRCS+= scheduler.c
SRCS+= scheduler_backend.c
SRCS+= smtp.c
SRCS+= smtp_session.c
SRCS+= smtpf_session.c
SRCS+= smtpd.c
SRCS+= ssl.c
SRCS+= ssl_smtpd.c
SRCS+= stat_backend.c
SRCS+= table.c
SRCS+= to.c
SRCS+= tree.c
SRCS+= util.c
SRCS+= waitq.c
# backends
SRCS+= compress_gzip.c
SRCS+= table_db.c
SRCS+= table_getpwnam.c
SRCS+= table_proc.c
SRCS+= table_static.c
SRCS+= queue_fs.c
SRCS+= queue_null.c
SRCS+= queue_proc.c
SRCS+= queue_ram.c
SRCS+= scheduler_ramqueue.c
SRCS+= scheduler_null.c
SRCS+= scheduler_proc.c
SRCS+= stat_ramstat.c
MAN= sendmail.8 smtpd.8 smtpd.conf.5 table.5
BINDIR= /usr/sbin
LDADD+= -levent -lutil -lssl -lcrypto -lm -lz
DPADD+= ${LIBEVENT} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBM} ${LIBZ}
CFLAGS+= -fstack-protector-all
CFLAGS+= -I${.CURDIR}/..
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -Werror-implicit-function-declaration
#CFLAGS+= -Werror # during development phase (breaks some archs)
CFLAGS+= -DIO_SSL
CFLAGS+= -DQUEUE_PROFILING
YFLAGS=
.include <bsd.prog.mk>
|