Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/public-domain/sqlite Add build glue for SQLite
details: https://anonhg.NetBSD.org/src/rev/a990469137cd
branches: trunk
changeset: 770354:a990469137cd
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Oct 13 21:40:27 2011 +0000
description:
Add build glue for SQLite
diffstat:
external/public-domain/sqlite/Makefile | 5 +++++
external/public-domain/sqlite/Makefile.inc | 13 +++++++++++++
external/public-domain/sqlite/bin/Makefile | 14 ++++++++++++++
external/public-domain/sqlite/lib/Makefile | 17 +++++++++++++++++
external/public-domain/sqlite/lib/shlib_version | 4 ++++
external/public-domain/sqlite/lib/sqlite3.pc | 4 ++++
6 files changed, 57 insertions(+), 0 deletions(-)
diffs (81 lines):
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/Makefile Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:27 joerg Exp $
+
+SUBDIR+= lib .WAIT bin
+
+.include <bsd.subdir.mk>
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/Makefile.inc Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.inc,v 1.1 2011/10/13 21:40:27 joerg Exp $
+
+WARNS= 2
+
+SRCDIR:= ${.PARSEDIR}/dist
+
+.PATH: ${SRCDIR}
+
+CPPFLAGS+= -DHAVE_READLINE=1 -DHAVE_LOCALTIME_R \
+ -DSQLITE_HAVE_ISNAN -DSQLITE_ENABLE_FTS4 \
+ -DSQLITE_ENABLE_LOAD_EXTENSION
+
+CWARNFLAGS+= -Wno-shadow -Wno-unused
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/bin/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/bin/Makefile Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:27 joerg Exp $
+
+PROG= sqlite3
+
+SRCS= shell.c
+
+DPADD+= ${LIBSQLITE3} ${LIBEDIT}
+LDADD+= -lsqlite3 -ledit
+
+NOMAN=
+
+BINDIR= /usr/bin
+
+.include <bsd.prog.mk>
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/lib/Makefile Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2011/10/13 21:40:28 joerg Exp $
+
+LIB= sqlite3
+INCS= sqlite3.h sqlite3ext.h
+INCSDIR= /usr/include
+
+SRCS= sqlite3.c
+
+CFLAGS+= -DNDEBUG
+
+FILES+= sqlite3.pc
+FILESOWN_sqlite3.pc= ${BINOWN}
+FILESGRP_sqlite3.pc= ${BINGRP}
+FILESMODE_sqlite3.pc= ${NONBINMODE}
+FILESDIR_sqlite3.pc= /usr/lib/pkgconfig
+
+.include <bsd.lib.mk>
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/lib/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/lib/shlib_version Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,4 @@
+# $NetBSD: shlib_version,v 1.1 2011/10/13 21:40:28 joerg Exp $
+#
+major=1
+minor=0
diff -r 38c282378bbb -r a990469137cd external/public-domain/sqlite/lib/sqlite3.pc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/public-domain/sqlite/lib/sqlite3.pc Thu Oct 13 21:40:27 2011 +0000
@@ -0,0 +1,4 @@
+Name: SQLite
+Description: SQL database engine
+Version: 3.7.9
+Libs: -lsqlite3
Home |
Main Index |
Thread Index |
Old Index