summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/makemap/Makefile
blob: b1fb315a7fad0a1d4e356a3a2e5c368ba3a45c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#	$OpenBSD: Makefile,v 1.7 2009/03/23 15:14:54 deraadt Exp $

.PATH:		${.CURDIR}/..

PROG=	makemap
BINOWN=	root

BINMODE?=555

BINDIR=	/usr/libexec/smtpd
MAN=	makemap.8 newaliases.8

CFLAGS+=	-g3 -ggdb -I${.CURDIR}/..
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare -Wbounded

SRCS=	parse.y makemap.c aliases.c map.c log.c util.c
DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.prog.mk>