blob: 1285fdb4803f45e3d7b33de3b1df1d9d0b898353 (
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
|
# $OpenBSD: Makefile,v 1.44 2016/03/30 06:38:46 jmc Exp $
.PATH: ${.CURDIR}/..
PROG= smtpctl
BINOWN= root
BINGRP= _smtpq
BINMODE?=2555
BINDIR= /usr/sbin
MAN= smtpctl.8 aliases.5 forward.5 makemap.8 newaliases.8
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+= -DNO_IO
SRCS= enqueue.c
SRCS+= parser.c
SRCS+= log.c
SRCS+= envelope.c
SRCS+= crypto.c
SRCS+= queue_backend.c
SRCS+= queue_fs.c
SRCS+= smtpctl.c
SRCS+= util.c
SRCS+= compress_backend.c
SRCS+= compress_gzip.c
SRCS+= to.c
SRCS+= expand.c
SRCS+= tree.c
SRCS+= dict.c
SRCS+= aliases.c
SRCS+= limit.c
SRCS+= makemap.c
SRCS+= parse.y
SRCS+= mailaddr.c
SRCS+= table.c
SRCS+= table_static.c
SRCS+= table_db.c
SRCS+= table_getpwnam.c
SRCS+= table_proc.c
LDADD+= -lutil -lz -lcrypto
DPADD+= ${LIBUTIL} ${LIBZ} ${LIBCRYPTO}
.include <bsd.prog.mk>
|