1# $FreeBSD: releng/10.2/usr.bin/svn/lib/libsqlite3/Makefile 251886 2013-06-18 02:53:45Z peter $ 2 3.include "${.CURDIR}/../Makefile.inc" 4 5INTERNALLIB= yes 6LIB= sqlite3 7 8SRCS= sqlite3.c 9 10NOMAN= internalonly 11 12.PATH: ${SQLITE} 13 14CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} \ 15 -I${APR}/include/arch/unix -I${APR}/include 16 17CFLAGS+= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 \ 18 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 \ 19 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 \ 20 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_USLEEP=1 \ 21 -DHAVE_LOCALTIME_R=1 -DHAVE_GMTIME_R=1 \ 22 -DHAVE_DECL_STRERROR_R=1 -DHAVE_STRERROR_R=1 \ 23 -DHAVE_READLINE=1 -DHAVE_POSIX_FALLOCATE=1 \ 24 -I${SQLITE} -D_REENTRANT=1 -DSQLITE_THREADSAFE=1 \ 25 -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE 26 27.include <bsd.lib.mk> 28