summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-04-14 13:33:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-04-14 13:33:11 +0000
commitff6b0f89b857c476173a813c3e2df885ed7a5896 (patch)
treeb2d1db4183b39c197efc039fd8d4cae4df594c2a /usr.bin
parentb8920d78d9bd31cf54d3017c54e9aadc9ca5701f (diff)
glue and manpage, which I forgot about
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sqlite3/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/sqlite3/Makefile b/usr.bin/sqlite3/Makefile
new file mode 100644
index 00000000000..7493dfab8d9
--- /dev/null
+++ b/usr.bin/sqlite3/Makefile
@@ -0,0 +1,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>