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
+AM_CPPFLAGS += $(GTOP_CFLAGS)
+LIBS += $(GTOP_LIBS)
+endif
+
if LIBNOTIFY
psensor_SOURCES += ui_notify.h ui_notify.c
LIBS += $(LIBNOTIFY_LIBS)
LIBS += $(NVIDIA_LIBS)
endif
+if LIBATIADL
+AM_CPPFLAGS += $(LIBATIADL_CFLAGS)
+LIBS += $(LIBATIADL_LIBS)
+endif
+
if UNITY
AM_CPPFLAGS += $(UNITY_CFLAGS)
LIBS += unity/libpsensor_unity.a $(UNITY_LIBS)