etc/protocols - sync with NetBSD-8
[minix.git] / external / public-domain / sqlite / Makefile.inc
blob09616af0aef5a1e6f51bfb95e9d61396d52c39f1
1 # $NetBSD: Makefile.inc,v 1.5 2012/06/01 20:28:02 wiz Exp $
3 WARNS=          2
5 SRCDIR:=        ${.PARSEDIR}/dist
7 .PATH: ${SRCDIR}
9 CPPFLAGS+=      \
10                 -DHAVE_GMTIME_R=1 \
11                 -DHAVE_INTTYPES_H=1 \
12                 -DHAVE_LOCALTIME_R=1 \
13                 -DHAVE_READLINE=1 \
14                 -DHAVE_STDINT_H=1 \
15                 -DHAVE_STRERROR_R=1 \
16                 -DHAVE_USLEEP=1 \
17                 -DSQLITE_ENABLE_COLUMN_METADATA \
18                 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
19                 -DSQLITE_ENABLE_FTS4 \
20                 -DSQLITE_ENABLE_LOAD_EXTENSION \
21                 -DSQLITE_ENABLE_UNLOCK_NOTIFY \
22                 -DSQLITE_HAVE_ISNAN
24 .if defined(__MINIX)
25 CPPFLAGS+=      \
26                 -DSQLITE_THREADSAFE=0 \
27                 -DSQLITE_OMIT_WAL
28 .endif # defined(__MINIX)
30 CWARNFLAGS+=    -Wno-shadow -Wno-unused