X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2FMakefile.am;h=2e4bb19b52fca8563b1e581fac712aedb1c5eb53;hb=d6141b1d4fea0db9b115b06c668be6195ac4e5c6;hp=76110950047081b5db38f46fb35b50b6766a1d47;hpb=e2306d16931dc8c42997d3dd2f8a387a8cabd05b;p=psensor.git diff --git a/src/Makefile.am b/src/Makefile.am index 7611095..2e4bb19 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,22 @@ SUBDIRS = lib glade +psensor_SOURCES = \ + cfg.h cfg.c \ + notify_cmd.c notify_cmd.h \ + graph.h graph.c \ + main.c \ + pxdg.h pxdg.c \ + ui.h ui.c \ + 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 \ + ui_status.h ui_status.c \ + ui_unity.h + # -export-dynamic is need for defining handlers in the glade file. AM_LDFLAGS = -Wl,--as-needed -export-dynamic @@ -35,28 +52,13 @@ endif endif endif -psensor_SOURCES = \ - cfg.h cfg.c \ - notify_cmd.c notify_cmd.h \ - graph.h graph.c \ - main.c \ - ui.h ui.c \ - ui_appindicator.h \ - ui_color.h ui_color.c \ - ui_graph.h ui_graph.c \ - ui_pref.h ui_pref.c \ - ui_sensorlist.h ui_sensorlist.c \ - ui_sensorpref.h ui_sensorpref.c \ - ui_status.h ui_status.c \ - pxdg.h pxdg.c - if GTOP AM_CPPFLAGS += $(GTOP_CFLAGS) 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 @@ -89,7 +91,7 @@ LIBS += $(LIBUDISKS2_LIBS) endif if UNITY -psensor_SOURCES += ui_unity.h ui_unity.c +psensor_SOURCES += ui_unity.c AM_CPPFLAGS += $(UNITY_CFLAGS) LIBS += $(UNITY_LIBS) endif @@ -107,6 +109,12 @@ psensor.1: main.c $(top_srcdir)/configure.ac help2man --include=description.txt -N --name="Temperature monitoring application" --output=psensor.1 ./psensor$(EXEEXT) gsettings_SCHEMAS=psensor.gschema.xml -EXTRA_DIST = description.txt $(gsettings_SCHEMAS) + +EXTRA_DIST = description.txt\ + $(gsettings_SCHEMAS)\ + rsensor.h rsensor.c\ + ui_appindicator.c\ + ui_notify.c\ + ui_unity.c @GSETTINGS_RULES@