X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2FMakefile.am;fp=src%2FMakefile.am;h=0000000000000000000000000000000000000000;hp=76110950047081b5db38f46fb35b50b6766a1d47;hb=4487aa672b4ea293173ff44bb76f79fb59bae024;hpb=3a67d56a58c3b1000a8dedb8b783ad7472f66850 diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 7611095..0000000 --- a/src/Makefile.am +++ /dev/null @@ -1,112 +0,0 @@ -SUBDIRS = lib glade - -# -export-dynamic is need for defining handlers in the glade file. -AM_LDFLAGS = -Wl,--as-needed -export-dynamic - -if LIBMICROHTTPD -if JSON -SUBDIRS += server -endif -endif - -AM_CPPFLAGS =-Wall \ - -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\ - -DDATADIR=\""$(datadir)"\"\ - -DPSENSOR_DESKTOP_FILE=\""psensor.desktop"\"\ - -I$(top_srcdir)/src/lib \ - -I$(top_srcdir)/src/unity \ - $(GTK_CFLAGS)\ - $(SENSORS_CFLAGS) - -DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@ - -LIBS = \ - lib/libpsensor.a \ - $(GTK_LIBS)\ - $(PTHREAD_LIBS)\ - $(SENSORS_LIBS) -lm - -if GTK -if X11 -if XEXT -bin_PROGRAMS = psensor -dist_man_MANS = psensor.1 -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 -LIBS += $(LIBNOTIFY_LIBS) -AM_CPPFLAGS += $(LIBNOTIFY_CFLAGS) -endif - -if APPINDICATOR -psensor_SOURCES += ui_appindicator.c -LIBS += $(APPINDICATOR_LIBS) -AM_CPPFLAGS += $(APPINDICATOR_CFLAGS) -endif - -if NVIDIA -if X11 -AM_CPPFLAGS += $(NVIDIA_CFLAGS) -LIBS += $(NVIDIA_LIBS) -endif -endif - -if LIBATIADL -AM_CPPFLAGS += $(LIBATIADL_CFLAGS) -LIBS += $(LIBATIADL_LIBS) -endif - -if ATASMART -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) -LIBS += $(UNITY_LIBS) -endif - -if CURL -if JSON -psensor_SOURCES += rsensor.h rsensor.c -LIBS += $(CURL_LIBS) $(JSON_LIBS) -AM_CPPFLAGS += $(CURL_CFLAGS) $(JSON_CFLAGS) -endif -endif - -psensor.1: main.c $(top_srcdir)/configure.ac - $(MAKE) $(AM_MAKEFLAGS) psensor$(EXEEXT) - 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) - -@GSETTINGS_RULES@