NetBSD/external/public-domain/sqlite/Makefile.inc
wiz d0df7c443e Make HAVE_* define match what configure finds.
In particular, this enables usleep(3) (compared to using sleep(3) before).
ok joerg@
2012-06-01 20:28:02 +00:00

25 lines
517 B
Makefile

# $NetBSD: Makefile.inc,v 1.5 2012/06/01 20:28:02 wiz Exp $
WARNS= 2
SRCDIR:= ${.PARSEDIR}/dist
.PATH: ${SRCDIR}
CPPFLAGS+= \
-DHAVE_GMTIME_R=1 \
-DHAVE_INTTYPES_H=1 \
-DHAVE_LOCALTIME_R=1 \
-DHAVE_READLINE=1 \
-DHAVE_STDINT_H=1 \
-DHAVE_STRERROR_R=1 \
-DHAVE_USLEEP=1 \
-DSQLITE_ENABLE_COLUMN_METADATA \
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
-DSQLITE_ENABLE_FTS4 \
-DSQLITE_ENABLE_LOAD_EXTENSION \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
-DSQLITE_HAVE_ISNAN
CWARNFLAGS+= -Wno-shadow -Wno-unused