X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=7f7749c51092e77d9aae29157290f0dd06d3cbc8;hb=b2706f38717e778f37beac8d7063d7e48d2a8f33;hp=2d9c77c0eec4df3b3394ccc08a50fb486ef65b0d;hpb=a2deb1da118d09bac2200effa9aef03aef03f215;p=psensor.git diff --git a/src/Makefile.am b/src/Makefile.am index 2d9c77c..7f7749c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -24,7 +24,7 @@ LIBS = \ lib/libpsensor.a \ $(GTK_LIBS)\ $(PTHREAD_LIBS)\ - $(SENSORS_LIBS) + $(SENSORS_LIBS) -lm if GTK if X11 @@ -44,6 +44,7 @@ psensor_SOURCES = \ ui_appindicator.h \ ui_color.h ui_color.c \ ui_graph.h ui_graph.c \ + ui_notify.h \ ui_pref.h ui_pref.c \ ui_sensorlist.h ui_sensorlist.c \ ui_sensorpref.h ui_sensorpref.c \ @@ -56,7 +57,7 @@ LIBS += $(GTOP_LIBS) endif if LIBNOTIFY -psensor_SOURCES += ui_notify.h ui_notify.c +psensor_SOURCES += ui_notify.c LIBS += $(LIBNOTIFY_LIBS) AM_CPPFLAGS += $(LIBNOTIFY_CFLAGS) endif @@ -84,6 +85,10 @@ AM_CPPFLAGS += $(ATASMART_CFLAGS) LIBS += $(ATASMART_LIBS) endif +if LIBUDISKS2 +LIBS += $(LIBUDISKS2_LIBS) +endif + if UNITY psensor_SOURCES += ui_unity.h ui_unity.c AM_CPPFLAGS += $(UNITY_CFLAGS)