include_rules

# Remove warnings from CFLAGS
CFLAGS += -w

# Use memory by default for temporary tables
CFLAGS += -DSQLITE_TEMP_STORE=2

# tup does its own locking of the database
CFLAGS += -DSQLITE_THREADSAFE=0

# No need to depend on libdl here.
CFLAGS += -DSQLITE_OMIT_LOAD_EXTENSION

# No need for these features.
CFLAGS += -DSQLITE_OMIT_DESERIALIZE
CFLAGS += -DSQLITE_OMIT_EXPLAIN
CFLAGS += -DSQLITE_OMIT_JSON

ifneq (@(TUP_USE_SYSTEM_SQLITE),y)
: foreach *.c |> !cc |>
endif
