blob: b69b120a0a08799f03afc3afcf436cf91202550c (
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
|
# $OpenBSD: Makefile,v 1.1 2013/07/20 09:06:46 eric Exp $
.PATH: ${.CURDIR}/..
PROG= table-sqlite
SRCS= table_sqlite.c
SRCS+= table_api.c
SRCS+= dict.c
SRCS+= log.c
NOMAN= noman
BINDIR= /usr/libexec/smtpd
DPADD= ${LIBUTIL} ${LIBSQLITE3}
LDADD= -lutil -lsqlite3
CFLAGS+= -g3 -ggdb -I${.CURDIR}/..
CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare -Wbounded
CFLAGS+= -DNO_IO
#CFLAGS+= -Werror # during development phase (breaks some archs)
.include <bsd.prog.mk>
|