if LIBMICROHTTPD
if JSON
-if LUA
SUBDIRS += server
endif
endif
-endif
AM_CPPFLAGS = -Wall -pedantic -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
-I$(top_srcdir)/src/lib \
ui_sensorlist.h ui_sensorlist.c \
ui_sensorpref.h ui_sensorpref.c
+if GTOP
+LIBS += $(GTOP_LIBS)
+endif
+
if LIBNOTIFY
psensor_SOURCES += ui_notify.h ui_notify.c
LIBS += $(LIBNOTIFY_LIBS)