recorder/config.mk.in
2015-09-11 15:48:56 +02:00

51 lines
1.3 KiB
Makefile

# Select features you want. Default is fine for most installations
INSTALLDIR = /usr/local
# Do you want recorder's built-in HTTP REST API?
HAVE_HTTP ?= yes
# Do you want to use reverse-geo caching? (Highly recommended)
HAVE_LMDB ?= yes
# Do you want support for the `pingping' monitoring feature?
HAVE_PING ?= yes
# Where should the recorder store its data? This directory must
# exist and be writeable by recorder (and readable by ocat)
STORAGEDEFAULT = "/var/spool/owntracks/recorder/store"
# Where should the recorder find its document root (HTTP)?
DOCROOT = "/var/spool/owntracks/recorder/wdocs"
# Define the precision for reverse-geo lookups. The higher
# the number, the more granular reverse-geo will be:
#
# 1 => 5,009.4km x 4,992.6km
# 2 => 1,252.3km x 624.1km
# 3 => 156.5km x 156km
# 4 => 39.1km x 19.5km
# 5 => 4.9km x 4.9km
# 6 => 1.2km x 609.4m
# 7 => 152.9m x 152.4m
# 8 => 38.2m x 19m
# 9 => 4.8m x 4.8m
# 10 => 1.2m x 59.5cm
GHASHPREC = 7
# Should the JSON emitted by recorder be indented? (i.e. beautified)
# yes or no
JSON_INDENT ?= no
# If you do more than 2500 (currently) reverse-geo requests per day,
# you'll need an API key for Google's geocoding service. Specify
# that here
# APIKEY ?= YYYYYYYYYY
APIKEY ?=
# Optionally specify the path to the Mosquitto libs, include here
MOSQUITTO_INC = -I/usr/include
MOSQUITTO_LIB = -L/usr/lib