summaryrefslogtreecommitdiff
path: root/usr.bin/sqlite3/Makefile
blob: 7493dfab8d96d9943e7d3e25e5f5c1f67870d685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $OpenBSD: Makefile,v 1.1 2012/04/14 13:33:10 espie Exp $

PROG = sqlite3
SRCS = shell.c

.include <bsd.own.mk>
.if defined(NOPIC)
CPPFLAGS +=	-DSQLITE_OMIT_LOAD_EXTENSION=1
.endif


CPPFLAGS +=	-DHAVE_READLINE=1

CFLAGS += -pthread
LDFLAGS += -pthread
LDADD += -lsqlite3 -lreadline -lcurses

.include <bsd.prog.mk>