2012-06-02 00:28:02 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.5 2012/06/01 20:28:02 wiz Exp $
|
2011-10-14 01:40:27 +04:00
|
|
|
|
|
|
|
WARNS= 2
|
|
|
|
|
|
|
|
SRCDIR:= ${.PARSEDIR}/dist
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
|
2012-06-02 00:28:02 +04:00
|
|
|
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 \
|
2011-10-16 21:24:50 +04:00
|
|
|
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
|
2012-06-02 00:28:02 +04:00
|
|
|
-DSQLITE_ENABLE_FTS4 \
|
2012-04-11 04:41:41 +04:00
|
|
|
-DSQLITE_ENABLE_LOAD_EXTENSION \
|
2012-06-02 00:28:02 +04:00
|
|
|
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
|
|
|
|
-DSQLITE_HAVE_ISNAN
|
2011-10-14 01:40:27 +04:00
|
|
|
|
|
|
|
CWARNFLAGS+= -Wno-shadow -Wno-unused
|