summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/table-ldap/Makefile
blob: 1bfabbe5514fe1af624c79bc0a09590f14c2e83e (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
#	$OpenBSD: Makefile,v 1.4 2014/07/08 13:49:09 eric Exp $

.PATH: ${.CURDIR}/..

PROG=	table-ldap

SRCS=	table_ldap.c
SRCS+=	table_api.c
SRCS+=	aldap.c
SRCS+=	ber.c
SRCS+=	dict.c
SRCS+=	log.c

NOMAN=	noman

BINDIR=	/usr/libexec/smtpd

DPADD=	${LIBUTIL}
LDADD=	-lutil

CFLAGS+=	-I${.CURDIR}/..
CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare
CFLAGS+=	-DNO_IO
#CFLAGS+=	-Werror # during development phase (breaks some archs) 

.include <bsd.prog.mk>