endif
endif
-AM_CPPFLAGS =-Wall -Werror \
+AM_CPPFLAGS =-Wall \
-DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
-DDATADIR=\""$(datadir)"\"\
-DPSENSOR_DESKTOP_FILE=\""psensor.desktop"\"\
lib/libpsensor.a \
$(GTK_LIBS)\
$(PTHREAD_LIBS)\
- $(SENSORS_LIBS)
+ $(SENSORS_LIBS) -lm
if GTK
if X11
LIBS += $(ATASMART_LIBS)
endif
+if LIBUDISKS2
+LIBS += $(LIBUDISKS2_LIBS)
+endif
+
if UNITY
psensor_SOURCES += ui_unity.h ui_unity.c
AM_CPPFLAGS += $(UNITY_CFLAGS)