#(@)config.mk for Debian 8-11 (x86_64, aarch64, armhf)

INSTALLDIR = /usr/
CONFIGFILE = /etc/default/ot-recorder
FREEBSD ?= no

WITH_MQTT ?= yes
WITH_HTTP ?= yes
WITH_TOURS ?= yes
WITH_LUA ?= yes
WITH_PING ?= yes
WITH_KILL ?= yes
WITH_ENCRYPT ?= yes
WITH_GREENWICH ?= yes

STORAGEDEFAULT = /var/spool/owntracks/recorder/store
DOCROOT = /usr/share/owntracks/recorder/htdocs
GHASHPREC = 7
JSON_INDENT ?= no
MOSQUITTO_CFLAGS =
MOSQUITTO_LIBS   = -lmosquitto
LUA_CFLAGS = `pkg-config --cflags lua`
LUA_LIBS   = `pkg-config --libs lua`
SODIUM_CFLAGS = `pkg-config --cflags libsodium`
SODIUM_LIBS   = `pkg-config --libs libsodium`

GEOCODE_TIMEOUT = 4000
