blob: 6eec1d07e918f1cf1efa4c04636370cf4893afb0 (
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
|
# $OpenBSD: Makefile,v 1.20 2013/07/19 19:53:33 eric Exp $
.PATH: ${.CURDIR}/..
PROG= makemap
BINOWN= root
BINMODE?=555
BINDIR= /usr/libexec/smtpd
MAN= makemap.8 newaliases.8
# do not override default manpages for now
NOMAN= noman
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+= -DNO_IO
SRCS= aliases.c dict.c expand.c log.c makemap.c parse.y \
table.c to.c tree.c util.c
SRCS+= table_static.c
SRCS+= table_db.c
SRCS+= table_getpwnam.c
SRCS+= table_proc.c
DPADD+= ${LIBUTIL} ${LIBCRYPTO} ${LIBZ}
LDADD+= -lutil -lcrypto -lz
.include <bsd.prog.mk>
|