summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>