blob: ef2c24fb25649df5ca6f887f614c32b73b2825cf (
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.22 2014/01/18 05:54:51 martynas 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
CFLAGS+= -DNO_IO
SRCS= aliases.c dict.c expand.c limit.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>
|