summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/makemap/Makefile
blob: c25ddcc793131fc95451c3962abc211f1b8b382a (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.4 2008/12/21 12:59:09 jacekm Exp $

.PATH:		${.CURDIR}/..

PROG=	makemap
BINOWN=	root

BINMODE?=555

BINDIR=	/usr/bin
MAN=	makemap.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

LINKS=	${BINDIR}/makemap ${BINDIR}/newaliases
MLINKS=	makemap.8 newaliases.8

SRCS=	makemap.c aliases.c map.c log.c util.c
LDFLAGS=	-lutil
.include <bsd.prog.mk>