summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/makemap/Makefile
blob: 0895e7708f87d236909426782407beef8f822c5a (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
#	$OpenBSD: Makefile,v 1.11 2011/12/13 22:09:53 eric 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 expand.c log.c util.c map.c \
	map_backend_db.c map_backend_stdio.c

DPADD+= ${LIBUTIL}
LDADD+= -lutil
.include <bsd.prog.mk>