summaryrefslogtreecommitdiff
path: root/usr.bin/sqlite3/Makefile
blob: 28d0f1c297cce47254d8707189e0b5d555489347 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $OpenBSD: Makefile,v 1.2 2013/07/01 09:56:12 mpi Exp $

PROG = sqlite3
SRCS = shell.c

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


CPPFLAGS +=	-I${.CURDIR}/../../lib/libedit -DHAVE_READLINE=1

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

.include <bsd.prog.mk>