aboutsummaryrefslogtreecommitdiff
path: root/lib/libsqlite3
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
commit98e0ffaefb0f241cda3a72395d3be04192ae0d47 (patch)
tree55c065b6730aaac2afb6c29933ee6ec5fa4c4249 /lib/libsqlite3
parentb17ff922d4072ae132ece458f5b5d74a236880ac (diff)
parente81032ad243db32b8fd615b2d55ee94b9f6a5b6a (diff)
downloadsrc-98e0ffaefb0f241cda3a72395d3be04192ae0d47.tar.gz
src-98e0ffaefb0f241cda3a72395d3be04192ae0d47.zip
Merge sync of head
Notes
Notes: svn path=/projects/bmake/; revision=283595
Diffstat (limited to 'lib/libsqlite3')
-rw-r--r--lib/libsqlite3/Makefile39
-rw-r--r--lib/libsqlite3/Makefile.depend21
2 files changed, 60 insertions, 0 deletions
diff --git a/lib/libsqlite3/Makefile b/lib/libsqlite3/Makefile
new file mode 100644
index 000000000000..2db85fb39708
--- /dev/null
+++ b/lib/libsqlite3/Makefile
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PRIVATELIB= yes
+LIB= sqlite3
+SHLIB_MAJOR?= 0
+LIBADD+= pthread
+
+SRCS= sqlite3.c
+
+SQLITE= ${.CURDIR}/../../contrib/sqlite3
+.PATH: ${SQLITE}
+
+WARNS= 3
+CFLAGS+= -I${SQLITE} \
+ -DSTDC_HEADERS=1 \
+ -DHAVE_SYS_TYPES_H=1 \
+ -DHAVE_SYS_STAT_H=1 \
+ -DUSE_PREAD=1 \
+ -DHAVE_STDLIB_H=1 \
+ -DHAVE_STRING_H=1 \
+ -DHAVE_MEMORY_H=1 \
+ -DHAVE_STRINGS_H=1 \
+ -DHAVE_INTTYPES_H=1 \
+ -DHAVE_STDINT_H=1 \
+ -DHAVE_UNISTD_H=1 \
+ -DHAVE_DLFCN_H=1 \
+ -DHAVE_USLEEP=1 \
+ -DHAVE_LOCALTIME_R=1 \
+ -DHAVE_GMTIME_R=1 \
+ -DHAVE_DECL_STRERROR_R=1 \
+ -DHAVE_STRERROR_R=1 \
+ -DHAVE_POSIX_FALLOCATE=1 \
+ -D_REENTRANT=1 \
+ -DSQLITE_THREADSAFE=1 \
+ -DSQLITE_ENABLE_FTS3 \
+ -DSQLITE_ENABLE_FTS4 \
+ -DSQLITE_ENABLE_RTREE
+
+.include <bsd.lib.mk>
diff --git a/lib/libsqlite3/Makefile.depend b/lib/libsqlite3/Makefile.depend
new file mode 100644
index 000000000000..37acbe0cd621
--- /dev/null
+++ b/lib/libsqlite3/Makefile.depend
@@ -0,0 +1,21 @@
+# Autogenerated - do NOT edit!
+
+DEP_RELDIR := ${_PARSEDIR:S,${SRCTOP}/,,}
+
+DIRDEPS = \
+ gnu/lib/csu \
+ gnu/lib/libgcc \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+ lib/libcompiler_rt \
+ lib/libthr \
+ usr.bin/xinstall.host \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif