1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/libsqlite3/Makefile
Baptiste Daroussin 2c3e917030 Fix typo
2014-11-25 11:08:58 +00:00

40 lines
741 B
Makefile

# $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>