#(@)config.mk for Debian 8 (x86_64)

INSTALLDIR = /usr/
CONFIGFILE = /etc/default/ot-recorder

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

STORAGEDEFAULT = /var/spool/owntracks/recorder/store
DOCROOT = /usr/share/owntracks/recorder/htdocs
GHASHPREC = 7
JSON_INDENT ?= no
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib
MORELIBS = # -lssl
LUA_CFLAGS = `pkg-config --cflags lua5.2`
LUA_LIBS   = `pkg-config --libs lua5.2`
SODIUM_CFLAGS = `pkg-config --cflags libsodium`
SODIUM_LIBS   = `pkg-config --libs libsodium`
